Bug 481879

Summary: On X11, system with lid closed suspends after turning off external monitor
Product: [Plasma] plasmashell Reporter: Robert <rs>
Component: Power management & brightnessAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: natalie_clarius, nate
Priority: NOR Keywords: multiscreen, X11-only
Version First Reported In: 6.2.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=481747
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: journal with systemd-logind lidswitch settings set to ignore

Description Robert 2024-02-27 03:21:46 UTC
Created attachment 166121 [details]
journal with systemd-logind lidswitch settings set to ignore

SUMMARY
I'm running fedora 38 kde spin (5.27.10-1.fc38.x86_64). My laptop has an external hdmi monitor mirroring laptop panel, and is configured NOT to sleep when the lid is closed and a external monitor is connected. That works. The other day I also configured it to turn of the display after 15 minutes.  This works, but then the system suspends, apparently having forgotten that the external monitor is connected. This is all with AC power, set to never sleep automatically.

STEPS TO REPRODUCE
1. connect external monitor
2. configure to not sleep when lid closed with monitor connected
3. close lid
4. configure to turn of screen after 1 minute and apply changes
5. wait one minute

OBSERVED RESULT
screen is turned off, then laptop sleeps

EXPECTED RESULT
screen is turned off, but laptop does not sleep

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KWin version: 5.27.10
Qt Version: 5.15.11
Qt compile version: 5.15.11
XCB compile version: 1.13.1
Operation Mode: X11 only

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-02-27 19:50:35 UTC
Potentially related to Bug 481747.
Comment 2 Nate Graham 2025-06-17 18:27:37 UTC
So this doesn't happen on Wayland, right?

Is it still happening with Plasma 6.3.5 or later?
Comment 3 Bug Janitor Service 2025-07-02 03:47:25 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-07-17 03:47:34 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.