Public bug reported:

Alt-tab is generally showing up the switcher and give people the ability
to switch between applications, raising all windows of an application if
you don't enter into the window thumbnail subview to select a particular
window.

Alt + key above tab enables switching between the last 2 windows of the
current focused applications.

A case that happens to more advanced user is to switch between 2 windows
of the last 2 applications. You can see a documentation browser in the
background for instance and a terminal overlapping it. (the terminal has
more than one window on this workspace).

The issue is that you are fine with the terminal on top of the browser.
However, if you alt-tab to the browser and alt-tab back (even without
the switcher displayed), you will end up with all windows from your
terminal raising, and so, covering your browser.

This is clearly for advanced users, and that's why I think we can
achieve a smarter/more advanced alt-tab behavior without breaking the
paradigm:

In case of a quick alt-tab (before the switcher UI shows up), we can
cover the power user use-case, which is to switch quickly between the
last focused window of the last 2 applications.

To sum that up in a simple case:
- you have an application with one instance, maximized
- you have another application with multiple instances, like multiple
  terminals, not maximized.
If you press alt-tab, even quickly, the whole second application would be
raised (as no window has been selected). The consequence is that you have
all terminal in front of, for instance, your browser or documentation viewer
you are using.
The behavior we implement enables this. However, as soon as the switcher ui
is displayed to the user, not selecting a particular window instance will
raise the whole applications. Consequently only "quick alt-tab" flow is 
impacted.

Here is a video of the current upstream behavior: https://youtu.be/D32VEP0sFk4
Here is a video of the proposal: https://youtu.be/k-IBk-Fibj4

** Affects: gnome-shell
     Importance: Unknown
         Status: Unknown

** Affects: gnome-shell (Ubuntu)
     Importance: Undecided
         Status: New

** Bug watch added: GNOME Bug Tracker #787627
   https://bugzilla.gnome.org/show_bug.cgi?id=787627

** Also affects: gnome-shell via
   https://bugzilla.gnome.org/show_bug.cgi?id=787627
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716921

Title:
  Enable quick alt-tab to switch between last windows of the 2 recent
  applications

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/1716921/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to