GNOME Bugzilla – Bug 771531
Alt-` (backtick) should switch windows within a current application group.
Last modified: 2016-11-17 09:22:11 UTC
Pressing Alt-` has the same effect as that of Alt-Tab when the Alternatetab extension is enabled. The desired functionality should be Alt-` switchs windows only in an application group and Alt-Tab switches between all windows and does not group by application. The stock alt-` works as expected, i.e. switches only within an application group.
Created attachment 335721 [details] [review] alternateTab: Don't take over 'switch-group' shortcuts The original extension author really hated the app switcher with a passion and took over all its uses, but there's really no reason to replace the 'switch-group' shortcuts - not least because the window switcher doesn't implement switching between windows of a single application. So just keep the extension to making the 'switch-application' shortcuts behave as 'switch-windows' for the "classic" session (and all users who rather install an extension than change shortcut settings).
Review of attachment 335721 [details] [review]: looks fine *sigh*
Can this please be solved? This is clearly a bug: the description of the plugin says that it "changes ALT-TAB behavior", while it currently also changes alt-` behavior.
Attachment 335721 [details] pushed as 0cdae2d - alternateTab: Don't take over 'switch-group' shortcuts
I get "Bad object id: 0cdae2d".. Should this be in the repo already?
Yes, the bugzilla produce <-> module name mismatch confuses the commit linkification. https://git.gnome.org/browse/gnome-shell-extensions/commit/?id=0cdae2d is the correct link. (In reply to Steven Roose from comment #3) > the description of the plugin says that it "changes ALT-TAB behavior" Well, arguably the description is wrong. By default it also changes SUPER-TAB behavior (which is a synonym of alt-tab), and if you use the shortcuts settings to use alt-tab for something else (say: hide all windows), then the extension won't touch it. The correct description would be something like "Makes some shortcuts behave as 'switch-windows' to get the expected default settings in classic mode". That is, outside of classic mode, you would be better of changing the underlying settings directly instead of relying on an extension to do it for you: gsettings set org.gnome.desktop.wm.keybindings switch-applications '[]' gsettings set org.gnome.desktop.wm.keybindings switch-windows '["<Alt>Tab"]'
If you'd rather want people to achieve that functionality by changing the gsettings or from the keyboard settings in gnome-control-center which are much more descriptive and reliable why not just remove the extension or atleast not install it by default?
(In reply to Shaleen Jain from comment #7) > why not just remove the extension or atleast not install it by default? I cannot comment on the "installed by default" part, as that's up to distributions. The extension still exists because we want the default Alt+Tab behavior to be different in the normal GNOME session than in the GNOME Classic session. GSettings currently only allows for a single default value, so we need a different way to implement the different defaults - thus the extension. Allison has promised for a while that GSettings will allow for different defaults based on the session eventually, at which point we'll be able to retire the extension.