After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 529363 - dnd between nautilus and gtkfileselector doesn't work correctly
dnd between nautilus and gtkfileselector doesn't work correctly
Status: RESOLVED DUPLICATE of bug 356312
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.12.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2008-04-22 11:52 UTC by Sebastien Bacher
Modified: 2013-06-01 12:28 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Add support for dragging URI targets to GtkFileChooserEntry and replace the entry text with the parse name of the first URI. (4.88 KB, patch)
2008-05-14 18:36 UTC, Jan Arne Petersen
none Details | Review

Description Sebastien Bacher 2008-04-22 11:52:40 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/220294

"Opening a file by bragging it on the Location text widget in the Gtk file chooser results in an error, i.e. the application cannot find the file.
It looks like that, when using Drag and Drop, the file name gets converted to a file:// URL, and that the file chooser is not able to understand URLs entered in the Location text widget.

On Hardy, I can easily and reliably reproduce this issue Hardy with almost any Gtk application (Firefox and OpenOffice, too):

* Start eog, evince, or gedit
* Choose File -> Open (Ctrl-O)
* From nautilus, drag any file on the Location text widget
* Get some error. With gedit or eog, the error message includes the file name. For example: "No images found in '/home/danilo/file:/home/danilo/Examples/kubuntu-leaflet.png'."

Using libgtk2.0-0 version 2.12.9-3ubuntu2 with it_IT.UTF-8 locale.
A video showing the issue is attached.

http://launchpadlibrarian.net/13622120/gtk-filechooser-open-dnd.gif
video showing the issue  (1.6 MiB, image/gif)"
Comment 1 Jan Arne Petersen 2008-05-14 18:36:26 UTC
Created attachment 110915 [details] [review]
Add support for dragging URI targets to GtkFileChooserEntry and replace the entry text with the parse name of the first URI.
Comment 2 Murray Cumming 2010-05-17 21:53:49 UTC
Dragging a file to the file chooser seems to work fine for me in Ubuntu Karmic. I wonder if this was fixed in the meantime in some other way.
Comment 3 Erika Ahlswede 2010-11-12 18:34:18 UTC
On both Ubuntu Lcuid and Maverick, it works sometimes, but not other times. I haven't yet figured out what makes it work or not work.
Comment 4 Timothy Arceri 2013-06-01 12:28:11 UTC

*** This bug has been marked as a duplicate of bug 356312 ***