GNOME Bugzilla – Bug 94545
Focused window on workspace switch is non-deterministic
Last modified: 2004-12-22 21:47:04 UTC
When switching back and forth between two workspaces, I can cause the focused window to fluctuate non-deterministically (at least, not in any obvious way). I'm running: metacity-2.4.1.0.200209270710-0.snap.ximian.1, and I am using focus-follows-mouse. The following steps expose the bug here: 1) On one workspace, create two large windows side-by-side that cover most of the desktop. 2) Switch to another desktop (with C-M-arrows) and back again, repeatedly. Notice which window is focused each time, making sure not to move the mouse pointer.
The metacity out of CVS is deterministic but it focuses the oldest window. It should focus the window that was in focus when that workspace was last shown.
Only is the focus mode is set to "click. If it is set to "mouse" or "sloppy", I think the correct behavior is to focus the window under the pointer.
Batch adding GNOME2 keyword to Metacity bugs. Sorry for the spam.
Dan, I can't seem to reproduce this bug with the latest snap I have installed (metacity-2.4.2.0.200210242020-0.snap.ximian.1). Are you still seeing this?
I see this with 2.4.3.
*** Bug 99501 has been marked as a duplicate of this bug. ***
More reproduction instructions at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=81746
Should now be focusing window under the pointer on workspace switch, I put in a hack. Real fix may come with bug 90382