Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933435 - kde-plasma/plasma-workspace-5.27.11.1: ksmserver fails to save and later restore a session
Summary: kde-plasma/plasma-workspace-5.27.11.1: ksmserver fails to save and later rest...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks: 933647
  Show dependency tree
 
Reported: 2024-06-02 21:29 UTC by i.Dark_Templar
Modified: 2024-06-07 07:36 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description i.Dark_Templar 2024-06-02 21:29:18 UTC
After updating to plasma-workspace-5.27.11.1, plasma/x11 stopped saving applications on session logout and restoring them on next session

Reproducible: Always

Steps to Reproduce:
1. run plasma5/x11
2. Set session to 'restore last session' in kcm
3. Open a couple of KDE applications such as kate, konsole, dolphin
4. Logout out of session
5. Login into new plasma5/x11 session
Actual Results:  
No applications restored on login

Expected Results:  
All non-excluded applications are restored

I've noticed that only conky is getting saved and restored, all other applications I've tried didn't do so.

In addition to that, /run/user/*/iceauth_* file that was created by ksmserver was always empty. I assume it shouldn't be empty for iceauth to properly work.
Comment 1 i.Dark_Templar 2024-06-04 17:40:19 UTC
Looks like fix is committed upstream:

https://invent.kde.org/plasma/plasma-workspace/-/commit/1181acfe30557d6646511df8d98d82589878a570
Comment 2 Matthias Schwarzott gentoo-dev 2024-06-05 05:43:33 UTC
(In reply to i.Dark_Templar from comment #1)
> Looks like fix is committed upstream:
> 
> https://invent.kde.org/plasma/plasma-workspace/-/commit/
> 1181acfe30557d6646511df8d98d82589878a570

I can confirm that downloading the patch and storing it in
/etc/portage/patches/kde-plasma/plasma-workspace-5.27.11.1/1181acfe30557d6646511df8d98d82589878a570.patch
fixes the bug for me.
Comment 3 Larry the Git Cow gentoo-dev 2024-06-05 18:57:39 UTC
The bug has been referenced in the following commit(s):

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

commit c1c8413a508c5484dd0d65f8f84862251576da6a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-06-05 18:50:45 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-06-05 18:57:08 +0000

    kde-plasma/plasma-workspace: Fix writing ICEAuthority file
    
    KDE-bug: https://bugs.kde.org/487912
    
    Bug: https://bugs.gentoo.org/933435
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 ...e-5.27.11.1-fix-writing-iceauthority-file.patch |  66 ++++++
 .../plasma-workspace-5.27.11.1-r1.ebuild           | 234 +++++++++++++++++++++
 2 files changed, 300 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e76bb1039845c9ce1291f30422c44a8d9f6446c

commit 4e76bb1039845c9ce1291f30422c44a8d9f6446c
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-06-05 18:47:32 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-06-05 18:57:07 +0000

    kde-plasma/plasma-workspace: Bump to fix writing ICEAuthority file
    
    KDE-bug: https://bugs.kde.org/487912
    
    Bug: https://bugs.gentoo.org/933435
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/plasma-workspace/Manifest               |   1 +
 .../plasma-workspace-6.0.90-r2.ebuild              | 232 +++++++++++++++++++++
 2 files changed, 233 insertions(+)
Comment 4 Andreas Sturmlechner gentoo-dev 2024-06-05 19:00:56 UTC
Thanks, please test 5.27.11.1-r1.
Comment 5 i.Dark_Templar 2024-06-07 07:36:59 UTC
(In reply to Andreas Sturmlechner from comment #4)
> Thanks, please test 5.27.11.1-r1.

This issue doesn't reproduce for me.