Bug 511448

Summary: Unable to add power / session options to favourites panel in Kicker through context menu
Product: [Plasma] plasmashell Reporter: 8ball <nomen.luni>
Component: Application Menu (Kicker) widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: cwo.kde, nate
Priority: NOR Keywords: regression
Version First Reported In: 6.5.1   
Target Milestone: 1.0   
Platform: AerynOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.5.3
Sentry Crash Report:

Description 8ball 2025-10-31 23:52:19 UTC
SUMMARY
The ability to add a shutdown / logout option to the lower half of the favourites panel is no longer available. Options can be removed but not added.

STEPS TO REPRODUCE
1. In kicker, open "power/session" menu
2. Click on "sleep" and drag to lower half favourites panel on left, then release mouse.
3. Open "power/session" menu
4. Right click on "sleep"

OBSERVED RESULT
It's possible to drag the sleep option to the favourites panel but it is not added there on releasing mouse. Right-clicking sleep option does not allow any option to add to favourites.

EXPECTED RESULT
It should be possible to add the sleep option (or any other) to the favourites panel.

SOFTWARE/OS VERSIONS
(Note - also had confirmation from someone using Neon so does not appear distro specific)
Operating System: AerynOS 2025.08
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.3
Kernel Version: 6.16.12-113.desktop (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
I am not sure if this bug appeared in the previous 6.5.0 version.
Comment 1 cwo 2025-11-09 15:22:10 UTC
Drag & drop to the favorites sidebar is not supported for applications either. This is already requested in bug 383302, and would be a very nice feature to have, but it's a bit tricky to implement.

Right-click should work, and I can confirm that it does not in 6.5. I'll look into it.
Comment 2 8ball 2025-11-09 15:25:49 UTC
Thanks very much. I think as long as there's one way to do it the 
majority of us will be happy.

On 09/11/2025 15:22, cwo wrote:
> Right-click should work, and I can confirm that it does not in 6.5. I'll look
> into it.
Comment 3 Bug Janitor Service 2025-11-09 21:27:15 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3282
Comment 4 cwo 2025-11-12 12:26:31 UTC
Git commit f33580c54cbca0d1d962da9d72bd363873c47c82 by Christoph Wolk.
Committed on 12/11/2025 at 11:15.
Pushed by cwo into branch 'master'.

applets/kicker: allow context menus with only favoriteId

Amends d5648c19293b617d6c6fa72ce724265bb1eae2cb

Some menu entries in kicker have no actionList, but do have a favoriteId
and can be added or removed from the list of favorites. In particular,
this applies to system actions. This case was not properly handled in
the above commit, so it was not possible to add system actions to the
favorites sidebar.

Instead, we allow showing the context menu even if the actionList is
empty, as long as a favoriteId is present.
FIXED-IN: 6.5.3

M  +2    -2    applets/kicker/ItemListDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/f33580c54cbca0d1d962da9d72bd363873c47c82
Comment 5 cwo 2025-11-12 15:46:55 UTC
Git commit 7f02a953247e83e0f2f88c7db094e82346195db5 by Christoph Wolk.
Committed on 12/11/2025 at 12:26.
Pushed by cwo into branch 'Plasma/6.5'.

applets/kicker: allow context menus with only favoriteId

Amends d5648c19293b617d6c6fa72ce724265bb1eae2cb

Some menu entries in kicker have no actionList, but do have a favoriteId
and can be added or removed from the list of favorites. In particular,
this applies to system actions. This case was not properly handled in
the above commit, so it was not possible to add system actions to the
favorites sidebar.

Instead, we allow showing the context menu even if the actionList is
empty, as long as a favoriteId is present.
FIXED-IN: 6.5.3


(cherry picked from commit f33580c54cbca0d1d962da9d72bd363873c47c82)

Co-authored-by: Christoph Wolk <cwo.kde@posteo.net>

M  +2    -2    applets/kicker/ItemListDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/7f02a953247e83e0f2f88c7db094e82346195db5