Opening non-existing path reports error, it should just go to another path

Bug #987436 reported by grofaty on 2012-04-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Pinta 1.2 on Windows XP sp3:
1. Create some folder in Windows Explorer like: c:\test
2. Open Pinta, draw something and save image into c:\test\test.png
3. Close Pinta.
4. Go to Windows Explorer and delete folder c:\test
5. Open Pinta.
6. File | Open and error message is displayed:
"The folder contents could not be displayed" Error stating file "c:\test": No such file or directory.

Note: Click on OK button and error message disappear. It looks like Pinta has saved last path and now when trying to open from non-existing path, error is displayed. This is probably correct behavior, but I don't like the "Error" icon, I think it should only display a more pleasant "Warning" icon.

grofaty (grofaty) wrote :
Cameron White (cameronwhite91) wrote :

I think that dialog is part of GTK, so I'm not sure how easy it would be to override it.

Alternatively, if the last saved path doesn't exist, Pinta could just immediately go to a default directory instead of showing an error first.

Changed in pinta:
importance: Undecided → Low
status: New → Confirmed
grofaty (grofaty) wrote :

Cameron, I agree this is even better, instead of error message just go to default directory.
P.S. I agree this is low priority and we can solve this letter when there are no crash-reports anymore.

Cameron White (cameronwhite91) wrote :
Changed in pinta:
milestone: none → 1.3
status: Confirmed → Fix Committed
grofaty (grofaty) wrote :

Tested in pinta-1.3-preview-20120425 on Windows XP. Problem fixed. It defaults to Pinta default path.

Adolfo Jayme (fitojb) on 2012-04-25
summary: - Opening non-existing path reports error, it should only report warning
+ Opening non-existing path reports error, it should just go to another
+ path
Robert Nordan (rpvn) on 2012-05-01
Changed in pinta:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments