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

            Bug ID: 453273
           Summary: KScreen 2 behavior when I close my laptop lid should
                    be configurable in the control center
           Product: KScreen
           Version: 5.24.4
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: common
          Assignee: kscreen-bugs-n...@kde.org
          Reporter: kde_bugrepor...@snkmail.com
  Target Milestone: ---

SUMMARY
***
When I add a second display and configure power settings to do nothing,
KScreen2 moves all windows to the second monitor and crashes both desktops when
I close my laptop lid.
***
After adding an external monitor as a second display in Display Manager,
setting the laptop lid action under Power Management settings to "Do nothing"
and checking "Even when external monitor is connected"

STEPS TO REPRODUCE
1. Install Kubuntu on a laptop
2. Acquire and connect an external monitor
3. Go to Control Center -> Power Management, ensure "Button  events handling"
is checked, and select  "Do nothing" for "When laptop lid closed", and
optionally click "Even when an external monitor is connected"
4. Edit /etc/systemd/logind.conf, and set HandleLidSwitch=ignore
5. Restart.
6. Login and open some windows.
7. Close your laptop lid.

OBSERVED RESULT
The external screen blacks out and restarts, and all windows jump over to the
external screen. When I open my laptop, the windows don't jump back; I have to
either kill them and restart them (conky) or drag them back. Additionally
plasma desktop seems to crash and restart on both screens.

EXPECTED RESULT
Nothing at all should happen, since I never defined that I want windows to move
to the external monitor.

I recognize the added value of having windows move to the external monitor -
this would be useful if I was using the monitor instead of my laptop monitor.
However, for my use case, this is not helpful.

This behavior would be explicitly configurable in KDE Control Center, so people
who want windows to jump to the external monitor could do that, and people who
don't could configure it differently. I should not need to disable KScreen2 and
use arandr; that's not something a beginner user would even know how to do.

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

Additional Info:
I'm using Xorg

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

Reply via email to