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 121530 - New windows getting focus bad in sloppy mode
New windows getting focus bad in sloppy mode
Status: RESOLVED DUPLICATE of bug 118372
Product: metacity
Classification: Other
Component: general
2.4.x
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2003-09-05 09:09 UTC by mjrauhal
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description mjrauhal 2003-09-05 09:09:36 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.)
Comment 1 mjrauhal 2003-09-05 12:26:23 UTC
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.
Comment 2 Havoc Pennington 2003-09-05 13:51:28 UTC
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 ***