New apps on the launcher have no shortcut key until something is being closed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
Low
|
Andrea Azzarone | ||
unity (Ubuntu) |
Fix Released
|
Low
|
Andrea Azzarone | ||
Precise |
Fix Released
|
Low
|
Andrea Azzarone |
Bug Description
Binary package hint: unity
For certain applications, such as evince and gedit, if they are the last application on the launcher, they do not have a shortcut key associated with them (such as Super+0, Super+1, etc). This affects both the display and the input: the shortcut will not show if you hold down Super, nor will it work if you press it.
The steps to reproduce this are quite specific, but I can always reproduce it on multiple machines. The conditions required to trigger this bug appear to be:
- The app is in a certain set, which I haven't yet determined, but it includes evince and gedit.
- The app is in the last position on the launcher (not including the workspaces, apps, files and trash).
- No other apps have been closed since this app was opened.
Obviously this is to be expected if there are more than 10 apps on the launcher, but this happens with less than 10.
Therefore, example steps to reproduce are:
1. Ensure there are less than 9 icons open on the launcher.
2. Open Evince.
3. Do not open or close anything else.
4. Hold down Super. Notice that the Evince icon has not been assigned a number.
5. Press Super+n where n is the number you were expecting Evince to be assigned. Notice that it does not do anything.
The fact that evince was doing it led me to bug #768900 (possibly caused by NoDisplay=True), but that doesn't explain gedit.
A workaround is to open and close something small like Calculator after opening Evince or Gedit.
I would attach a screenshot but PrintScreen doesn't work while Super is held down. Is there any way to do this?
Related branches
- Marco Trevisan (Treviño): Approve
-
Diff: 121 lines (+37/-3)5 files modifiedplugins/unityshell/src/AbstractLauncherIcon.h (+1/-0)
plugins/unityshell/src/LauncherController.cpp (+6/-3)
plugins/unityshell/src/LauncherIcon.cpp (+6/-0)
tests/autopilot/autopilot/emulators/unity/launcher.py (+11/-0)
tests/autopilot/autopilot/tests/test_launcher.py (+13/-0)
Changed in unity (Ubuntu): | |
status: | New → Confirmed |
Changed in unity: | |
status: | New → Confirmed |
summary: |
- Last app on the launcher has no shortcut key + New app on the launcher has no shortcut key until something is being + closed |
Changed in unity: | |
milestone: | none → 5.12.0 |
assignee: | nobody → Andrea Azzarone (andyrock) |
Changed in unity (Ubuntu): | |
assignee: | nobody → Andrea Azzarone (andyrock) |
Changed in unity: | |
status: | Confirmed → In Progress |
Changed in unity (Ubuntu): | |
status: | Confirmed → In Progress |
summary: |
- New app on the launcher has no shortcut key until something is being + New apps on the launcher have no shortcut key until something is being closed |
Changed in unity: | |
status: | In Progress → Fix Committed |
Changed in unity (Ubuntu Precise): | |
status: | In Progress → Fix Committed |
Changed in unity: | |
status: | Fix Committed → Fix Released |
I hope my attachment shows the bug clearly (it's a photo from digital camera). I have this problem too but I can't reproduce it every time I launch Evince according described steps. It happens only sometimes. Another workaround is moving icon of application within Launcher to another position. After this (or following move on previous position) the number is shown correctly.