Bug 467587 - Support drag-and-drop of folders into Favorites view
Summary: Support drag-and-drop of folders into Favorites view
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (show other bugs)
Version: 5.27.2
Platform: Other Other
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2023-03-19 23:42 UTC by Alex
Modified: 2025-01-24 16:45 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2023-03-19 23:42:32 UTC
SUMMARY
Probably I am not finding the way, but it seems that adding a location to the favorites in the kickoff menu is really hard. Drag & Drop does not work and the only option I found is to first add a folder to locations in dolphin and then find the location in kickoff and select add to favorites.

I would have expected that either Drag & Drop would work, there were a context menu in kickoff with the right option or the context menu on a folder in dolphin should offer add to favorites. It does offer a "add to activity" option, which does not add it to the favorites in the menu.

If there is an easier option, it is hard to find and the UX could be improved by adding more obvious ways. I think supporting Drag & Drop would be a good thing.


SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Graphics Platform: X11
Comment 1 Bug Janitor Service 2025-01-24 06:12:39 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2744
Comment 2 Nate Graham 2025-01-24 16:41:26 UTC
Git commit c54dd3e28b244d1f8aa396036b400947b8674c4c by Nate Graham, on behalf of Noah Davis.
Committed on 24/01/2025 at 16:41.
Pushed by ngraham into branch 'master'.

kickoff: fix external drag and drop, avoid conflicts with plasmoid dragging

Dragging a file or folder into kickoff's favorites view now adds the file/folder
to favorites. Kickoff now only takes drag events with the text/uri-list mimetype.
It should be noted that dragging task manager icons into kickoff will not work
because the task manager doesn't use text/uri-list.
Related: bug 454863
FIXED-IN: 6.3.0

M  +27   -10   applets/kickoff/package/contents/ui/KickoffDropArea.qml
M  +6    -1    applets/kickoff/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/c54dd3e28b244d1f8aa396036b400947b8674c4c
Comment 3 Noah Davis 2025-01-24 16:45:10 UTC
Git commit 38e34e9f9a41f554eb1bddfcd77a4aacb701b984 by Noah Davis.
Committed on 24/01/2025 at 16:44.
Pushed by ndavis into branch 'Plasma/6.3'.

kickoff: fix external drag and drop, avoid conflicts with plasmoid dragging

Dragging a file or folder into kickoff's favorites view now adds the file/folder
to favorites. Kickoff now only takes drag events with the text/uri-list mimetype.
It should be noted that dragging task manager icons into kickoff will not work
because the task manager doesn't use text/uri-list.
Related: bug 454863
FIXED-IN: 6.3.0


(cherry picked from commit c54dd3e28b244d1f8aa396036b400947b8674c4c)

a9f16812 kickoff: fix external drag and drop, avoid conflicts with plasmoid dragging

Co-authored-by: Noah Davis <noahadvs@gmail.com>

M  +27   -10   applets/kickoff/package/contents/ui/KickoffDropArea.qml
M  +6    -1    applets/kickoff/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/38e34e9f9a41f554eb1bddfcd77a4aacb701b984