Bug 420131 - Drag-n-drop for a URL onto .desktop icon does not open the URL
Summary: Drag-n-drop for a URL onto .desktop icon does not open the URL
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.16.5
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-15 18:04 UTC by Andrei Rybak
Modified: 2020-09-13 16:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screen recording of the bug reproduction (258.58 KB, video/x-matroska)
2020-04-15 18:04 UTC, Andrei Rybak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Rybak 2020-04-15 18:04:42 UTC
Created attachment 127569 [details]
Screen recording of the bug reproduction

SUMMARY
When drugging a URL onto a .desktop icon, the application does not open in 100% of cases.

STEPS TO REPRODUCE
1. Open a web page in a browser
2. Drag some hyperlink onto browsers's icon (.desktop file)

OBSERVED RESULT
Most of the time, the context menu for the directory where the .desktop file is located is opened (e.g. $HOME/Desktop).

EXPECTED RESULT
100% of the time, the application is opened with the dragged URL as argument.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 19.10
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.4
Kernel Version: 5.3.0-46-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.7 GiB of RAM

ADDITIONAL INFORMATION
- In the attached video, two out of three times the incorrect context menu is opened.
- While trying to reproduce the issue, the plasmashell crashed, seemingly right after drag-n-drop attempt. However, I couldn't reproduce the crash after that.
- Dran-n-drop for files works 100% of the time.
Comment 1 Alexander Lohnau 2020-07-11 19:59:28 UTC
On KDE Neon Unstable I have tried it with ~20 links and it works every time.
Comment 2 Andrei Rybak 2020-09-13 16:36:18 UTC
Works for me in 5.19.5

Operating System: KDE neon 5.19
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
Kernel Version: 5.3.0-51-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620