Deleted layer is magically back when Save is performed

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

Bug Description

Pinta 1.7.0.191 on Windows 7.
1. New image 100 x 100.
2. Click on red color Palette.
3. Click on Paint Bucket and paint whole canvas in red.
4. Click on Add New Layer button from Layers pad.
5. Double click on new layer and name it GreenLine.
6. Add another new layer and name it BlackLine.
7. (BlackLine layer selected) click on Line/Curve from Tools pad, click on black color from Palette and draw a line on canvas.
8. Click on GreenLine layer select green line from Palette and try to draw the same line over existing black line display. (I intentionally draw green line little bit up next to black line that can be seen in our problem).
9. (Now I would like to decide to have black or green color. So I am enabling/disabling BlackLine or GreenLine checkboxes.) Now I decided to have green line. Click checkbox next to BlackLine to disable this layer.
10. Click on Save button from canvas, select png file, name it and save the image. Now first trouble appears. It looks like Pinta just merges all of the layers and saves them. I expect to save to png only the enabled layers. I don't know if this is a bug or not the best design. Another problem appears after save: BlackLine layer gets enabled, despite it was disabled before save. Bug?
11. To overcome above problem, idea is to temporally delete the layer, save the file to png and undo delete layer. Click on BlackLine layer and delete it with Delete Layer button from Layers pad.
12. Save button from toolbar and even bigger surprise. Deleted layer is magically back and also saved in png file. This is bug for sure.
13. Additional surprises: click undo and I expect to get back to no BlackLine layer, but it doesn't it just starts to undo the lines from canvas.

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

I think this is the same issue as #1424632 - things such as saving the image force tools to commit in-progress edits, which causes these types of undo/redo bugs with re-editable shapes.

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.