[launcher] Meta+Num key bindings are not working when launcher is hidden

Bug #758650 reported by Adi Roiban
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unity-2d
Medium
Olivier Tilloy
unity-2d (Ubuntu)
Undecided
Unassigned

Bug Description

Right now Launchers grabs and release the meta key shortcuts each time it is show/hide.
This means that I have to wait for the Launcher to be displayed before I can use the shortcuts.

This is very inconvenient when you want to switch between known applications.

For example Firefox and Empathy are pinned in the launcher and they will be always Meta+X for Firefox and Meta+Y for Empathy.
If a user will want to switch between these applications he/she will have to always wait for the Launcher to be displayed even if he/she already knows what keys should press to switch the application.

Rather than binding keys only after Launcher is displayed it will be nice to bind them as soon as a new icon is added in the launcher list and remove the binding when the icon is removed.

I know that this can overlap with other applications that may use Meta+N for other purposes but the current implementation is slowing down people who want to switch often between known applications.

Cheers,

Related branches

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: [launcher] Meta+Num key bindings are not working before launcher is displayed

Note that the launcher doesn’t have to be fully visible for the key bindings to work, but indeed they won’t work until the launcher starts sliding in.

summary: - Meta+Num key bindings are not working before launcher is displayed
+ [launcher] Meta+Num key bindings are not working before launcher is
+ displayed
Changed in unity-2d:
status: New → Confirmed
summary: [launcher] Meta+Num key bindings are not working before launcher is
- displayed
+ started
summary: - [launcher] Meta+Num key bindings are not working before launcher is
- started
+ [launcher] Meta+Num key bindings are not working when launcher is hidden
Changed in unity-2d:
importance: Undecided → Medium
Revision history for this message
Olivier Tilloy (osomon) wrote :

Meta+Num shortcuts (for 0 ≤ Num ≤ 9) should be grabbed during the whole lifetime of the application (unity-2d-launcher) rather than grabbed and released when the meta key is pressed. This would fix this bug and would avoid polluting the logs with 20 debug statements every time the super key is pressed.

Olivier Tilloy (osomon)
Changed in unity-2d:
assignee: nobody → Olivier Tilloy (osomon)
milestone: none → 3.10
status: Confirmed → In Progress
Olivier Tilloy (osomon)
Changed in unity-2d:
status: In Progress → Fix Committed
Didier Roche (didrocks)
Changed in unity-2d (Ubuntu):
status: New → Fix Committed
Changed in unity-2d:
milestone: 3.10 → 3.8.6
Changed in unity-2d:
status: Fix Committed → Fix Released
Changed in unity-2d (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers