Incorrect Alt-Tab behaviour ordering: not predictable LIFO stack

Bug #682973 reported by Paul Sladen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Triaged
Undecided
Unassigned
unity (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Binary package hint: unity

With Unity 3.2.0-0ubuntu3 and 1:0.9.2.1+glibmainloop2-0ubuntu3 the behaviour of Alt-Tab is not consistent; the ordering chosen for the list of windows that will be displayed is not predictable ahead of time by the user.

Historically Alt-Tab operates as a pure LIFO stack (Last in, First out). Two alt-tabs takes the user to the window-before-last, three alt-tabs takes the user to window-before-that. In stack terminology, the window N alt-tabs down the stack is removed, placed on the top and everything else moved down one.

The behaviour between the top and next entry is predictable and works. However, when using multiple Alt-Tab presses to descend further through the window stack, the ordering is not consistent and therefore not predictable. The user must wait for the selector box to be faded up, displayed and to parse by sight, then select what ordering has been chosen on this particular occasion and execute further Alt-Tab or Alt-Shift-Tab presses to reach the desired target window.

This is reproducible by opening more than three windows, (eg. 4 Terminal + 3 Firefox). Alt-Tabbing around all of the Terminals in succession should place these in the top four entries of the window stack

  Term, Term, Term, Term, FF4, FF4, FF4 (expected)
  Term, Term, FF4, Term, FF4, Term, FF4 (observed)

Empathy also seems to consistently cause broken stack ordering aswell. It is possible that this is related to applications with multiple windows, but at the same time this does not explain how FF4/Term windows could end up "interlaced" as observed here.

Paul Sladen (sladen)
summary: - I Alt-Tab behaviour order
+ Incorrect Alt-Tab behaviour ordering: not predictable LIFO stack
Paul Sladen (sladen)
description: updated
Revision history for this message
Alex Launi (alexlauni) wrote :

I'm not seeing the same behavior. The alt-tab switcher appears to operate as a stack for me.

Changed in unity (Ubuntu):
status: New → Incomplete
Changed in compiz (Ubuntu):
status: New → Incomplete
Revision history for this message
Paul Sladen (sladen) wrote :

Reproducible:

  1. Fresh login
  2. Open Terminal #1
  3. Open Firefox #1
  4. Open Terminal #2
  5. Open Firefox #2
  6. Open Terminal #3
  7. Open Firefox #3
  8. Open Terminal #4
  9. Press+hold Alt-Tab for the first time

Expected results: stack is alternate Terminal/Firefox.
Actual result: three terminals are next to each other.

Further demonstration can be found by attempting to bring all of the Terminal, or all of the Firefox windows to the front/top of the stack.

  10. Even further, now load Empathy

Attempt to get get all of the terminals, or all of the Firefox windows to the front/top of the stack. This is also impossible as the Empathy window will stay at slot 3, or 4 regardlessly.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for compiz (Ubuntu) because there has been no activity for 60 days.]

Changed in compiz (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for unity (Ubuntu) because there has been no activity for 60 days.]

Changed in unity (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Paul Sladen (sladen) wrote :

Haven't pin it down completely; my observation is that an Alt-Tab causes a stack /exchange/; if the working set are entries 1 and 2 in the stack Alt-Tab therefore does as expected. If in the mean-time you've opened another 10 terminals or windows and your desired working set are entries 1 and 10 in the stack, then these become 10 and 1... requiring repeated keypresses to get back to.

Changed in compiz (Ubuntu):
status: Expired → Triaged
Changed in unity (Ubuntu):
status: Expired → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.