Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938925 - Plasma 6.1.4 on X: on logout, plasma-shutdown hangs with black screen
Summary: Plasma 6.1.4 on X: on logout, plasma-shutdown hangs with black screen
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard: workaround: disable session restore
Keywords: UPSTREAM
: 939723 (view as bug list)
Depends on:
Blocks: plasma-6.1.5-stable
  Show dependency tree
 
Reported: 2024-09-02 09:45 UTC by Steve Evans
Modified: 2024-09-20 19:46 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output from emerge --info (emerge-info.txt,6.94 KB, text/plain)
2024-09-04 09:13 UTC, Steve Evans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Evans 2024-09-02 09:45:45 UTC
In plasma 6.1.4 on X when I select logout and confirm it on the logging out screen all programs exit leaving a black screen, but nothing happens after that. The program plasma-shutdown is still running after 15 minutes, at which point I killed all the running plasma* and kde* programs to kill plasma and allow me to log in again. I also tried a full reboot, but the it still would not log out.

Reproducible: Always

Steps to Reproduce:
1.Select Log Out
2.Select Log Out Now on the confirmation screen
3.
Actual Results:  
Fails to logout

Expected Results:  
Should logout
Comment 1 Andreas Sturmlechner gentoo-dev 2024-09-02 18:51:23 UTC
First of all, please always paste your emerge --info.

Second, if you can, please test reverting a certain commit to fixing session restore on X11, as described in the linked comment.

The commit to revert:
https://invent.kde.org/plasma/plasma-workspace/-/commit/0857d18dfc3fc870a7f768731fdf46dc3abc5f8f
Comment 2 Steve Evans 2024-09-04 09:13:38 UTC
Created attachment 902040 [details]
Output from emerge --info
Comment 3 Steve Evans 2024-09-04 16:43:14 UTC
Reverting the commit fixed the problem, thanks.
Comment 4 Andreas Sturmlechner gentoo-dev 2024-09-05 14:47:08 UTC
Could you try the upstream MR against unpatched 6.1.4?

https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4684
Comment 5 Steve Evans 2024-09-06 12:27:01 UTC
Sorry https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4684 did not solve the problem.
Comment 6 Andreas Sturmlechner gentoo-dev 2024-09-09 07:54:26 UTC
Can you confirm the same problem on a newly created test user account?
Comment 7 Steve Evans 2024-09-09 10:54:52 UTC
The problem does not happen with a new account
Comment 8 Steve Evans 2024-09-10 09:50:16 UTC
I changed the Session Restore setting in the new account to "When session was manually saved" to match my settings. I then saved the session with an instance of konsole running. The new account will no longer log out.
Comment 9 Andreas Sturmlechner gentoo-dev 2024-09-16 05:04:15 UTC
*** Bug 939723 has been marked as a duplicate of this bug. ***
Comment 10 Andreas Sturmlechner gentoo-dev 2024-09-19 07:04:04 UTC
*** Bug 939723 has been marked as a duplicate of this bug. ***
Comment 11 Larry the Git Cow gentoo-dev 2024-09-20 17:11:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f286d339c6912c9af2b648bba9bb512d370842b

commit 0f286d339c6912c9af2b648bba9bb512d370842b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-09-20 16:52:12 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-09-20 17:11:37 +0000

    kde-plasma/plasma-workspace: Fix X11 logout w/ Session Restore enabled
    
    KDE-bug: https://bugs.kde.org/show_bug.cgi?id=488853
    
    Closes: https://bugs.gentoo.org/938925
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 ...ce-6.1.5-fix-x11-logout-w-session-restore.patch |  45 ++++
 .../plasma-workspace-6.1.5-r2.ebuild               | 232 +++++++++++++++++++++
 2 files changed, 277 insertions(+)