GNOME Bugzilla – Bug 121530
New windows getting focus bad in sloppy mode
Last modified: 2004-12-22 21:47:04 UTC
Using sloppy focus, new windows automatically getting focus is not very nice. If I'm happily typing away in one window and another application pops up a window, it's rather bothersome. Once the new window closes, the focus doesn't even return to the window that the cursor is on, but rather the parent window of the autofocused window, which is also bad. Sloppy focus should, without explicit instructions from the user keep the focus where the cursor is at all times. Possibly an exception could be made for the case where a _currently focused_ application creates a dialog. At least make it tweakable in gconf, but I think the whole sloppy mode should be corrected, if not other modes as well. (Background: This has bothered me especially in Evolution, which opens a dialog when I push "send/receive", but not until I've had time to focus a terminal window. Then I need to recapture the focus again. Pain in the ass, and surely partly Evolution's fault for using extraneous dialogs, but still the focus functionality is broken as well.)
Oh, I completely forgot the more annoying thing, which is also a more relevant use case in the window manager context; If I open an URL in gnome-terminal, I don't expect the focus to jump to the opening browser window (unless the window obfuscates the terminal, which doesn't happen for me, since they run on different screens). I just want to type away and glance at the web page, quite possibly later focusing the browser for scrolling, but not automatically. Just to illustrate the problem space more.
see bug #118372 and bug #82921 would love patches to use the startup notification and USER_TIME stuff to fix all focus issues as in kwin. *** This bug has been marked as a duplicate of 118372 ***