Bug 441406

Summary: Power / Session / Shutdown actions missing from Kickoff / Kicker when used outside of a regular Plasma panel
Product: [Plasma] plasmashell Reporter: Louis <b4mb1>
Component: Application Launcher (Kickoff) widgetAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: mikel5764, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.22.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.23
Sentry Crash Report:

Description Louis 2021-08-23 03:12:02 UTC
SUMMARY
The primary Power / Session actions (not the 'Leave...' dropdown on the right) are missing from Kickoff and Kicker when they are used outside of a regular Plasma Panel (e.g. when used in Latte or as a widget on the desktop).

Seemingly this only happens for one of those widgets. If you have multiple of those widgets, then all but one work absolutely fine.

Also the widgets work as expected after initially adding them. The issue only appears after logging out and back in again (and also after restarting latte-dock).

Playing with the 'Primary actions' setting of Kickoff / Kicker can fix this issue until the next login.

STEPS TO REPRODUCE
1. Add Kickoff widget to desktop or latte-dock
2. Power / Session actions are present
3. Log out and back in

OBSERVED RESULT
Power / Session actions are NOT present

EXPECTED RESULT
Power / Session actions are present

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 34 KDE Spin
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I also confirmed this for Manjaro (Plasma 5.22.4).

I found this https://bugs.kde.org/show_bug.cgi?id=427779 similar bug but this was for Plasma 5.20 and seems to be resolved.
Comment 1 Nate Graham 2021-08-23 19:06:29 UTC
Cannot reproduce with current git master following the code rewrite. Let's call it fixed, and any of you folks who are experiencing it can check again in Plasma 5.23 once it's released, and re-open if it still happens.