Bug 413778

Summary: Hibernate/Supsend icons are grayed out
Product: [Plasma] plasmashell Reporter: Sandro Knauß <sknauss>
Component: Lock/logout widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.20.4   
Target Milestone: 1.0   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Lock/Logout settings.
Application Launcher - Leave options

Description Sandro Knauß 2019-11-03 17:28:43 UTC
Created attachment 123700 [details]
Lock/Logout settings.

Most of the times, the Hibernate and Suspend buttons in the Lock/Logout settings.

I can Hibernate suspend via my Hardware keys and also via the Menu and it works. What additional information do you need to track down the issue?

Maybe related: #413313.
Comment 1 Sandro Knauß 2019-11-03 17:30:51 UTC
Created attachment 123701 [details]
Application Launcher - Leave options
Comment 2 Nate Graham 2020-01-13 03:57:59 UTC
Hmm, that's odd. Works for me in Tumbleweed with Plasma 5.17 FWIW. If you can, could you test with a more recent version than what Debian ships? 5.14.5 is no longer supported.
Comment 3 Sandro Knauß 2020-01-24 21:45:57 UTC
I can reproduce the same behaviour under 5.17.5 (from Debian experimental).

A workaround I found in meantime, if I restart the plasmashell (plasmashell --replace). I can access the Suspend/Hibernate from the applet, like expected. Any ideas how to debug?
Comment 4 Sandro Knauß 2020-12-19 00:33:27 UTC
I can still reproduce the behavior with Plasma 5.20.4. 

plasmashell --replace sill works as workaround, my guess is some kind of race condition.
Comment 5 Nate Graham 2020-12-19 15:27:16 UTC
This might have just gotten fixed with the fix for Bug 402081 in Plasma 5.21. Any chance you can test with git master?
Comment 6 Sandro Knauß 2020-12-19 18:19:48 UTC
(In reply to Nate Graham from comment #5)
> This might have just gotten fixed with the fix for Bug 402081 in Plasma
> 5.21. Any chance you can test with git master?

No i won't switch to git master, but I can back port some commits if you can tell me those.
Comment 8 Sandro Knauß 2020-12-20 14:48:24 UTC
(In reply to Nate Graham from comment #7)
> Sure, try this one:
> https://invent.kde.org/plasma/plasma-workspace/commit/
> 2210d9489dc5d02dbe6145d8bc64e57af4f15a51

I have backported it but still see the same issue. Now with more options as those got added by the patch ;)
Comment 9 Sandro Knauß 2021-10-17 20:18:26 UTC
It works for me with 5.23.0. I'm quite sure that it was also fixed within 5.21.X, as I recognized the correct icons for a while now and the last version on Debian unstable was 5.21.5 before it switched to 5.23.0.