Bug 512244 - Logout screen just close all programs and does nothing when countdown is over
Summary: Logout screen just close all programs and does nothing when countdown is over
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Session Management (other bugs)
Version First Reported In: 6.5.2
Platform: EndeavourOS Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-17 15:54 UTC by maxlefou
Modified: 2025-11-25 23:31 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description maxlefou 2025-11-17 15:54:34 UTC
SUMMARY
When doing the typical plasma command to shutdown or reboot the OS, if the countdown goes to 0, the command just close all programs but keeps the desktop open, not engaging the OS shutdown/reboot process. 

Though, clicking the button to shutdown/reboot now instead of waiting the countdown works exactly as expected, closing everything and engaging the OS reboot/shutdown process.

STEPS TO REPRODUCE
1. Launch org.kde.LogoutPrompt using any kind of source (Widget, command, etc) and ask either a shutdown or reboot
2. Wait for the countdown and not click "shutdown/reboot now"

OBSERVED RESULT
The logout prompt closes, then all open programs are closed and that's all. The desktop is still there and functional.

EXPECTED RESULT
The logout prompt should close, then all open programs should close and then, the desktop closes and the shutdown/reboot process should start.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION
Note that this behaves like that for months. I waited some time to see if it was going to be fixed but it still isn't today. Sorry if it has been posted before but I have doubts it has been. I have not verified if it behaves like that with just logging out. I have two screens, maybe it's related?
Comment 1 David Edmundson 2025-11-18 19:47:11 UTC
Please include output of journalctl --user -r after performing this and scrollback to where logout started
Comment 2 maxlefou 2025-11-18 23:10:37 UTC
(In reply to David Edmundson from comment #1)
> Please include output of journalctl --user -r after performing this and
> scrollback to where logout started

After trying, this is what I got:

```
23:04:43.050 UTC user@1000.service QCoreApplication::postEvent: Unexpected null receiver
23:04:43.469 UTC user@1000.service KWin failed to complete logout
23:04:44.164 UTC user@1000.service QThreadStorage: entry 8 destroyed before end of thread 0x385c0065ff60
23:04:44.165 UTC user@1000.service QThreadStorage: entry 7 destroyed before end of thread 0x385c0065ff60
23:04:44.165 UTC user@1000.service QThreadStorage: entry 2 destroyed before end of thread 0x385c0065ff60
23:04:44.165 UTC user@1000.service QThreadStorage: entry 1 destroyed before end of thread 0x385c0065ff60
23:04:44.190 UTC user@1000.service app-com.vivaldi.Vivaldi-1462.scope: Consumed 18min 9.319s CPU time, 1.4G memory peak, 18.6M memory swap peak.
23:04:44.194 UTC user@1000.service app-vivaldi\x2dstable@autostart.service: Consumed 2h 22min 52.164s CPU time, 2.4G memory peak, 61.7M memory swap peak.
23:04:45.677 UTC user@1000.service app-steam@autostart.service: Consumed 10h 41min 37.506s CPU time, 17.4G memory peak, 1.1G memory swap peak.
```

I see that it says Kwin fails to complete logout but it doesn't say much why. I don't get why it happens with the countdown and not when I click to shutdown now.