[Slingshot] When launching a single-window application that is already open, the app's window isn't focused

Bug #1363527 reported by Julián Unrrein
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Gala
Confirmed
Undecided
Unassigned

Bug Description

Roughly what it says in the title.

For example, select Scratch when it is already opened. Scratch's taskbar entry (or rather, dock entry) will be highlighted but the app won't gain focus, even though the app is programmed to present the window (http://bazaar.launchpad.net/~elementary-apps/scratch/scratch/view/head:/src/Scratch.vala#L147).

This also happens with Geary, Photos, and I guess every app that has a single-window mode.

Revision history for this message
Julián Unrrein (junrrein) wrote :

This doesn't happen when running under xfwm4, so retargetting to Gala.

affects: slingshot → gala
summary: - When launching a single-instance and single-window application that was
- already opened, the app's window isn't focused
+ [Slingshot] When launching a single-instance and single-window
+ application that was already opened, the app's window isn't focused
summary: - [Slingshot] When launching a single-instance and single-window
- application that was already opened, the app's window isn't focused
+ [Slingshot] When launching a single-window application that was already
+ opened, the app's window isn't focused
description: updated
description: updated
Changed in gala:
milestone: none → freya-beta2
summary: - [Slingshot] When launching a single-window application that was already
- opened, the app's window isn't focused
+ [Slingshot] When launching a single-window application that is already
+ open, the app's window isn't focused
Revision history for this message
Tom Beckmann (tombeckmann) wrote :

That's intentional behavior by mutter and supposed to prevent focus stealing. I think we had some discussion around this part of code with the mutter guys before and they weren't willing to remove it. But I can have another look.

Changed in gala:
status: New → Confirmed
Changed in gala:
milestone: freya-beta2 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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