Save All does not update tabs indicator of saved image

Bug #1888880 reported by grofaty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
New
Undecided
Unassigned

Bug Description

Latest Pinta PPA update 1.7+r1106-202007230322~ubuntu18.04.1:

1. Save image as 1.png.
2. Do something on canvas like e.g. draw a line. Image tab indicator changes from "x" to "o" that indicates there is unsaved data on this image.
3. New on toolbar.
4. Save image as 2.png.
5. Repeat step 2.
6. Now both image tabs have "o" in right top corner of the tab to indicate both pictures have unsaved data.
7. From menu Window select Save All. Problem appears. Current tab 2.png icon "o" changes to "x" which indicates current image has no unsaved changes. But tab 1.png icon is still "x" which indicates image is not saved.
8. Go to file manager and open 1.png and 2.png and it is clear both images have line drown on the canvas which indicates step 7 Save All did save images, but failed to update tab "o" indicator to "x" indicator.

Revision history for this message
Cameron White (cameronwhite91) wrote :

This worked correctly for me, testing on OSX and Ubuntu 18.04

Revision history for this message
grofaty (grofaty) wrote :

I updated Pinta to latest 1.7+r1110-202007241840~ubuntu18.04.1.

I can clearly reproduce problem every time I try.

Revision history for this message
Cameron White (cameronwhite91) wrote :

In step 2, are you using the Line / Curve tool? I can only reproduce it with this scenario, versus e.g. using the paintbrush tool.
If that matches your testing, then I think this is the same issue as bug 1888882

Revision history for this message
grofaty (grofaty) wrote :

In step 2 it I tested with Line/Curve and I can ALWAYS reproduce a problem.

But if whole process is repeated with step 2 as Paintbrush, the I can NEVER reproduce a problem. It works as expected in my case.

It is little bit strange we can reproduce a problem. Are we using the same version of Pinta on same Ubuntu and other software like Mono? Command: "mono -V" displays in my case: 6.10.0.104

Revision history for this message
Cameron White (cameronwhite91) wrote :

I think my wording was a bit confusing, but it sounds like we both agree that it's only an issue with the Line/Curve tool being used. So, I think this is the same issue as bug 1888882

Revision history for this message
grofaty (grofaty) wrote :

This looks similar to the problem of bug 1888882, but in this bug report it happens with Window | Save All option.

Maybe we should leave this bug opened, to make sure we test this option too when "o" and "x" is fixed for other cases.

Revision history for this message
Cameron White (cameronwhite91) wrote :

I think it's probably easier to leave this closed and reduce the clutter a bit, this looks like an identical issue in the underlying code. It'll still be linked to from the issue that's still open.

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.