GNOME Bugzilla – Bug 109495
Drag and drop doesn't work from Konqueror 3.1 to gimp 1.3.13
Last modified: 2004-12-22 21:47:04 UTC
I know this sounds like an old already closed bug, but I was under the impression that switching to gtk2 and the Xdnd of freedesktop would solve the DnD problems between Gimp and Konqueror. So I open a bug because I hope this issue will be solved before 1.4, if it is not forgotten (thus the bug). The Drag and Drop between Konqueror (KDE 3.1, patched by Mandrake so it is nearly a 3.1.1) and Gimp 1.3.13 is still not working. DnD seems to work from Konqueror to Bluefish 0.9 (the GTK2 version of Bluefish) and to Gedit (but strangely, not towards eog). OS: Mandrake 9.1, Linux 2.4.20, Xfree 4.3, KDE 3.1, Gimp 1.3.13, GTK/Glib 2.2.1
GIMP prints a console message when files are dropped. Would you paste the message it prints when dropping from Konqueror here please?
Here are more info: There are absolutely no message in the gimp error console when drag and dropping from Konqueror, nor there are in the terminals I used to launch gimp or konqueror. The mouse cursor says no DnD is allowed. However, this may be an issue of konqi<->gtk interaction. I have tested the following DnD cases: From Konqui to Bluefish 0.9 (gtk2), gedit, Nautilus : works fine From Konqui to Screem (gtk2?), eog, sodipodi (the gtk2 one), pan & Gnumeric (gtk?) : nothing, the cursor says no DnD is allowed. From Konqui to Rox-Filer 1.3.7 (Gtk2) : I have the following error message, in French because of my locale, so I translate roughly "uri-list-to-glist: incorrect or missing end of line in the text/uri-list data ---- Error while loading the file list : No URI in text/uri-list (nothing to do)" On the other hand, DnD from Rox to Konqueror works fine. So its seems the problems of interactionbetween KDE and Gnome apps (if Gimp can be counted as Gnome app) are nor solved yet.
On the toolbox we accept drops that contain either "text/uri-list" or "_NETSCAPE_URL". If Konqueror is sending a different DND type, we could consider to add it but I wonder why they are not using the standard "text/uri-list". I'd rather file this as a bug against Konqueror.
I have opened a bug for konqueror: http://bugs.kde.org/show_bug.cgi?id=56709 Can someone here confirm, or are you all using KDE-free computers (it would be a loss, KDE is great IMHO) PS: I'm sorry to fill so many bugs ;)
Submitting many bug reports is not a problem as long as the reports are correct and describe an issue that is not already known. On the other hand, advertising KDE is slightly off-topic in a bug tracking system. Note that I personally use KDE from time to time, but not often (most of my systems are Qt-free). Thanks for opening the corresponding KDE bug report. Let us know if you get any important news from that bug report.
After digging more in kde mailing lists, I have found that this is a known bug of Konqueror DnD, opened in december 2001: http://bugs.kde.org/show_bug.cgi?id=36297 I have tested the dragging from "the small icon in the konqueror title bar" mentionned in the first comment of this discussion. This way, I can DnD to gimp, file-roler and other gtk2 apps that do not accept the dnD from the icons view. So maybe I close this one (INVALID, I guess) and mark the bug I have opened at KDE as duplicate. But Why do Nautilus, Bluefish and Gedit accept DnD? They should not work at all, should they?
The resolution NOTGNOME is more appropriate in this case, because there is a real bug (so this report is not completely INVALID), but it does not come from the GIMP. Hence NOTGNOME. I don't know why Nautilus and some other programs accept the DnD from Konqueror. But this should be irrelevant once the Konqueror bug is fixed.
After some discussion with Waldo Bastien and Lubos Lunak, turns out that this is a bug in GTK+'s implementation of the Xdnd spec - if XdndActionList isn't set, the spec says that the allowed actions should be specified action + copy, but GTK+ only allows the specified action.
Yes, I was to add today that I have finally yesterday been able to launch the test_xdnd program and it seems KDE was fine but not GTK2. Thanks for having had a look at this. Even if there was no crash or stability issues, I think it is important for wide acceptance of GNU/linux that the DnD actually works between the two toolkits. Now problem solved, I will soon be able to drag from Konqui to Gimp :) Should I change this as REOPEN or CLOSED?