! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Drag and drop of URLs
Status:
RESOLVED: FIXED

Comments

Description Manuel Grießmayr 2018-02-24 13:19:31 CET
Created attachment 7613 
Patch proposal for a fix

If I drag and drop a URL from the address bar of Firefox to a folder in Thunar there will be an error message and the .desktop file won't be created. I get this message: “Failed to create a link for the URL [URL]. To Directory »file:///a_file« (file or directory not found) couldn’t be changed”. Attached you can find a patch proposal. To get it working I only changed the format of the working directory from URI to /path/to/file. What do you think?
Comment 1 alexxcons editbugs 2018-02-25 23:00:51 CET
Thanks alot for the patch, works fine for me and looks solid !

I will apply it on master  ( to be released as 1.8.0 ) and the xfce-4.12 branch ( to be released as 1.6.15 )
Comment 2 Git Bot editbugs 2018-02-25 23:11:45 CET
Manuel Grießmayr referenced this bugreport in commit 31cf640f7565e273fbb80cf8e826274dd793e4be

Fixed creation of .desktop file when dropping URL into folder (bug #14239)

https://git.xfce.org/xfce/thunar/commit?id=31cf640f7565e273fbb80cf8e826274dd793e4be
Comment 3 alexxcons editbugs 2018-02-25 23:17:05 CET
Done.

Git Bot failed to link the commit to master: https://git.xfce.org/xfce/thunar/commit/?id=15fdf175cb2708b09f8581cb29811ee4a3045acd
Comment 4 alexxcons editbugs 2018-11-28 22:13:22 CET
*** Bug 12766 has been marked as a duplicate of this bug. ***
Comment 5 alexxcons editbugs 2019-04-03 23:08:08 CEST
*** Bug 12077 has been marked as a duplicate of this bug. ***

Bug #14239

Reported by:
Manuel Grießmayr
Reported on: 2018-02-24
Last modified on: 2019-04-03
Duplicates (2):
  • 12077 Drag and drop from web browsers doesn't work
  • 12766 Failed to create link while dragging images from firefox

People

Assignee:
Xfce Bug Triage
CC List:
5 users

Version

Attachments

Patch proposal for a fix (5.82 KB, patch)
2018-02-24 13:19 CET , Manuel Grießmayr
no flags

Additional information