launched applications steal focus

Bug #572690 reported by dronus on 2010-04-30
This bug affects 2 people
Affects Status Importance Assigned to Milestone
metacity (Ubuntu)

Bug Description

Binary package hint: gnome-panel

If an application is launched via a gnome panel launcher or the gnome main menu, its main window gains focus if opened, even if the panel lost the focus meanwhile.

For example...
What I do: Editing on gedit, click on a Firefox launcher, then continue to edit.
What happens: When Firefox finally opens, it appears in front and steals the focus from gedit.
What should happen: Firefox window should open behind gedit silently.

This also has light security implications, someone could enter login data to firefox addressfield and thus google for example. I've already accidentally sent passwords to chat comrades this way.

Sebastien Bacher (seb128) wrote :

the issue is firefox not doing startup notification correctly

affects: gnome-panel (Ubuntu) → firefox (Ubuntu)
Changed in firefox (Ubuntu):
importance: Undecided → Low
dronus (paul-geisler) wrote :

No, this isn't a firefox issue. It holds for every application in my system. Moving back.

Click on launchers of gedit, then home-folder. After typing some chars in gedit, the nautilus list search takes over.
Click on launchers of gedit, then gnome-terminal. After typing some chars in gedit, the terminal takes over.

The expected behavior is: If an application was launched by gnome panel, it should only gain focus if gnome panel still has focus.

affects: firefox (Ubuntu) → gnome-panel (Ubuntu)
affects: gnome-panel (Ubuntu) → compiz (Ubuntu)
dronus (paul-geisler) wrote :

Experienced this bug while having desktop effects disabled, thus using metacity. So moving to metacity.

affects: compiz (Ubuntu) → metacity (Ubuntu)
Pedro Villavicencio (pedro) wrote :

Thanks for the report, it has been some time without any response or feedback in this bug report and we are wondering if this is still an issue for you with the latest release of Ubuntu the Natty Narwhal, May you please test with that version and comment back if you're still having or not the issue? Please have a look at to know how to install that version.Thanks in advance.

Changed in metacity (Ubuntu):
status: New → Incomplete
dronus (paul-geisler) wrote :

Still the same issue with Metacity on 11.04.. Tested between Firefox, GEdit, Nautilus, Chromium, the focus is still allways traversed to the just opened window.

Pedro Villavicencio (pedro) wrote :

thanks a lot, this looks like bug ; adding that as a watcher.

Changed in metacity (Ubuntu):
status: Incomplete → Triaged
Changed in metacity:
importance: Unknown → Medium
status: Unknown → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.