[dash] Single instance applications are not focused/raised when clicked on
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-2d |
Invalid
|
Medium
|
Unassigned | ||
unity-2d (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
There are some applications that when launched more than once will just activate the existing instance instead of opening a new one. Totem is an example of this kind of applications.
When one such application is started from the dash by clicking on its icon, the interaction is quite confusing for the user.
What should happen is that the dash is hidden and the existing instance is given focus.
However right now the dash remains visible and if it's closed manually the existing instance of the app is not focused.
Since the dash normally hides itself on focus loss, the root cause of this problem is likely that, when activated from the dash, the new instance fails to cause the existing instance to be focused.
Steps to reproduce:
1. Launch totem
2. Focus another application
3. Go to the dash and find the totem entry
4. Click on totem
Expected result:
The existing totem window receives the focus and the dash disappears.
Current result:
The existing totem window's urgency flag is set and the dash does _not_ disappear.
summary: |
- Single instance apps have confusing interaction with the dash + [dash] Single instance applications are not focused/raised when clicked + on |
description: | updated |
Changed in upicek: | |
status: | New → Confirmed |
milestone: | none → 0.6 |
importance: | Undecided → High |
affects: | upicek → unity-2d |
Changed in unity-2d: | |
milestone: | 0.6 → none |
milestone: | none → 3.4 |
visibility: | private → public |
Changed in unity-2d: | |
assignee: | nobody → Aurélien Gâteau (agateau) |
Changed in unity-2d: | |
milestone: | 3.4 → 3.6 |
Changed in unity-2d: | |
milestone: | 3.6 → 3.8 |
Changed in unity-2d: | |
assignee: | Aurélien Gâteau (agateau) → nobody |
Changed in unity-2d: | |
milestone: | 3.8 → none |
Changed in unity-2d: | |
importance: | High → Medium |
Changed in unity-2d (Ubuntu): | |
status: | New → Confirmed |
tags: | added: patch |
Changed in unity-2d: | |
status: | Confirmed → Invalid |
Changed in unity-2d (Ubuntu): | |
status: | Confirmed → Invalid |
FYI, it seems that the single instance feature of Totem is handled via libunique, so fixing the issue for Totem will likely fix it for all apps that use this library.