Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
plasma-workspace: add systementry sessionmanagement patch #99582
Motivation for this change
Systemd v246 hides the interface used by KDE to fetch the user session
Because of this API breakage, the "Switch User" item was absent from
See the #98141 issue for the
The missing items are appearing again and are fully functional.
How to Test?
I used this trick #98141 (comment).
Don't forget to point to your local nixpkgs checkout:
mid=$(nixops create nixops-kde-test.nix) nixops modify -d $mid -I nixpkgs=/path/to/your/checkout nixops-kde-test.nix nixops deploy -d $mid
Note for @ttuegel: I'll let you handle the backport (if you're ok with this PR ofc :)).
Systemd v246 hides the interface used by KDE to fetch the user session details. We're applying this commit from 5.19.90 upgrading the systementry applet to use the new sessionmanagement API. Because of this API breakage, the "Switch User" item was absent from the KDE application laucher. See the #98141 issue for the full story.
I did not check the lock screen, I only verified the item was appearing in the login screen and application launcher.
I destroyed the VM and garbage collected the store. I think I'll call it a day for now.
I'll check this tomorrow night CEST (if you cannot do it by then).
seems like no regressions from a program standpoint. Haven't tested
Indeed, I can also reproduce the problem on the lockscreen. I don't see any fix upstream be it in code or as a related bugtracker ticket.
I need help here, there's a hole in my understanding of kde-workspace.
As far I understand, the item visibility is defined at https://invent.kde.org/plasma/plasma-workspace/-/blob/master/lookandfeel/contents/lockscreen/LockScreenUi.qml#L277
However, this action item is clearly not visible. Meaning either
Any idea what could happen here @ttuegel? Are you in contact with some upstream dev. They might be able to help here.
I'd be interested to see if your systemd patch fixes this issue. If it is, I guess we should investigate the