xpra icon
Bug tracker and wiki

Opened 5 years ago

Closed 5 years ago

#829 closed defect (duplicate)

firefox windows won't share top-level focus

Reported by: alas Owned by: Antoine Martin
Priority: minor Milestone: 0.15
Component: client Version: trunk
Keywords: win32 client, firefox Cc:

Description

Testing with a 0.15.0 r8892 windows client against a 0.15.0 r8872 fedora 20 server... I think I finally found the repro for this elusive bug (which does not manifest with the 0.14.x branch).

The top level-focus issue only shows itself after clicking a "restore session" button on firefox (which shows when you restart the browser after having closed it in an improper fashion, either by just using a command/control-C from a launching xterm, or just by terminating a session server side with a control-C... or whatever).

To reproduce:

  • Connect to a session with an xterm start-child.
  • Use xterm to launch firefox.
  • Navigate to a completely random site (or whatever, away from start page) - for best results, also move the window to a different location on the desktop.
  • Use SIGINT to kill firefox from xterm.
  • Restart the firefox.
  • Click the "restore session" button presented.

The initial window will close, and a new window will be opened in the saved location of the previous session window(s)... and this/these will not relinquish top-level focus (unless you use the "raise windows" option from the tray, which sometimes fixes for one "toggling", and sometimes fixes apparently indefinitely).

I'll attach an xpra info from before and after as well.

Attachments (2)

firefox-focus-bug_before.txt (109.1 KB) - added by alas 5 years ago.
xpra info before restoring firefox (expected focus behavior still)
firefox-focus-bug_after.txt (109.5 KB) - added by alas 5 years ago.
xpra info after firefox session restore (misbehaving focus)

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by alas

xpra info before restoring firefox (expected focus behavior still)

Changed 5 years ago by alas

Attachment: firefox-focus-bug_after.txt added

xpra info after firefox session restore (misbehaving focus)

comment:1 Changed 5 years ago by Antoine Martin

I'm pretty sure that's the same bug as #713. (and I had tried to reproduce it - unsuccessfully)
Can you provide the -d metadata,window of just when this happens on the client side?

comment:2 Changed 5 years ago by alas

Resolution: duplicate
Status: newclosed

D'oh ... I believe you're right, this is the bug in #713 (I thought the ticket I'd tested this on was closed already).

I will close this and provide a log in #713 with -d metadata,window in the general vicinity of when this happens client side.

Note: See TracTickets for help on using tickets.