Created attachment 127168 [details] journalctl contents for org.kde.KScreen SUMMARY When exiting doom game port zandronum (get it here: https://zandronum.com/download#instubuntu), the multimonitor setup I have is affected; the resolution used in game is transferred to KDE. All three monitors are now duplicates as well (they were not before). Restarting the display-manager does not resolve this. The only way to recover is to redo all settings via KDE monitor settings. From the syslog (via journalctl) I can see that the game uses xrand to change the resolution. See log in attachment. STEPS TO REPRODUCE 1. have a multimonitor setup 2. run zandronum, change the video & display settings via its ingame menu 3. exit the game OBSERVED RESULT All monitors are equal with the same resolution as within the game. EXPECTED RESULT The normal resolution as preconfigured, with separate monitors. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Kubuntu 19.10, with kubuntu-ppa-backports (available in About System) KDE Plasma Version: 5.18.3 KDE Frameworks Version: 5.67.0 Qt Version: 5.12.4 ADDITIONAL INFORMATION The game zandronum is no longer being developed so the fix cannot be applied there. However, I think no gui program should be able to conflict the windowing system in this manner, which is why I post this bug here.
I have changed to title to make it a more general issue; any program which uses xrandr can change the monitor settings. Proposed solution: - a layout dropdown in the monitor settings which allows to you store multiple layouts and select/use a single layout
An application that changes the resolution but does not restore it is broken. This issue is supposed to be impossible with Wayland. Still, kscreen should restore configuration whenever possible, at least when starting its kcm.
*** This bug has been marked as a duplicate of bug 345291 ***