After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 94545 - Focused window on workspace switch is non-deterministic
Focused window on workspace switch is non-deterministic
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
: 99501 (view as bug list)
Depends on: 90382
Blocks:
 
 
Reported: 2002-09-30 19:35 UTC by Dan Mills
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Dan Mills 2002-09-30 19:35:30 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.
Comment 1 Aaron VanDevender 2002-10-17 04:32:26 UTC
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.
Comment 2 Dan Mills 2002-10-24 20:37:25 UTC
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.
Comment 3 Heath Harrelson 2002-10-30 15:45:46 UTC
Batch adding GNOME2 keyword to Metacity bugs.  Sorry for the spam.
Comment 4 Heath Harrelson 2002-11-01 14:59:45 UTC
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?
Comment 5 Bill Nottingham 2002-11-22 05:14:47 UTC
I see this with 2.4.3. 
Comment 6 Luis Villa 2002-11-25 20:01:25 UTC
*** Bug 99501 has been marked as a duplicate of this bug. ***
Comment 7 Havoc Pennington 2003-01-13 18:04:30 UTC
More reproduction instructions at
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=81746
Comment 8 Havoc Pennington 2003-02-25 22:04:03 UTC
Should now be focusing window under the pointer on workspace switch, 
I put in a hack. Real fix may come with bug 90382