Bug 412441

Summary: Allow apps and executables (e.g. AppImages) to be dragged-and-dropped onto the IOTM to pin them
Product: [Plasma] plasmashell Reporter: Szczepan Hołyszewski <rulatir>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Eike Hein <hein>
Status: RESOLVED DOWNSTREAM    
Severity: wishlist CC: nate, null, plasma-bugs-null, qydwhotmail
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Szczepan Hołyszewski 2019-09-29 10:04:19 UTC
SUMMARY

When you have an executable program in a directory (e.g. a portable version of a program, one that can be launched directly from wherever the zip is extracted), creating an Icons-only Task Manager icon for launching this program should be a super-simple DnD operation. Currently it is not.


STEPS TO REPRODUCE

1. Have the Icons-only Task Manager on your panel
2. Download and extract portable GeoGebra Classic 6 https://download.geogebra.org/package/linux-port6
3. Open the extracted directory in dolphin
4. Try dragging the executable onto Icons-only Task Manager

OBSERVED RESULT

Either nothing happens, or the program whose icon was under mouse when the LMB was released is executed with the file:// URL of the dragged-and-dropped binary passed as a parameter.

EXPECTED RESULT

The icon to launch the program should be added to Icon Task Bar.

SOFTWARE/OS VERSIONS

Operating System: Arch Linux 
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.13.1
Kernel Version: 5.3.1-arch1-1-ARCH
OS Type: 64-bit
Processors: 8 × AMD FX(tm)-8320 Eight-Core Processor
Memory: 15,6 GiB


ADDITIONAL INFORMATION
Comment 1 Fushan Wen 2023-01-30 17:55:15 UTC
This should be fixed in AppImages by using AppImageLauncher. 

Upstream doesn't like the idea to add AppImage desktop integration in  libtaskmanager or kwin.