Bug 22286 - cannot drag file/url into Gimp
Summary: cannot drag file/url into Gimp
Status: CLOSED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-13 14:33 UTC by tmb-kde-bugs
Modified: 2002-09-16 14:43 UTC (History)
0 users

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 tmb-kde-bugs 2001-03-13 14:26:44 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           konqueror
Version:           KDE 2.1.0 
Severity:          normal
Installed from:    RedHat RPMs
Compiler:          Not Specified
OS:                Linux
OS/Compiler notes: Not Specified

The Gimp accepts files and URLs via drag-and-drop.  This works with the Gnome file manager.  Unfortunately it doesn't work with Konqueror.

(Submitted via bugs.kde.org)
Comment 1 David Faure 2001-03-13 16:15:37 UTC
On Tuesday 13 March 2001 14:26 tmb-kde-bugs@lumo.com wrote:
> Package: konqueror
> Version: KDE 2.1.0 
> Severity: normal
> Installed from:    RedHat RPMs
> Compiler:          Not Specified
> OS:                Linux
> OS/Compiler notes: Not Specified
> 
> The Gimp accepts files and URLs via drag-and-drop.  This works with the Gnome file manager.  Unfortunately it doesn't work with Konqueror.

Does Gimp support XDND ?

I think this is a Gimp bug not a Konqueror bug. Konqueror (Qt in fact) uses
standard XDND protocol.

-- 
David FAURE david@mandrakesoft.com faure@kde.org
http://perso.mandrakesoft.com/~david/ http://www.konqueror.org/
KDE Making The Future of Computing Available Today
Comment 2 tmb-kde-bugs 2001-03-13 20:02:30 UTC
I should say that I'm running Gimp 1.25 with Gtk+ 1.2 under RH7.
Both according to its source (I just grepped through it) and according
to its documentation it uses XDND.  The Gimp itself seems to use the
Gtk implementation but gimp-remote talks to the Gimp via raw XDND.
It works fine between gmc and the Gimp.  

I don't know whether the gimp gtk or konqueror is at fault.  But whenever
there is an interoperability problem it won't get addressed until
one of the parties actually looks into it.

Experimenting a bit more with gmc 4.5.51 and konqueror I noticed
another problem: dragging a file from konqueror to gmc works fine for
me but dragging a file from gmc to konqueror makes konqueror hang.
This makes me suspect that there is something not quite alright with
KDE/Qt's implementation of XDND; I think it shouldn't hang even if it
were talking to a buggy peer.  Should I submit this as a separate bug?

Cheers
Thomas.

On Tue Mar 13 2001 at 04:15:37PM +0000 David Faure wrote:
> On Tuesday 13 March 2001 14:26 tmb-kde-bugs@lumo.com wrote:
> > Package: konqueror
> > Version: KDE 2.1.0 
> > Severity: normal
> > Installed from:    RedHat RPMs
> > Compiler:          Not Specified
> > OS:                Linux
> > OS/Compiler notes: Not Specified
> > 
> > The Gimp accepts files and URLs via drag-and-drop.  This works with the Gnome file manager.  Unfortunately it doesn't work with Konqueror.
> 
> Does Gimp support XDND ?
> 
> I think this is a Gimp bug not a Konqueror bug. Konqueror (Qt in fact) uses
> standard XDND protocol.
> 
> -- 
> David FAURE david@mandrakesoft.com faure@kde.org
> http://perso.mandrakesoft.com/~david/ http://www.konqueror.org/
> KDE Making The Future of Computing Available Today
Comment 3 David Faure 2001-03-13 20:19:05 UTC
Forgot to CC bugs.kde.org.

----------  Forwarded Message  ----------
Subject: Re: Bug#22286: cannot drag file/url into Gimp
Date: Tue 13 Mar 2001 20:16:54 +0000
From: David Faure <david@mandrakesoft.com>
To: Tom <tmb-kde-bugs@lumo.com>


On Tuesday 13 March 2001 20:02 you wrote:
> I should say that I'm running Gimp 1.25 with Gtk+ 1.2 under RH7.
> Both according to its source (I just grepped through it) and according
> to its documentation it uses XDND.  The Gimp itself seems to use the
> Gtk implementation but gimp-remote talks to the Gimp via raw XDND.
> It works fine between gmc and the Gimp.  
> 
> I don't know whether the gimp gtk or konqueror is at fault.  But whenever
> there is an interoperability problem it won't get addressed until
> one of the parties actually looks into it.

> Experimenting a bit more with gmc 4.5.51 and konqueror I noticed
> another problem: dragging a file from konqueror to gmc works fine for
> me but dragging a file from gmc to konqueror makes konqueror hang.
> This makes me suspect that there is something not quite alright with
> KDE/Qt's implementation of XDND; I think it shouldn't hang even if it
> were talking to a buggy peer.  Should I submit this as a separate bug?

It would be interesting to open a gdb on the hanging process to see
what it's doing.

In any case XDND's support is in Qt. I can relay self-contained testcases
and bug reports to Qt once we narrow the field about where the bug is.

I have Gnome gmc 4.5.44 here and I could DND from and to kdesktop
(same implementation as konqueror) but this made KMail hang.
It's a well-known Qt bug related to reading from the clipboard.
Well it doesn't really hang it just reads from X for a very long time and
selecting some text in e.g. konsole fixes the problem.

Once again this is in Qt much too low-level for me to fix it. I have notified
the Qt developer who wrote the XDND and clipboard stuff he knows about
the problem... but this isn't really reproduceable (even the gmc<->konq case
I tried many times after the initial hangup and everything works fine now)
so it's not easy to debug at all.

In any case this is not the same thing as gimp and as you can see
konqueror is compatible with gnome's DND... So I think the bug is in gimp
particularly.

-- 
David FAURE david@mandrakesoft.com faure@kde.org
http://perso.mandrakesoft.com/~david/ http://www.konqueror.org/
KDE Making The Future of Computing Available Today



-------------------------------------------------------

-- 
David FAURE david@mandrakesoft.com faure@kde.org
http://perso.mandrakesoft.com/~david/ http://www.konqueror.org/
KDE Making The Future of Computing Available Today