Bug 366715 - quick launch plasmoid doesn't support drag and drop to add new launchers
Summary: quick launch plasmoid doesn't support drag and drop to add new launchers
Status: REPORTED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: Quicklaunch (show other bugs)
Version: 5.7.2
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-12 22:46 UTC by Alex L
Modified: 2017-07-09 15:29 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex L 2016-08-12 22:46:05 UTC
To add new launchers to quick launch plasmoid you have to right click > add new launcher and select it from the list of installed applications.
It would be really better to be able to select (multiple) launchers / .desktop files, drag and drop them into the quick launch plasmoid like for the task manager plasmoid.

Reproducible: Always

Steps to Reproduce:
1. add quick launch plasmoid
2. try to drag and drop a .desktop launcher into it

Actual Results:  
dragging the .desktop file(s) into the quick launch plasmoid doesn't add it (them)

Expected Results:  
when I drag and drop launcher(s) / .desktop file(s) into quick launch plasmoid it(them) should be added to the quick launch plasmoid
Comment 1 David Rosca 2017-01-31 20:45:56 UTC
It does support adding launchers with drag & drop, but only when you have unlocked widgets.
Comment 2 Kai Uwe Broulik 2017-07-08 13:57:06 UTC
I think it should allow even when widgets are unlocked to be consistent with task manager. Do check plasmoid.immutability, when is SystemImmutable (widgets locked by system administrator) it should disallow manipulating the items.
Comment 3 David Rosca 2017-07-08 14:07:03 UTC
It is like this because I plan to add "drag files to open with the launcher" feature as in normal Icon applet, and with this it will not be possible to have drag&drop to add new launchers.
Comment 4 Alex L 2017-07-09 15:22:28 UTC
> It is like this because I plan to add "drag files to open with the launcher" feature as in normal Icon applet, and with this it will not be possible to have drag&drop to add new launchers.

Maybe if it's a *.desktop file it will be added as icon and else it will be open with the app it is drop on?
Comment 5 Kai Uwe Broulik 2017-07-09 15:26:56 UTC
> Maybe if it's a *.desktop file it will be added as icon and else it will be open with the app it is drop on?

That's exactly how I implemented it in Task Manager. Imho opening a .desktop file in an application is typically not what the user wants. [1]

[1] https://cgit.kde.org/plasma-desktop.git/commit/?id=56a21fe0ec121059fb8d59b6ad68be8a9022ec44
Comment 6 David Rosca 2017-07-09 15:29:44 UTC
Theoretically you can make launchers from more filetypes than just desktop files, but yeah this could work.