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

Bug #987436 reported by grofaty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Fix Released
Low
Unassigned

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.

Revision history for this message
grofaty (grofaty) wrote :
Revision history for this message
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
Revision history for this message
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.

Revision history for this message
Cameron White (cameronwhite91) wrote :
Changed in pinta:
milestone: none → 1.3
status: Confirmed → Fix Committed
Revision history for this message
grofaty (grofaty) wrote :

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

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)
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.

Other bug subscribers

Remote bug watches

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