RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1101568 - org.gnome.shell.window-switcher.current-workspace-only dconf key should have effect with "Alternatetab" extension disabled as well
Summary: org.gnome.shell.window-switcher.current-workspace-only dconf key should have ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gnome-shell
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 7.1
Assignee: Florian Müllner
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-27 14:22 UTC by David Jaša
Modified: 2015-11-19 07:13 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 07:13:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2216 0 normal SHIPPED_LIVE gnome compositor stack bug fix and enhancement update 2015-11-19 08:26:34 UTC

Description David Jaša 2014-05-27 14:22:15 UTC
Description of problem:
When "Alternatetab" extension is not active (so alt-tab works "the gnome 3 way"), org.gnome.shell.window-switcher.current-workspace-only dconf key has no effect so user can not limit the windows in alt-tab switcher to current desktop.
Newer versions of gnome 3 (such as 3.10 in F20) don't behave that way, when the key is set to true, alt-tab only shows windows from current desktop.

Version-Release number of selected component (if applicable):
gnome-shell-3.8.4-31.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. switch org.gnome.shell.window-switcher.current-workspace-only dconf key to true in "Gnome 3" desktop (with "Alternatetab" extension disabled)
2.
3.

Actual results:
windows from all desktops are shown in alt-tab switcher

Expected results:
only windows from current desktop appear in alt-tab

Additional info:

Comment 1 Florian Müllner 2014-05-29 13:29:42 UTC
(In reply to David Jaša from comment #0)
> Description of problem:
> When "Alternatetab" extension is not active (so alt-tab works "the gnome 3
> way"), org.gnome.shell.window-switcher.current-workspace-only dconf key has
> no effect so user can not limit the windows in alt-tab switcher to current
> desktop.

That is because the default alt-tab switcher is an *app* switcher, not a *window* switcher.


> Newer versions of gnome 3 (such as 3.10 in F20) don't behave that way, when
> the key is set to true, alt-tab only shows windows from current desktop.

No, the app switcher does not take the window-switcher setting into account with any version. Newer versions added a separate app-switcher setting (see https://bugzilla.gnome.org/show_bug.cgi?id=703538) though - I'd be happy to backport that change, but the proposal to use an unrelated setting does not make any sense to me.

Comment 3 Michael Boisvert 2014-12-17 15:47:55 UTC
On my RHEL7.1 box with gnome-shell-3.8.4-45.el7 installed, the org.gnome.shell.window-switcher.current-workspace-only dconf key is TRUE by default. 

Running: # gnome-shell-extension-tool -d Alternatetab

Yields: 'Alternatetab' is not enabled or installed. 

I can still alt-tab between windows/apps in different workspaces. I tried testing this on F20 as well with the exact same results. Am I missing something?

Comment 4 Florian Müllner 2014-12-18 17:10:33 UTC
(In reply to Michael Boisvert from comment #3)
> On my RHEL7.1 box with gnome-shell-3.8.4-45.el7 installed, the
> org.gnome.shell.window-switcher.current-workspace-only dconf key is TRUE by
> default. 
> 
> Running: # gnome-shell-extension-tool -d Alternatetab
> 
> Yields: 'Alternatetab' is not enabled or installed.

gnome-shell-extension-tool is not very smart - it needs the exact UUID, not an approximation. In case of the AlternateTab extension, that's 'alternate-tab.github.com'.
 

> I can still alt-tab between windows/apps in different workspaces. I tried
> testing this on F20 as well with the exact same results. Am I missing
> something?

There are two different popups:
  - the application switcher, that groups windows by app
    (default alt-tab popup in the normal gnome session,
     on all workspaces by default)

  - the window switcher, that does not group windows
    (default alt-tab popup in gnome-classic, only on the
     current workspace by default)

Both popups allow to tweak the workspace behavior, but using different keys: org.gnome.shell.window-switcher.current-workspace-only in case of the window switcher, and org.gnome.shell.app-switcher.current-workspace-only in case of the app switcher.

Comment 6 David Jaša 2015-01-26 15:59:13 UTC
RHEL 7.1 behaves the way I requested for quite some time already - even though I use "normal gnome session" and the key for app switcher is not defined:

$ dconf read /org/gnome/shell/app-switcher/current-workspace-only
$

The behaviour doesn't change when I override the value manually with:
$ dconf write /org/gnome/shell/app-switcher/current-workspace-only (false|true)

Comment 7 Florian Müllner 2015-01-26 17:14:19 UTC
(In reply to David Jaša from comment #6)
> RHEL 7.1 behaves the way I requested for quite some time already - even
> though I use "normal gnome session" and the key for app switcher is not
> defined:
> 
> $ dconf read /org/gnome/shell/app-switcher/current-workspace-only
> $

If you use dconf instead of gsettings, no return value does not necessarily mean that the value is undefined, as the tool only considers the user DB and does not fall back to the default value as defined in the GSettings schema.

Does
  $ gsettings get org.gnome.shell.app-switcher current-workspace-only
show any output?


> The behaviour doesn't change when I override the value manually with:
> $ dconf write /org/gnome/shell/app-switcher/current-workspace-only
> (false|true)

That is odd - what's the output of
  $ gsettings get org.gnome.desktop.wm.keybindings switch-windows
  $ gsettings get org.gnome.desktop.wm.keybindings switch-applications

Comment 8 David Jaša 2015-01-27 12:10:41 UTC
(In reply to Florian Müllner from comment #7)
> (In reply to David Jaša from comment #6)
> > RHEL 7.1 behaves the way I requested for quite some time already - even
> > though I use "normal gnome session" and the key for app switcher is not
> > defined:
> > 
> > $ dconf read /org/gnome/shell/app-switcher/current-workspace-only
> > $
> 
> If you use dconf instead of gsettings, no return value does not necessarily
> mean that the value is undefined, as the tool only considers the user DB and
> does not fall back to the default value as defined in the GSettings schema.

ok, thanks for the info.

> 
> Does
>   $ gsettings get org.gnome.shell.app-switcher current-workspace-only
> show any output?

$ gsettings get org.gnome.shell.app-switcher current-workspace-only
false

> 
> 
> > The behaviour doesn't change when I override the value manually with:
> > $ dconf write /org/gnome/shell/app-switcher/current-workspace-only
> > (false|true)
> 
> That is odd - what's the output of
>   $ gsettings get org.gnome.desktop.wm.keybindings switch-windows

$ gsettings get org.gnome.desktop.wm.keybindings switch-windows
@as []

>   $ gsettings get org.gnome.desktop.wm.keybindings switch-applications

$ gsettings get org.gnome.desktop.wm.keybindings switch-applications
['<Super>Tab', '<Alt>Tab']

Comment 12 Michal Domonkos 2015-05-14 15:40:05 UTC
The "org.gnome.shell.app-switcher" key is supported and works correctly in GNOME-3.14.

Comment 13 Michal Domonkos 2015-05-14 15:42:02 UTC
Correction:  I meant "org.gnome.shell.app-switcher.current-workspace-only"

Comment 16 errata-xmlrpc 2015-11-19 07:13:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2216.html


Note You need to log in before you can comment on or make changes to this bug.