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 788249 - Display settings are not remembered
Display settings are not remembered
Status: RESOLVED DUPLICATE of bug 787629
Product: mutter
Classification: Core
Component: general
3.26.x
Other Linux
: Normal major
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2017-09-27 15:44 UTC by Jiri Eischmann
Modified: 2017-09-29 14:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jiri Eischmann 2017-09-27 15:44:53 UTC
My setup:
Dell XPS 13 built-in monitor 13.3" 3200x1800
external Samsung FullHD monitor
Using Fedora 27

I turn off the built-in monitor and only want to use the external one. But every time I hot plug off and plug in the monitor (via a Thunderbolt dock) the settings are lost and the built-in monitor is again on and set as primary. It also happens when I reboot the machine which means I have to set displays every time I turn on the computer. 

The external monitor seems to be correctly recognized. At least the control center shows its correct name.

It worked correctly in 3.24.
Comment 1 Rui Matos 2017-09-27 17:57:52 UTC
To be sure, only configurations with disabled outputs aren't being saved, right? 

In fact they're saved, mutter just isn't able to apply them. I think the problem is that the new monitor configuration code (and the DBus API) represents disabled outputs simply by omitting them which means that when we try to match the current state of the world, i.e. what mutter currently see connected, to what's saved, it doesn't find a match because the saved info doesn't include one or more of the disabled outputs.

Fortunately I think we can fix without changing the DBus API by making the saving code in mutter include the omitted outputs in config file somehow, but that means we need to extend the config XML schema IIUC.
Comment 2 Jonas Ådahl 2017-09-28 16:01:59 UTC
This same issue was already reported as bug 787629. See that bug for patches that fixes the issue.
Comment 3 Rui Matos 2017-09-29 14:53:58 UTC

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