SUMMARY *** When using an external monitor with a laptop, closing the laptop moves the windows on the external monitor up past the top of the visible screen. This hides half the content, and the title bars, so moving the windows back to their expected position is difficult. (it requires using the context menu in the panel) *** STEPS TO REPRODUCE 1. Connect external monitor to laptop and configure layout 2. Use the machine for any length of time with the laptop open 3. Close the laptop OBSERVED RESULT The windows on the external monitor are moved up past the top of the screen, hiding half their content and title bars. EXPECTED RESULT The windows do not move. SOFTWARE/OS VERSIONS Operating System: KDE neon 6.0 KDE Plasma Version: 6.0.0 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.5.0-21-generic (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz Memory: 46.7 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics Manufacturer: LENOVO Product Name: 20RYS0M100 System Version: ThinkPad T490 ADDITIONAL INFORMATION This issue persists after reboots. It happens whether the laptop is on battery or power. It did not happen in the last Plasma 5.x version.
Does it happen on Wayland too, or just X11?
(In reply to Nate Graham from comment #1) > Does it happen on Wayland too, or just X11? Just Wayland.
Interesting, cannot reproduce when I use the same setup. Can you attach a screenshot of the Display & Monitor page in System Settings that shows your screen layout? Maybe that's a factor, and it only affects certain layouts.
Created attachment 166764 [details] Laptop screen open, looking good Laptop is the bottom screen.
Created attachment 166765 [details] Laptop screen closed, window moves
Created attachment 166766 [details] Display properties in X11, correct
Created attachment 166767 [details] Display properties in Wayland, primary screen is wrong
(In reply to Nate Graham from comment #3) > Interesting, cannot reproduce when I use the same setup. > > Can you attach a screenshot of the Display & Monitor page in System Settings > that shows your screen layout? Maybe that's a factor, and it only affects > certain layouts. I've uploaded screenshots of the two screens with Dolphin open on the external monitor, first with the laptop screen open, next with it closed. In the closed scenario, Dolphin has moved significantly. Of note: * Before 6.0.0 I only used X * In X the laptop screen is set as primary * In the Wayland session, for some reason the external monitor set itself as primary (this explains another bug I filed where the panels are on the wrong screen https://bugs.kde.org/show_bug.cgi?id=482618 but I did not set the external screen as primary, a fresh unused Wayland session after the 6.0.0 update did that) * The mouse pointer moves across screens as expected (so the physical layout of the screens and the logical layout in the settings are in agreement and correct) * When I put the Dolphin window on the laptop screen, and close the laptop screen, Dolphin moves up to the external monitor (good) but pushed way up and cut off (not good). Another window that was open on the external monitor also moves (not good).
Created attachment 166768 [details] Two screens, Dolphin on laptop screen
Created attachment 166769 [details] Closing laptop screen moves dolphin too far up and moves other window
Thanks. I'll try to reproduce this tomorrow.
*** Bug 482895 has been marked as a duplicate of this bug. ***
Hello, I believe this may be fixed as of Kwin 6.0.5. I also encountered the same issue, but with multi-monitor causing windows to offset after a dpms monitor poweroff, sounds to be similar conditions to a laptop lid activity with external monitor. I can't identify a particular commit in the changelogs to confirm, but the offset behavior stopped for me around 6.0.5.
Anon, can you confirm that? Also at this point maybe test 6.1, not 6.0.5.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!