Open Images pad not refreshed with new name when Save As is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pinta |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Pinta 1.1 on Ubuntu 11.10:
1. Open some png file (my file is test.png).
2. Display "Open Images" pad (in development branch now "Images" pad). You will notice the test.png file in "Open Images" pad.
3. You can change something on canvas if you like. Then save the image with different name using File | Save As and name it like test2.png. If I understand correctly test2.png file should remain opened and previous file test.png should be closed. OK, now look at title bar. Notice test2.png in title bar, but in "Open Images" pad there is still "test.png".
4. In Open Images pad click on X beside "test.png" to close the file. And you will get the crash:
=================
System.
at Pinta.Gui.
--- End of inner exception stack trace ---
at System.
at System.
at System.
at System.
at GLib.Signal.
at GLib.SignalClos
at GLib.SignalClos
=================
I can't reproduce the crash every time - strange. But all sort of strange things happens with this "non-opened" file, like unexpected close when saving the file etc.
If I understand correctly strange errors/crashes appear because Open Images pad is not refreshed with new name when image is renamed (Save As used).
Changed in pinta: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in pinta: | |
status: | Fix Committed → Fix Released |
I haven't been able to reproduce the crash, but I fixed the Open Images pad so that it is updated if a file is renamed (https:/ /github. com/PintaProjec t/Pinta/ commit/ 69a89084a5e5e28 83bb242cfaa061d 5ed54a82e3)