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

            Bug ID: 468177
           Summary: Window left outside remaining screen area after
                    disconnecting monitor
    Classification: Plasma
           Product: kwin
           Version: 5.27.3
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: multi-screen
          Assignee: kwin-bugs-n...@kde.org
          Reporter: andreas_norda...@hotmail.com
  Target Milestone: ---

SUMMARY
I have a laptop with a FHD screen and a separate 4K monitor. I have set the
laptop screen to turn off when connected to the monitor, so in my case, the
screen area halves in width and height when disconnecting the monitor. So far
so good.

I like to work with Konsole on the left half of the screen and Kate on the
right.
When I disconnect, only Konsole remains visible, and the minimize animation
reveals that Kate is exactly outside the remaining screen area. In this state,
Kate is unreachable: I can't move it into the remaining screen area, because I
can't grab it, because the mouse pointer won't go there. Thankfully, I can
F11-fullscreen it and save my work. But there is no way I can get the window
inside the remaining screen area again other than restarting it.

STEPS TO REPRODUCE
1. Have 2 screens of different width connected in the mode where the small
screen shows the upper left pixels of the big one or is off.
2. Drag a window into the right desktop edge, so it snaps into exactly the
right half of the screen.
3. Disconnect the big screen.

OBSERVED RESULT
The window that I snapped to the right side of the screen is left outside the
remaining screen area.

EXPECTED RESULT
The window that I snapped to the right side of the screen is somewhere on the
right side of the screen.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230331
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.8-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8265U CPU @ 1.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: HP
Product Name: HP EliteBook 840 G6

ADDITIONAL INFORMATION
Reproducibility: 10/10

The phenomenon happens only in width, not height: If I put Konsole in the lower
left quadrant before disconnecting, I still see Konsole in the lower left
quadrant.

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

Reply via email to