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 121557 - A proposition to avoid losing focus when opening a new window
A proposition to avoid losing focus when opening a new window
Status: RESOLVED DUPLICATE of bug 118372
Product: metacity
Classification: Other
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2003-09-05 18:09 UTC by Julien Olivier
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Julien Olivier 2003-09-05 18:09:26 UTC
Description of Problem:

Sometimes, you want to open a slow-to-start
application (Evolution, GIMP or OpenOffice for
example). So, what you do is click on its icon (on
the desktop or on the panel), switch to another
app and work until the desired app has been fully
loaded.

The problem is that when the desired app finally
pops up, you lose the focus. And if you were, for
example, typing a text in Abiword, you actually
end up typing text in Evolution or OpenOffice.
That can be a big problem if you were typing your
root password in a terminal when OOO finally went
up...

A solution to this problem is to simply do the
following:

When you launch an app (by clicking on its icon on
the panel or on the desktop), the focus goes to
the panel or the desktop.
When the app window appears, if the focus hasn't
changed in the meantime, put the focus to the new
app window (so, from the panel/desktop to the new
app).
If, however, the focus has gone from the
panel/desktop at least once since the icon was
clicked, don't change the focus when the app
appears. Instead, make the task-list entry to
blink so that the user notices that the app has
been loaded.
Comment 1 Havoc Pennington 2003-09-05 18:15:56 UTC
see bug #118372 and bug #82921

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