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 347544 - "Save as.." mangles spaces in filename...
"Save as.." mangles spaces in filename...
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
2.2.x
Other All
: Normal normal
: 2.2
Assigned To: GIMP Bugs
GIMP Bugs
: 348798 349458 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-07-14 18:48 UTC by rambo
Modified: 2008-01-15 13:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description rambo 2006-07-14 18:48:27 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:
Comment 1 rambo 2006-07-14 18:55:49 UTC
Happens with "Save a copy" too!
Comment 2 Michael Schumacher 2006-07-14 19:47:27 UTC
Can this be caused by the fix for bug #343284?
Comment 3 Sven Neumann 2006-07-15 16:29:52 UTC
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?
Comment 4 rambo 2006-07-15 16:49:51 UTC
Negative, I'm getting %20 in the saved file's actual name.
Comment 5 rambo 2006-07-16 09:29:30 UTC
Just updated my gtk+ to 2.10 and deps, the behaviour remains unchanged :(
Comment 6 Michael Natterer 2006-07-18 09:28:23 UTC
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.
Comment 7 Michael Schumacher 2006-07-26 15:38:00 UTC
*** Bug 348798 has been marked as a duplicate of this bug. ***
Comment 8 Egmont Koblinger 2006-07-31 18:17:02 UTC
*** Bug 349458 has been marked as a duplicate of this bug. ***