Closed Bug 86371 Opened 23 years ago Closed 20 years ago

Dragging files onto Mozilla doesn't work

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: tal00r, Assigned: blizzard)

References

Details

(Keywords: platform-parity)

Dragging files to the Mozilla window doesn't work. This is because Mozilla
does not follow the XDND spec correctly.
When a file is dragged from a filer window, the filer provides two target
types, 'text/uri-list' and whatever the file's type is. Requesting the first
gets you the file's location, the second gets you the file's contents.

Unfortunately, GNOME's implementation is broken. It provides both text/uri-list 
(almost correctly, except it misses out the required hostname field) and 
text/plain. Requesting text/plain does the same as text/uri-list with GNOME
filers.

Therefore, to support both conforming filers (eg ROX-Filer and future GNOME 
filers) and existing GNOME filers, Mozilla needs to request the target 
'text/uri-list' instead of 'text/plain'.

Thank you,
Keywords: pp
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Seems to be fixed now (0.9.7). Thanks!
Marking worksforme based on comments.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
This does not appear to be fixed for me on Linux build 2002011803, what type of
file are you dragging?  where are you dragging it from?  When I try to drag a
file from my desktop, it does not load on this build
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Oops, sorry. It looks like it was Galeon that fixed this, but using the Mozilla
shell it still doesn't work.
-> blizzard
Assignee: blaker → blizzard
Status: REOPENED → NEW
Target Milestone: Future → ---
I'm not sure if this is related, but Bug 161824 also addresses drag and drop
problems in Linux and I've posted my patch there since it seemed similar to
the problem I was having.
Ah, could be. Looks like bug #107651 was the actual fix, but maybe #161824
stopped it from working reliably (hence the confusion as to whether it was fixed
in 0.9.7). Anyway, it all seems to be working in 1.0.0. Thanks :-)
qa contact -> pmac
QA Contact: tpreston → pmac
Dragging URLS from KDE 3.1 konqueror to Mozilla-1.3b also does not work, Mozilla
does not accept the drag. Mozilla stands out like a sore thumb on any linux desktop.
*** Bug 141362 has been marked as a duplicate of this bug. ***
ok... this works for me... (current cvs build, linux, dragging from nautilus to
mozilla) and
http://lxr.mozilla.org/seamonkey/source/widget/src/gtk2/nsDragService.cpp looks
like it uses text/uri-list in a few places (same for the gtk1 impl)

marking wfm, if anyone still sees this problem please reopen
Status: NEW → RESOLVED
Closed: 23 years ago20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.