https://bugs.kde.org/show_bug.cgi?id=503376

            Bug ID: 503376
           Summary: Changing monitor outputs messes with internal displays
    Classification: Plasma
           Product: kwin
           Version: 6.3.4
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: multi-screen
          Assignee: kwin-bugs-n...@kde.org
          Reporter: antti.s...@gmail.com
  Target Milestone: ---

Created attachment 180676
  --> https://bugs.kde.org/attachment.cgi?id=180676&action=edit
Display configurations

SUMMARY
Demonstrative video: https://youtu.be/-bNDuuOsuYc
I have a setup where some monitors are shared between my PC and laptop. One of
the monitors mirrors the TV as is seen in the attached screenshot. In the video
I have the rightmost monitor tuned to the laptop input and the game playing on
the PC on the TV. When I change the input in the monitor's internal settings
from laptop to PC, the game visuals get cut off like that. I then try to use
Alt+Enter to resize the window and it freezes. 
Similar issues can be had when the laptop goes to sleep.
The issue arises from me working on something on my laptop while my partner is
playing games on the TV. If I want to tune in to the her playing, I have to
wait that she's in a safe area and I can not allow the laptop to sleep at any
moment.

I'm assuming it's caused by the monitor turning off all of its inputs
momentarily. If so, it could probably be fixed by kwin waiting one second
before changing its internal display configuration when a monitor connection is
dropped. For connecting a monitor such delay is probably not needed.

STEPS TO REPRODUCE
1. Share monitors between two machines
2. Have one of those monitors be a bit flaky about keeping up its connections
3. Have a game playing on one machine that is very sensitive to resolution
changes
4. Change monitor input on the flaky monitor.

OBSERVED RESULT
Internal display state is altered

EXPECTED RESULT
Kwin should guard itself against momentarily dropped connections

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to