After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 650158 - Make alt-tab specific to the screen the pointer is in
Make alt-tab specific to the screen the pointer is in
Status: RESOLVED DUPLICATE of bug 722684
Product: gnome-shell
Classification: Core
Component: app-switcher
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-05-14 00:43 UTC by Gustavo Noronha (kov)
Modified: 2015-02-27 20:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Show the Alt-Tab popup on the monitor containing the window that has the focus (995 bytes, patch)
2011-12-05 22:46 UTC, Alessandro Crismani
rejected Details | Review

Description Gustavo Noronha (kov) 2011-05-14 00:43:24 UTC
This is a suggested improvement to the multi-monitor setup. With the extra screen windows always being there, they are effectively present in every workspace. This causes extra noise to appear in the alt-tab chooser which is already full of noise from other workspaces. I would very much prefer to see the windows in the extra screen in the window chooser only when I'm looking at the extra screen, and be able to choose it while looking at the extra screen, without the need to look at the main screen to select it and then back to the extra screen. Perhaps there's a better way to handle this, I'm certainly not tied to this specific solution, I'd just like to fix the discontinuity that always disturbs me, of trying to switch to a window that's in the extra screen by looking at the main screen.
Comment 1 Felipe Contreras (banned) 2011-06-01 01:53:55 UTC
Sounds like a dup of bug #621287 to me.

*** This bug has been marked as a duplicate of bug 621287 ***
Comment 2 Florian Müllner 2011-06-01 02:00:25 UTC
(In reply to comment #1)
> Sounds like a dup of bug #621287 to me.

Nope. This is about alt+tab behavior in a dual monitor setup.
Comment 3 Jeremy Nickurak 2011-11-03 01:26:18 UTC
Alt-tab does get awkward in multi-monitor mode, especially since the 2nd monitor behaves so differently (no workspaces in default config).

I frequently have 2 windows I'm working on on the main display. The 2nd monitor is far enough out of view that it's not in-my-face obvious that there are other windows around. Alt-tab'ing frequently results in a window on the 2nd display getting focused. That happens with very little visual cue to what's happened, so I'll end up typing my password (for example) into some random IM window instead of the terminal I have "sudo" open on :)
Comment 4 Alessandro Crismani 2011-12-05 22:46:05 UTC
Created attachment 202882 [details] [review]
Show the Alt-Tab popup on the monitor containing the window that has the focus

Is there something wrong with the super stupid patch that I am enclosing? It seems to work for me, the Alt-Tab popup is now shown on the monitor containing the window which has the focus.
Comment 5 Jeremy Nickurak 2011-12-06 04:21:24 UTC
Alessandro: Wrong problem. The problem here is that (for example) pressing and releasing alt-tab once can often cause a window on the non-focused monitor to become focused. It's not directly related to where the alt-tab popup is located.
Comment 6 Alessandro Crismani 2011-12-06 08:05:30 UTC
Ah, damn, I misread the problem, sorry! Still, I think that the behaviour after patching helps using Alt-Tab when there are multiple monitors.
Comment 7 Jasper St. Pierre (not reading bugmail) 2013-03-03 21:49:50 UTC
Alessandro: Can you file that patch as a separate bug?
Comment 8 Alessandro Crismani 2013-03-05 08:01:29 UTC
Sure, I just need some evening time and I'll do it!
Comment 9 André Klapper 2015-01-16 21:30:09 UTC
Comment on attachment 202882 [details] [review]
Show the Alt-Tab popup on the monitor containing the window that has the focus

$:andre\> patch --no-backup-if-mismatch -p1 < patch 
patching file js/ui/altTab.js
Hunk #1 FAILED at 87.
1 out of 1 hunk FAILED -- saving rejects to file js/ui/altTab.js.rej

See https://git.gnome.org/browse/gnome-shell/tree/js/ui/altTab.js#n515

Hence setting 'needs-rework' as patch does not apply cleanly.
Comment 10 Florian Müllner 2015-01-16 22:02:12 UTC
Comment on attachment 202882 [details] [review]
Show the Alt-Tab popup on the monitor containing the window that has the focus

Rejecting the patch according to the design feedback in bug 722684
Comment 11 Florian Müllner 2015-02-27 20:58:50 UTC
Also closing the bug - there's no point in keeping it open when we have different plans ...

*** This bug has been marked as a duplicate of bug 722684 ***