Bug 481747 - Logging out suspends computer when plugged into external monitor with laptop lid closed
Summary: Logging out suspends computer when plugged into external monitor with laptop ...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Session Management (show other bugs)
Version: 5.93.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: multiscreen, qt6
Depends on:
Blocks:
 
Reported: 2024-02-24 05:08 UTC by Doug
Modified: 2024-10-18 03:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Power management settings (152.91 KB, image/png)
2024-09-18 22:46 UTC, TraceyC
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Doug 2024-02-24 05:08:44 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Connect a laptop to an external monitor and close lid
2. logout from current session

OBSERVED RESULT
computer goes to sleep and has to be reawakened

EXPECTED RESULT
computer goes to login screen

SOFTWARE/OS VERSIONS

Operating System: KDE neon Testing Edition
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: Wayland
Graphics Processor: AMD Radeon Pro WX 3200 Series

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-02-27 17:38:29 UTC
I can't reproduce the issue on current git master with those steps. The system logs out as expected. However I did see one issue: the external screen loses its signal, so the system does indeed look like it's just gone to sleep. If I open the laptop lid, I see the login screen there, confirming that it logged out as requested.

Can you reproduce that, or are we seeing different results?
Comment 2 Doug 2024-02-28 05:53:51 UTC
(In reply to Nate Graham from comment #1)
> I can't reproduce the issue on current git master with those steps. The
> system logs out as expected. However I did see one issue: the external
> screen loses its signal, so the system does indeed look like it's just gone
> to sleep. If I open the laptop lid, I see the login screen there, confirming
> that it logged out as requested.
> 
> Can you reproduce that, or are we seeing different results?

We're seeing different results.  When I close the lid and log out, then open the lid, the screen does not come back on.  The system is suspended, and has to take a minute to wake back up before the login screen comes up.  When I log out with the screen open, it goes directly to the login screen and can log right back in.
Comment 3 TraceyC 2024-09-18 22:46:01 UTC
I'm also unable to reproduce the problem on git-master. Just to make sure we have the same settings, that are related, can you share a screenshot of System Settings - Power Management - On AC Power? (I assume the laptop is connected to AC power)

I've attached a screenshot of my settings
In particular, When laptop lid closed: Sleep
"Even when an external monitor is connected" is unchecked
Comment 4 TraceyC 2024-09-18 22:46:49 UTC
Created attachment 173844 [details]
Power management settings
Comment 5 Bug Janitor Service 2024-10-03 03:47:17 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 6 Bug Janitor Service 2024-10-18 03:47:59 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.