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 138979 - DnD for non-Latin1 filenames fails
DnD for non-Latin1 filenames fails
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.3.x
Other All
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2004-04-03 20:04 UTC by Ilya Konstantinov
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4


Attachments
Patch (1.98 KB, patch)
2004-04-03 20:06 UTC, Ilya Konstantinov
none Details | Review

Description Ilya Konstantinov 2004-04-03 20:04:24 UTC
Drag a file containing non-Latin1 characters from a GThumb window to Konqueror
or Nautilus.

Reason: Characters out of the standard URL range should be URL-escaped in 
text/uri-list.

Solution: Use gnome_vfs' local file to url function. See attached patch.
Comment 1 Ilya Konstantinov 2004-04-03 20:06:53 UTC
Created attachment 26294 [details] [review]
Patch

Uses the correct gnome_vfs function to produce the text/uri-list.
Fixes support for text/plain (should be locale-encoded) and adds
text/plain;charset=UTF-8.
Removes unnecessary string comparisons. In drag_data_get, you can use the
'info' argument as the target_id.
Comment 2 Paolo Bacchilega 2004-04-10 12:00:59 UTC
patch applied, thank you.