GNOME Bugzilla – Bug 127775
Desktop never gets keyboard focus unless all windows are minimized
Last modified: 2004-12-22 21:47:04 UTC
Description of Problem: Desktop never gets keyboard focus unless all windows are minimized when mouse over window selection is activated. Steps to reproduce the problem: 1. Activate "Select Windows when the mouse moves over them" on the "Windows Preferences" dialog. 2. Minimize all windows. 3. Open one window(any app) resize it so that some desktop icons are visible. 4. Click a dektop icon 5. Try deleting the icon or navigating the desktop with the keyboard Actual Results: The previously opened window retains the keyboard focus, so no keyboard operation can be performed. The Desktop only recieves the keyboard focus when all windows are minimized. Expected Results: The Desktop should recieve the keyboard focus after clicking on any desktop icon. How often does this happen? This only happens if the "Select Windows when the mouse moves over them" option is on, if this option is off, the Desktop recieves keyboard focus properly. Additional Information: Using metacity-2.6.3 and nautilus-2.5.1.1
*** Bug 127788 has been marked as a duplicate of this bug. ***
This also applies to text entry fields in gnome-panel, and presumably any other application which uses the same window manager hints as panel and the desktop do. GNOMEVER2.4 and version 2.6.x, but I guess I can't change those fields.
changed keywords to GNOMEVER2.4, GNOMEVER2.5
Created attachment 22224 [details] [review] patch for CVS HEAD
The above patch seems to fix this problem for me. However, I have to assume that the DOCK windows are filtered out for a reason so this patch may break something else.
this is actually related to the raise-on-click thing -- we don't maintain the mouse grab so we never see the clicks. But obviously for focus-follows-mouse this is really broken for windows that aren't focused on enter, such as the desktop and the dock windows. Even with this patch, you still can't focus the desktop window. We really need to figure out some sort of solution for the grabbing. *** This bug has been marked as a duplicate of 115072 ***
That bug does not specifically address the broken behavior of the gnome-panel. Should I open a new bug? The panel is seriously disabled when sloppy focus is on. dictionary applet - unable to enter text command line applet - unable to enter text clock applet - unable to use keyboard navigation I'm probably misunderstanding but none of those things should "raise" but just receive focus. They should also not require a click to get focus.
yes but its the same bug, really. In the end both bugs are caused by the fix for Bug 102209. The fix for one is the fix for the other.