Bug 389600 - Dragging a URL from Firefox to the desktop should create .desktop file launcher without first showing the move/copy/link menu
Summary: Dragging a URL from Firefox to the desktop should create .desktop file launch...
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: git master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-29 15:06 UTC by Nate Graham
Modified: 2022-02-05 10:26 UTC (History)
4 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 Nate Graham 2018-01-29 15:06:09 UTC
Steps to reproduce:
1. Open Firefox and navigate to any website
2. Drag the URL from the URL bar to the desktop

Expected results:
Plasma creates a .desktop file launcher for the URL instantly

Actual results:
Plasma shows the standard menu offering "Move here", "Copy here", and "Link here". But "Move here" and "Copy here" don't make sense when the source is a URL from a web browser. It should just automatically choose "Link here" and not bother to show the menu.
Comment 1 Kai Uwe Broulik 2018-02-05 15:58:39 UTC
I often drag images from the browser to copy them, so I don't see how we can implement this without sacrificing others. "Move here" doesn't make sense but Copy certainly does.
Comment 2 Nate Graham 2018-02-05 18:15:35 UTC
Can we introspect the MIME type, maybe? Then only links would always get "Link here".
Comment 3 Patrick Silva 2022-01-17 12:17:35 UTC
Currently, on neon unstable is created a Stick Note when I drag a URL from Firefox and drop it on desktop.
At least on Wayland.
Comment 4 Nate Graham 2022-01-17 15:50:05 UTC
LOL can reproduce. That seems like it's a Plasma issue. Can you file a bug on Plasma for that?
Comment 5 Patrick Silva 2022-02-05 10:26:57 UTC
Currently I can only reproduce comment 3 with chromium-based browsers running natively on Wayland.
Reported as bug 449645.