GNOME Bugzilla – Bug 347544
"Save as.." mangles spaces in filename...
Last modified: 2008-01-15 13:09:57 UTC
Please describe the problem: New release converts spaces to %20's in file name when "saving as", hasn't been happening with previous ones. # pkg-config --modversion glib-2.0 gtk+-2.0 atk gimp-2.0 2.8.4 2.8.8 1.8.0 2.2.12 Steps to reproduce: 1. Open a file 2. Choose "save as..." 3. Observe weird change in filename Actual results: "image with spaces.jpg" will become "image%20with%20spaces.jpg" Expected results: Does this happen every time? yes Other information:
Happens with "Save a copy" too!
Can this be caused by the fix for bug #343284?
Yes, this is likely caused by the fix for bug #343284. But the problem is just in the file chooser, the actual file saved to disk will be "image with spaces.jpeg". Can the bug reporter confirm this?
Negative, I'm getting %20 in the saved file's actual name.
Just updated my gtk+ to 2.10 and deps, the behaviour remains unchanged :(
Fixed in both branches: 2006-07-18 Michael Natterer <mitch@gimp.org> * app/widgets/gimpfiledialog.c (gimp_file_dialog_set_image): use file_utils_uri_display_basename() instead of g_path_get_basename() to get an uri's basename. Fixes bug #347544.
*** Bug 348798 has been marked as a duplicate of this bug. ***
*** Bug 349458 has been marked as a duplicate of this bug. ***