[Alt-Tab] Hover on alt-tab easily bumped
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ayatana Design |
Fix Committed
|
High
|
John Lea | ||
Unity |
Fix Released
|
High
|
Brandon Schaefer | ||
unity (Ubuntu) |
Fix Released
|
High
|
Brandon Schaefer |
Bug Description
At some point the alt-tab application switcher seems to have gained support for mouse hover. This means if you have the mouse in the middle of the screen and then bump it while doing an alt-tab you can easily select the wrong application.
To reproduce:
1. hold alt down
2. press tab
3. Move mouse to the left of the switcher on the edge of an application icon
4. Press tab a few times
5. Move the mouse a little bit across between two icons
Expected result:
The selected icon doesn't change
Observed result:
The icon under the mouse is selected
This is particularly bad when the icons concertina under the mouse. Then basically any mouse movement will un-concertina them and select the wrong icon.
-------
Desired resolution:
- when the alt-tab mode is entered, the pointer should be desensitised so that is no action is taken until the pointer has moved more than a certain distance in any direction
- To start with try using a value that nothing happens until the pointer moves more than 3 pixels in any direction. Then see how this feels, and adjust this value as appropriate to get the best feel.
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Christopher Townsend (community): Needs Information
-
Diff: 213 lines (+86/-23)4 files modifiedlauncher/SwitcherView.cpp (+23/-4)
launcher/SwitcherView.h (+2/-0)
tests/autopilot/unity/emulators/switcher.py (+19/-0)
tests/autopilot/unity/tests/test_switcher.py (+42/-19)
- PS Jenkins bot (community): Approve (continuous-integration)
- Marco Trevisan (Treviño): Approve
-
Diff: 186 lines (+74/-22)4 files modifiedlauncher/SwitcherView.cpp (+12/-3)
launcher/SwitcherView.h (+1/-0)
tests/autopilot/unity/emulators/switcher.py (+19/-0)
tests/autopilot/unity/tests/test_switcher.py (+42/-19)
description: | updated |
Changed in ayatana-design: | |
assignee: | nobody → John Lea (johnlea) |
importance: | Undecided → High |
Changed in unity: | |
importance: | Medium → High |
Changed in ayatana-design: | |
status: | New → Fix Committed |
tags: | added: udp |
summary: |
- Hover on alt-tab easily bumped + [Alt-Tab] Hover on alt-tab easily bumped |
Changed in unity (Ubuntu): | |
importance: | Medium → High |
Changed in unity: | |
status: | Triaged → In Progress |
Changed in unity (Ubuntu): | |
status: | Triaged → In Progress |
Changed in unity (Ubuntu): | |
status: | In Progress → Fix Committed |
tags: | added: rls-w-incoming |
Right, I've seen the problem as well... Soo a couple possible solutions:
1) Don't count small differences in mouse movement. ie. if the mouse only changed 1-2 pixels don't select the icon.
2) Don't have the mouse change the selection of the icon until it is clicked.
Adding design to weigh in.