[Bug 41623] Re: Firefox windows do not get focus when launched

Bernat Tallaferro bernat.tallaferro at gmail.com
Thu Apr 27 17:40:33 BST 2006


sam,

Thanks for your reply. What you described on your last post is what I understand as a normal case of focus stealing prevention from a well-behaved application. I find it logical and I can reproduce it on my system. So, following your steps (and ignoring step 4 as you said):

1.- Launch GNOME terminal
2.- Launch Epiphany.
3.- The Epiphany window appears on top of GNOME terminal as expected.
4.- Do nothing.
5.- Launch a new instance of Epiphany
6.- select gnome terminal, before epiphany is loaded
7.- epiphany does not steal the focus from gnome terminal.

However, that is not what I reported. The point is that Firefox *always* seems to use focus stealing prevention. Using the same steps as before, except for 4 and 6:

1.- Launch GNOME terminal
2.- Launch Firefox.
3.- The Firefox window appears on top of GNOME terminal as expected.
4.- Select GNOME terminal.
5.- Launch a new instance of Firefox
6.- Do nothing.
7.- Firefox does not steal the focus from gnome terminal. <= ???

I would expect that on 7 Firefox gets the focus. I see no point in it using focus stealing prevention, since nothing has been done during the time it has taken it to load.

As a comparison, doing exactly the same procedure with Epiphany shows a different behaviour:

1.- Launch GNOME terminal
2.- Launch Epiphany.
3.- The Epiphany window appears on top of GNOME terminal as expected.
4.- Select GNOME terminal.
5.- Launch a new instance of Epiphany
6.- Do nothing.
7.- Epiphany steals the focus and appears on top of GNOME terminal.

Note that step 7 is now what in my understanding is the normal behaviour of GNOME applications, which differs from Firefox in this case.

Please feel free to correct me if I missed or misunderstood something about this focus stealing issue.


Thanks.

-- 
Firefox windows do not get focus when launched
https://launchpad.net/bugs/41623



More information about the desktop-bugs mailing list