Bug 383302 - Drag-and-drop apps to Favorites sidebar
Summary: Drag-and-drop apps to Favorites sidebar
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) widget (other bugs)
Version First Reported In: 5.10.4
Platform: Netrunner Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords: usability
: 400133 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-08-09 07:22 UTC by Alexander Mentyu
Modified: 2026-04-09 21:31 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.7.0
Sentry Crash Report:


Attachments
not-dragging-to-favorites (66.44 KB, image/png)
2017-08-09 07:22 UTC, Alexander Mentyu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Mentyu 2017-08-09 07:22:15 UTC
Created attachment 107175 [details]
not-dragging-to-favorites

Steps to reproduce:
1. Open app menu.
2. Hover over any application and try to drag and drop it to favorites.

Application is not adding to favorites section.

Also 'Power/Session' menu items are not dragging at all.
Comment 1 Alexander Mentyu 2018-09-11 12:02:05 UTC
Also Recent Applications aren't draggable at all, but Recent Documents are.
Comment 2 Patrick Silva 2019-03-25 14:57:03 UTC
Bug persists.

Operating System: Arch Linux 
KDE Plasma Version: 5.15.3
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Comment 3 David Edmundson 2023-01-27 22:12:49 UTC
*** Bug 400133 has been marked as a duplicate of this bug. ***
Comment 4 Bug Janitor Service 2026-03-28 13:07:45 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3633
Comment 5 cwo 2026-04-09 21:31:08 UTC
Git commit 4e4bfeb83fd8e6d5f720701eb6be2de4ff2f451c by Christoph Wolk.
Committed on 09/04/2026 at 19:39.
Pushed by cwo into branch 'master'.

applets/kicker: allow adding favorites through drag&drop

Kickerdash allows the user to drag favorites from the main column to the
favorites column, but regular kicker does not - the user can reorder
favorites through drag&drop, but not add them.

We can port the general implementation from kickerdash to kicker, but
need to tweak the specific mechanism: kicker cannot use the actual
delegate as a drag source in attached Drag, it needs to use dragHelper
with the PlasmoidItem as the source, as the delegate will be destroyed
if the submenu closes, and Plasma will crash. Instead, we add the
favoriteID as a custom mimetype to the drag, the id and type is all that
we need.

Dragging files from outside kicker into the favorites is not supported
at this point, but could in principle be added later, (Kicker does not
open on hover, so it would be difficult to trigger).
FIXED-IN: 6.7.0

M  +11   -1    applets/kicker/ItemListDelegate.qml
M  +2    -0    applets/kicker/MenuRepresentation.qml
M  +44   -3    applets/kicker/SideBarItem.qml
M  +32   -3    applets/kicker/SideBarSection.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/4e4bfeb83fd8e6d5f720701eb6be2de4ff2f451c