Launcher, Alt-Tab - clicking on launcher item or selecting a app in Alt-Tab raises all app windows, not just most recently focused
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ayatana Design |
Fix Released
|
Critical
|
John Lea | ||
Unity |
Fix Released
|
Critical
|
Marco Trevisan (Treviño) | ||
unity (Ubuntu) |
Fix Released
|
High
|
Marco Trevisan (Treviño) | ||
Precise |
Fix Released
|
High
|
Marco Trevisan (Treviño) |
Bug Description
What happens:
If an application has multiple windows, clicking once on the launcher icon, or selecting a app icon in Alt-Tab raises all windows.
This bug is only present in Unity3d, Unity2d currently has the correct behaviour. This bug must be fixed as early as possible in Precise because it is not acceptable for clicking on a Launcher icon to do different things in Unity2d and Unity3d.
-------
What should happen:
If an application has multiple windows, clicking once on the launcher icon should raise only the most recently focussed window (that is not currently minimised).
If an application has multiple windows, selecting a Alt-Tab icon should raise only the most recently focussed window (that is not currently minimised).
Excluding windows "that are not currently minimised" means that if a application (say 'Terminal') has two windows open (A and B), and the user minimises one window (window A) and then focuses a different application, if the user clicks on the 'Terminal' launcher icon (or selects the 'Terminal' icon in Alt-Tab), window B should be brought to the front of the Z stack and window A should remain minimised.
This behaviour occurs on the latest build of 12.04 beta and unity 5.6.0.
See this comment for a description of what should happen vs. what is actually happening:
http://
*IMPORTANT NOTE* - This bug must be fixed for both Alt-Tab and the Launcher at the same time
-------
Design references:
- See section "2.8 Launcher" in the "Multiple Monitors UX Specification Phase 1" spec
( http://
- See heading "Switching Applications" in section "1. The Launcher" which is part of the "Unity Task Switching" spec ( http://
Related branches
- Thomi Richards (community): Approve (quality)
- Tim Penhey (community): Approve
- Sam Spilsbury: Pending requested
- Alex Launi: Pending (quality) requested
-
Diff: 815 lines (+336/-97)16 files modifiedmanual-tests/Switcher.txt (+1/-1)
plugins/unityshell/src/BamfLauncherIcon.cpp (+45/-30)
plugins/unityshell/src/Launcher.cpp (+3/-1)
plugins/unityshell/src/PluginAdapter.cpp (+91/-47)
plugins/unityshell/src/PluginAdapter.h (+4/-1)
plugins/unityshell/src/SwitcherController.cpp (+1/-0)
plugins/unityshell/src/UScreen.cpp (+9/-3)
plugins/unityshell/src/UScreen.h (+1/-0)
plugins/unityshell/src/WindowManager.cpp (+11/-1)
plugins/unityshell/src/WindowManager.h (+5/-2)
plugins/unityshell/src/unityshell.cpp (+8/-5)
tests/autopilot/autopilot/emulators/bamf.py (+11/-2)
tests/autopilot/autopilot/emulators/unity/switcher.py (+3/-0)
tests/autopilot/autopilot/tests/__init__.py (+12/-0)
tests/autopilot/autopilot/tests/test_launcher.py (+65/-0)
tests/autopilot/autopilot/tests/test_switcher.py (+66/-4)
Changed in unity: | |
milestone: | none → 5.8.0 |
tags: | added: regression |
Changed in unity: | |
importance: | Undecided → Medium |
Changed in unity (Ubuntu): | |
importance: | Undecided → Medium |
Changed in unity: | |
milestone: | 5.8.0 → 5.10.0 |
Changed in unity: | |
assignee: | nobody → Brandon Schaefer (brandontschaefer) |
Changed in unity (Ubuntu Precise): | |
assignee: | nobody → Brandon Schaefer (brandontschaefer) |
Changed in unity: | |
status: | Confirmed → In Progress |
Changed in unity (Ubuntu Precise): | |
status: | Confirmed → In Progress |
Changed in unity: | |
milestone: | 5.10.0 → 5.12.0 |
Changed in ayatana-design: | |
assignee: | nobody → John Lea (johnlea) |
importance: | Undecided → Critical |
status: | New → Fix Committed |
tags: | added: udp |
Changed in ayatana-design: | |
assignee: | John Lea (johnlea) → nobody |
importance: | Critical → Undecided |
status: | Fix Committed → New |
tags: | removed: udp |
Changed in ayatana-design: | |
assignee: | nobody → John Lea (johnlea) |
importance: | Undecided → Critical |
status: | New → Fix Committed |
summary: |
- clicking on launcher item raises all app windows, not just most recently - focussed + clicking on launcher item or selecting a app in Alt-Tab raises all app + windows, not just most recently focussed |
description: | updated |
tags: | added: udp |
description: | updated |
summary: |
- clicking on launcher item or selecting a app in Alt-Tab raises all app - windows, not just most recently focussed + Launcher, Alt-Tab - clicking on launcher item or selecting a app in Alt- + Tab raises all app windows, not just most recently focussed |
Changed in unity: | |
importance: | Medium → Critical |
description: | updated |
description: | updated |
summary: |
- Launcher, Alt-Tab - clicking on launcher item or selecting a app in Alt- - Tab raises all app windows, not just most recently focussed + [regression] Launcher, Alt-Tab - clicking on launcher item or selecting + a app in Alt-Tab raises all app windows, not just most recently focussed |
description: | updated |
summary: |
[regression] Launcher, Alt-Tab - clicking on launcher item or selecting - a app in Alt-Tab raises all app windows, not just most recently focussed + a app in Alt-Tab raises all app windows, not just most recently focused |
tags: | added: rls-mgr-p-tracking |
Changed in unity (Ubuntu Precise): | |
assignee: | Brandon Schaefer (brandontschaefer) → Marco Trevisan (Treviño) (3v1n0) |
Changed in unity: | |
assignee: | Brandon Schaefer (brandontschaefer) → Marco Trevisan (Treviño) (3v1n0) |
Changed in unity: | |
status: | In Progress → Fix Committed |
Changed in unity (Ubuntu Precise): | |
status: | In Progress → Fix Committed |
tags: |
added: reviewedbydesignp removed: udp |
Changed in ayatana-design: | |
status: | Fix Committed → Fix Released |
Changed in unity: | |
status: | Fix Committed → Fix Released |
Changed in unity: | |
status: | Fix Released → Fix Committed |
Changed in unity: | |
status: | Fix Committed → Fix Released |
that sounds like a regression to me. I confirm the behavior that you reported as well.