Problem with file names under Windows

Bug #684239 reported by Serged
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Pinta
Fix Released
Low
Unassigned

Bug Description

I try to open a file named "été 2010 018.jpg" (note the "é"). With "File...Open", Pinta won't open it. With "Pen with...", Pinta crashes...

If I rename it "ete 2010 018.jpg", all run fine...
Pinta 0.5 under Windows XP SP3 and gtk-sharp-2.12.9-2 downloaded on the Pinta site.

The problem doesn't appear with the Pinta 0.4 shipped with Ubuntu 10.10.

Revision history for this message
Jonathan Pobst (jpobst) wrote :

This is an upstream bug with the Gtk# bindings on Windows:
https://bugzilla.novell.com/show_bug.cgi?id=581218

There isn't an "Upstream" status setting, I don't know whether to leave the bug open here or not.

Changed in pinta:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Olivier Dufour (olivier-duff) wrote :

yep but this explain that using new PixBuf(new FileStream("c:\Schülerfoto\bild.jpg")) remove the bug so:

LayerAction (line 168):
- Pixbuf bg = new Pixbuf (file, doc.ImageSize.Width, doc.ImageSize.Height, true);
+ Pixbuf bg = new Pixbuf (new FileStream (file), doc.ImageSize.Width, doc.ImageSize.Height);

OraFormat (line 98):
- using (Pixbuf pb = new Pixbuf (tmp_file)) {
+ using (Pixbuf pb = new Pixbuf (new FileStream (tmp_file))) {

GdkPixbufFormat (line 46):
- Pixbuf bg = new Pixbuf (fileName);
+ Pixbuf bg = new Pixbuf (new FileStream (fileName));

Revision history for this message
Jonathan Pobst (jpobst) wrote :
Changed in pinta:
milestone: none → 1.0
status: Confirmed → Fix Committed
Revision history for this message
grofaty (grofaty) wrote :

I have installed Pinta 1.0 on Windows XP sp3 and I can now successfully open image file with non-English characters in name. Problem solved.

Changed in pinta:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.