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 144900 - Fix focus window choice on "un-showing" the desktop
Fix focus window choice on "un-showing" the desktop
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
2.8.x
Other Linux
: High minor
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2004-06-24 03:41 UTC by Elijah Newren
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
Call meta_workspace_focus_default_window instead of meta_workspace_focus_top_window (654 bytes, patch)
2004-06-24 03:42 UTC, Elijah Newren
accepted-commit_now Details | Review

Description Elijah Newren 2004-06-24 03:41:17 UTC
1. Make sure at least two windows are open on the desktop
2. Select sloppy or mouse focus
3. Make a window other than the one on top have focus
4. Hit Ctrl-Alt-D ("Show Desktop") to hide all the windows
5. Hit Ctrl-Alt-D again to unhide all the windows.

Result: Window on top is focused.

Expected result: Window under the mouse is focused.

I will attach a one-line patch in a minute that fixes this bug.
Comment 1 Elijah Newren 2004-06-24 03:42:32 UTC
Created attachment 28973 [details] [review]
Call meta_workspace_focus_default_window instead of meta_workspace_focus_top_window
Comment 2 Havoc Pennington 2004-06-24 18:42:28 UTC
Seems sensible, thanks.
Comment 3 Havoc Pennington 2004-06-24 18:43:01 UTC
This is the kind of low-risk patch that may be worth putting on gnome-2-6 in
addition to HEAD.
Comment 4 Elijah Newren 2004-06-24 20:47:59 UTC
Committed to HEAD and gnome-2-6.