alt-tab - quick alt + tab (before the switcher shows) not consistent

Bug #861250 reported by Didier Roche on 2011-09-28
98
This bug affects 20 people
Affects Status Importance Assigned to Milestone
Ayatana Design
Critical
John Lea
Unity
Fix Released
Medium
Marco Trevisan (Treviño)
Unity Distro Priority
Undecided
Unassigned
unity (Ubuntu)
Medium
Marco Trevisan (Treviño)

Bug Description

the alt + tab pressed quickly (without the switcher showing) seems to have some inconsistencies.

First test case, which seems to have the right behavior:
1. Have a chromium instance, and 2 thundebird windows (a composer window and the main window) on the same worspace
2. I can quickly alt + tab between the 2 last windows like the main window and the composer
-> this behavior seems right

1. Now, same configuration, but the two last windows I want to switch between is the chromium window and the thunderbird composer (for some copy and paste, for instance).
2. Make sure the thunderbird composer window is focused
3. Then focus the chromium window
4. press alt + tab quickly (so the switcher does not show)

Current incorrect behaviour:
- The thunderbird composer window gets the focus (correct) and the thunderbird main window is placed on top of the chromium window in the z order stack (incorrect)

Correct desired behaviour:
- The thunderbird composer window gets the focus
- The z-order of all other windows is unaffected.

Related branches

Didier Roche (didrocks) on 2011-09-28
Changed in unity:
status: New → Incomplete
Sebastien Bacher (seb128) wrote :

Confirming the issue, it's quite annoying especially when you have several instance of a same program open (think text editor, im discussions, etc) and regularly switch between one of those instances and i.e a web browser you don't want all your open text to go back on screen over the browser every time, or your pidgin buddy list to come to front because you reply to a friend in the chat dialog

John Lea (johnlea) on 2011-09-28
description: updated
tags: added: onew udo
Changed in ayatana-design:
assignee: nobody → John Lea (johnlea)
importance: Undecided → Critical
status: New → Fix Committed
status: Fix Committed → Fix Released
summary: - quick alt + tab (before the switcher shows) not consistent
+ alt-tab - quick alt + tab (before the switcher shows) not consistent
Didier Roche (didrocks) on 2011-09-28
Changed in unity:
milestone: none → 4.20.0
status: Incomplete → Triaged
importance: Undecided → Medium
Changed in unity (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Jason Smith (jassmith) wrote :

Okay so I had a chat with design about this and here is the realistic results:

There are cases where you want alt-tab to raise every window of an application (chat clients, gimp, configuration windows) and cases where you dont. The solution proposed trades one set of problems for another when what we need is a smarter behavior. This behavior can be determined by identifying if a window serves the function of a primary task, or a supported task to a primary window. Transient windows provide is the majority hint we need, but are not 100% reliable (barely 50% accurate really). So for O+1 we will have to tackle this problem head on with a look to identifying these cases more clearly.

John Lea (johnlea) on 2011-09-28
tags: removed: onew udo
Changed in ayatana-design:
importance: Critical → Undecided
status: Fix Released → Incomplete
assignee: John Lea (johnlea) → nobody
Didier Roche (didrocks) on 2011-09-29
Changed in unity:
milestone: 4.20.0 → 4.22.0
Didier Roche (didrocks) on 2011-10-04
Changed in unity:
milestone: 4.22.0 → 4.24.0
Didier Roche (didrocks) on 2011-10-17
Changed in unity:
milestone: 4.24.0 → 4.26.0
Didier Roche (didrocks) on 2011-11-23
description: updated
Changed in unity-distro-priority:
status: New → Fix Committed
John Lea (johnlea) on 2011-11-23
description: updated
Changed in unity:
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
status: Triaged → In Progress
Changed in unity (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
status: Triaged → In Progress

About this I was thinking that this solution could fit most cases, for quick Alt+Tab / Alt+`:
 - If an application has some normal windows opened and optionally some transient windows: both quick Alt+Tab and quick Alt+` switch between main windows.
 - If an application has only one normal window and one (or more?) transient: quick Alt+Tab should switch to another application, quick Alt+` switch to the transient window.

Long Alt+Tab / Alt+` should allow to switch to any application/window.

David Barth (dbarth) on 2011-12-16
Changed in unity:
milestone: 4.26.0 → 4.28.0
David Barth (dbarth) on 2011-12-16
Changed in unity:
milestone: 4.28.0 → none
milestone: none → backlog
Didier Roche (didrocks) on 2012-01-03
Changed in unity:
milestone: backlog → 5.0.0
Didier Roche (didrocks) on 2012-01-12
Changed in unity:
milestone: 5.0.0 → 5.2.0
John Lea (johnlea) on 2012-01-20
Changed in ayatana-design:
status: Incomplete → Fix Committed
tags: added: udp
Didier Roche (didrocks) on 2012-02-03
Changed in unity:
milestone: 5.2.0 → 5.4.0
John Lea (johnlea) on 2012-02-16
Changed in ayatana-design:
assignee: nobody → John Lea (johnlea)
importance: Undecided → High
Didier Roche (didrocks) on 2012-02-17
Changed in unity:
milestone: 5.4.0 → 5.6.0
Andrea Cimitan (cimi) on 2012-02-17
tags: added: top5p
Tim Penhey (thumper) on 2012-02-20
tags: added: distro-priority
John Lea (johnlea) on 2012-02-20
Changed in ayatana-design:
importance: High → Critical
Didier Roche (didrocks) on 2012-03-12
Changed in unity:
milestone: 5.6.0 → 5.8.0
Didier Roche (didrocks) on 2012-03-23
Changed in unity:
milestone: 5.8.0 → 5.10.0
Didier Roche (didrocks) on 2012-04-12
Changed in unity:
milestone: 5.10.0 → 5.12.0
Changed in unity:
status: In Progress → Fix Committed
Changed in unity (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 5.10.0-0ubuntu4

---------------
unity (5.10.0-0ubuntu4) precise-proposed; urgency=low

  * Cherry-pick an additional fix from trunk fixing multiple bugs:
    - alt-tab - quick alt + tab (before the switcher shows) not consistent
      (LP: #861250)
    - Launcher, Alt-Tab - clicking on launcher item or selecting a app in
      Alt-Tab raises all app windows, not just most recently focused
      (LP: #959339)
    - Alt-Tab, multimonitor - The Alt-Tab overlay should appear on the display
      which has focus. (LP: #981795)
 -- Didier Roche <email address hidden> Mon, 16 Apr 2012 08:35:28 +0200

Changed in unity (Ubuntu):
status: Fix Committed → Fix Released
Didier Roche (didrocks) on 2012-04-17
Changed in unity-distro-priority:
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
Omer Akram (om26er) on 2012-04-26
Changed in unity:
status: Fix Released → Fix Committed
Nick Tait (jnick-tait) on 2012-04-26
Changed in ayatana-design:
status: Fix Committed → Fix Released
tags: added: reviewedbydesignp
removed: udp
Didier Roche (didrocks) on 2012-04-27
Changed in unity:
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