GNOME Bugzilla – Bug 788249
Display settings are not remembered
Last modified: 2017-09-29 14:53:58 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.
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.
This same issue was already reported as bug 787629. See that bug for patches that fixes the issue.
*** This bug has been marked as a duplicate of bug 787629 ***