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 172235 - gnome-background-properties crashes with non-UTF-8 png filenames
gnome-background-properties crashes with non-UTF-8 png filenames
Status: RESOLVED DUPLICATE of bug 168604
Product: gnome-control-center
Classification: Core
Component: Background
2.6.x
Other opensolaris
: Normal normal
: ---
Assigned To: Rodney Dawes
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-03-31 12:28 UTC by Takao Fujiwara
Modified: 2005-04-25 15:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for gnome-wp-capplet.c and gnome-wp-xml.c (9.69 KB, patch)
2005-03-31 12:44 UTC, Takao Fujiwara
none Details | Review

Description Takao Fujiwara 2005-03-31 12:28:37 UTC
To reproduce:
1. Invoke gnome-background-properties on ja or ja_JP.eucJP locale.
2. Click [Add Wallpaper] button and add any .png files with the current encoding
filename.

Then gnome-background-properties crashes on Solaris and it is blinking on Linux.


CASE2:
1. Invoke gnome-background-properties.
2. Invoke nautilus and drag & drop .png file into gnome-background-properties.


The result was same.


I'm attaching the patch.
Comment 1 Takao Fujiwara 2005-03-31 12:44:58 UTC
Created attachment 39500 [details] [review]
patch for gnome-wp-capplet.c and gnome-wp-xml.c

The fixed problems are:
  - collate none UTF-8 strings.
  - Display non UTF-8 names in the GUI.
  - save none UTF-8 strings into gconf DB.
  - save none UTF-8 strings in .gnome2/backgrounds.xml.
Comment 2 Rodney Dawes 2005-04-25 15:20:35 UTC
This patch does not apply to CVS head. Can you please update the patch to work
with that? And please file the new patch against bug #168604. Thanks.

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