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

            Bug ID: 453668
           Summary: Windows moved and window sizes are squashed when
                    unplug-replugging screen
           Product: kwin
           Version: 5.24.4
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: multi-screen
          Assignee: kwin-bugs-n...@kde.org
          Reporter: andr...@hanssen.name
  Target Milestone: ---

When turning screens on and off in a multiscreen setup, it's important that
windows that don't have to move, don't move, and windows whose size doesn't
need to change, doesn't change. Currently what happens is consistently wrong
but entirely random.

I'm on a dual screen setup, screens left and right. Left primary screen is a
21:9 3440x1440, right screen is 16:9 3840x2160.

When the right screen is turned off and then back on again, random things
happen. The most common are:

a) that all windows move to the right hand screen, i.e. the secondary, and that
the left hand screen is black and flickery, looking like the wallpaper vanished
and was replaced with <void>.

b) the all windows move to the left hand screen, but their heights are all
reduced to around 30%.

STEPS TO REPRODUCE
1. Dual screen setup, my particular setup is 21:9 3440x1440 primary and 16:9
3840x2160 not primary
2. Turn the right screen off.
3. Turn the right screen on.

OBSERVED RESULT

Sometimes: After step 2, all windows on the primary screen are reduced in
height to around 30% and they are all moved to the bottom of the screen. I use
a virtual desktop setup, and all windows on all virtual desktops are like this.
The wallpaper on the primary screen is gone.

Other times: After step 3, all windows are moved to the secondary screen and
the primary screen is left empty.

EXPECTED RESULT

I expect everything on screen 1 to stay unchanged when screen 2 is turned off.
I expect windows on screen 2 to move to screen 1.

If I turn screen 2 back on, I am fine with nothing happening to windows on
screen 1. Ideally, the windows that were pushed into screen 1 automatically go
back.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.04
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

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

Reply via email to