Bug 413778 - Hibernate/Supsend icons are grayed out
Summary: Hibernate/Supsend icons are grayed out
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Lock/logout widget (show other bugs)
Version: 5.20.4
Platform: Debian unstable Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-03 17:28 UTC by Sandro Knauß
Modified: 2021-10-17 20:18 UTC (History)
1 user (show)

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


Attachments
Lock/Logout settings. (20.24 KB, image/png)
2019-11-03 17:28 UTC, Sandro Knauß
Details
Application Launcher - Leave options (30.74 KB, image/png)
2019-11-03 17:30 UTC, Sandro Knauß
Details

Note You need to log in before you can comment on or make changes to this bug.
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.