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 1725741 - Reverting workspaces to primary display only not working
Summary: Reverting workspaces to primary display only not working
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: gnome-tweaks
Version: 8.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: 8.0
Assignee: Milan Crha
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1678350
TreeView+ depends on / blocked
 
Reported: 2019-07-01 11:24 UTC by Martin Krajnak
Modified: 2020-11-14 09:26 UTC (History)
3 users (show)

Fixed In Version: gnome-tweaks-3.28.1-5.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 22:14:33 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:3553 0 None None None 2019-11-05 22:14:44 UTC

Description Martin Krajnak 2019-07-01 11:24:22 UTC
Description of problem:
I was testing workspaces recently, I switched to "Workspaces span displays", then back to Workspaces on primary display onlyWorkspaces on primary display only, the workspaces remained on all displays.

Setup: 3 displays, 2 monitors laptop screen, X, Standard Gnome ession

Version-Release number of selected component (if applicable):
gnome-tweaks-3.28.1-4.el8.noarch

How reproducible:
always

Steps to Reproduce:
1.Open Tweaks
2.Navigate to Workspaces
3.Click "Workspaces span displays"
4.Verify the option changed by switching workspaces
5.Click "Workspaces on primary display only"

Actual results:
Still switching workspaces on all displays, logout/reboot still not working

Expected results:
Should switch workspaces only on primary displays

Additional info:
$ gsettings get org.gnome.mutter workspaces-only-on-primary
$ false
$ gsettings set org.gnome.mutter workspaces-only-on-primary true

Workspaces are working properly, so it looks like tweaks are not setting the option.

Comment 1 Milan Crha 2019-07-01 12:10:35 UTC
Thanks for a bug report. When I revert a change for this gnome-tweaks bug:
https://bugzilla.gnome.org/show_bug.cgi?id=786311
then the things will start working. The bug mentions changes in gnome-shell, thus maybe the gnome-shell (or mutter) version being used doesn't correspond to expected keys used by gnome-tweaks.

I can revert the upstream fix, but I'm afraid it'll regress in the future, once gnome-shell/mutter are updated to the "patched" versions. Just patching gnome-shell/mutter may break some other things, thus I'm not sure what to do.

Comment 2 Milan Crha 2019-07-01 12:17:16 UTC
By the way, what are your gnome-shell and mutter versions, please? The latest in git is 3.32.2-4 for gnome-shell and 3.32.2-5 for mutter.

Comment 3 Martin Krajnak 2019-07-01 12:18:33 UTC
gnome-shell-3.32.2-4.el8.x86_64
mutter-3.32.2-4.el8.x86_64

Comment 4 Martin Krajnak 2019-07-01 12:19:00 UTC
gnome-shell-3.32.2-4.el8.x86_64
mutter-3.32.2-4.el8.x86_64

I can update mutter to latest if required

Comment 5 Milan Crha 2019-07-01 12:29:48 UTC
I do not know yet, both have plenty of patches. I'm not a developer of any of the two, I've no idea what they do, either good or bad.

Florian, could you confirm whether the above mentioned (comment #1) upstream fix should be reverted in gnome-tweaks for the RHEL8, please?

Comment 6 Martin Krajnak 2019-07-01 12:39:29 UTC
Side comment, I updated mutter to -5, tried to reproduce again but it looks and switching to "Workspaces span displays has no effect",
not even after session reset.

I was wondering, that it might be because I overided the option via gsettings, not sure though....

Comment 7 Milan Crha 2019-07-01 12:43:39 UTC
(In reply to Martin Krajnak from comment #6)
> Side comment, I updated mutter to -5, tried to reproduce again but it looks
> and switching to "Workspaces span displays has no effect",
> not even after session reset.

I'm sorry, I do not follow the above formulation.

> I was wondering, that it might be because I overided the option via
> gsettings, not sure though....

You can remove the user setting by:

   $ gsetting reset org.gnome.mutter workspaces-only-on-primary

Comment 8 Florian Müllner 2019-07-02 15:24:16 UTC
Sorry I forgot about tweaks.

This is due to a change how mutter/gnome-shell handle non-gnome/gnome/classic specific defaults.


(In reply to Milan Crha from comment #5)

> Florian, could you confirm whether the above mentioned (comment #1) upstream
> fix should be reverted in gnome-tweaks for the RHEL8, please?

My preferred option would be to cherry-pick the corresponding upstream fix instead:

https://gitlab.gnome.org/GNOME/gnome-tweaks/merge_requests/9

Comment 9 Milan Crha 2019-07-02 15:37:33 UTC
(In reply to Florian Müllner from comment #8)
> My preferred option would be to cherry-pick the corresponding upstream fix
> instead:
> 
> https://gitlab.gnome.org/GNOME/gnome-tweaks/merge_requests/9

Thanks for the explanation and the pointer. I'll backport it.

Comment 11 Martin Krajnak 2019-07-03 08:44:00 UTC
gnome-tweaks-3.28.1-5.el8.noarch

Comment 13 errata-xmlrpc 2019-11-05 22:14:33 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://access.redhat.com/errata/RHSA-2019:3553


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