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 83007 - new windows don't get focus
new windows don't get focus
Status: RESOLVED DUPLICATE of bug 82921
Product: metacity
Classification: Other
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2002-05-25 17:27 UTC by Gaute Lindkvist
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Gaute Lindkvist 2002-05-25 17:27:44 UTC
Currently new windows almost never get focus. This means dialogs will have
to be focused, before you can operate them.
It also means you have to focus your newly opened emacs window to actually
type in it.

This all happened after this, I guess:
2002-05-24  Havoc Pennington  <hp@pobox.com>
	* src/window.c (meta_window_show): change how focusing windows 
	on initial map works, so that we only steal focus from our 
	transient parent or from a panel/desktop, never from other 
	normal windows.

Are you SURE, this is the right behaviour for most users?

I would guess that opening a new window actually means that you want to use
that window.
In my usage-pattern (I'm not very elite), I think about 99% of the times I
open new windows, I do it to work in that new window. About 1% of the time
I would actually like the old window to keep focus.
I think the default behaviour should match common usage.
Comment 1 Havoc Pennington 2002-05-25 19:38:21 UTC
I'm not sure, no. But read comments for bug 82921.

"This means dialogs will have to be focused, before you can operate
them." - it should not mean that, dialogs should be getting focus.
Comment 2 Luis Villa 2002-05-30 17:43:44 UTC
Considering that all the discussion switched to bug 82921, is there
any reason not to close this one as a dup, Gaute, Havoc? I can't see
any, so I'm going to close this, but please do reopen if you think
there is a separate issue here.

*** This bug has been marked as a duplicate of 82921 ***