Two layers must be merged before saving

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

Bug Description

In Pinta 0.5 on Ubuntu 10.10 I have created two simple pictures circle and rectangle and save them in jpg file (see attached pictures).

Then I have done the following:
1. Start Pinta.
2. Click on Open icon from toolbar and open circle.jpg.
3. Click on Open icon from toolbar and open rectangle.jpg.
4. On picture rectangle.jpg click on Rectangle Select object and select area that whole rectangle picture is selected.
5. Click on Copy icon.
6. Click on Windows and select circle.jpg.
7. Edit | Paste into New Layer.
8. Click on Move Selected Pixels object.
9. Then click and hold mouse inside rectangle and move it to the right site. Release mouse button when you see both objects circle and rectangle.
10. Save picture with File | Save as and name it circle_and_rectangle.jpg.
11. Now open circle_and_rectangle.jpg file with some image viewer and you will see there is only rectangle saved in circle_and_rectangle.jpg file. I expected to be both of the objects there.

I know I can merge layers, but in this phase I don't want to merge layers at this point, but I would like to save a picture and then continue to draw.

I think that Pinta should always save into file what is seen on the screen, but please do correct me if I am wrong. If I am not mistaken jpg does not support layers, so it would be nice if Pinta merges layers in separate file without interfering existing file.

If this is not possible (easy to do) then I think there should be some kind of waring that layer merging must be done before saving into jpg file.

Revision history for this message
grofaty (grofaty) wrote :
Revision history for this message
grofaty (grofaty) wrote :

Attaching rectangle.jpe file.

Revision history for this message
Jonathan Pobst (jpobst) wrote :

This only affects "Move Selected Pixels", as we create a temporary layer until the move is committed. Added code to commit the move before saving.

Fixed in https://github.com/jpobst/Pinta/commit/20b101580742175ee51360c1e58d0504c8f5e5dd.

Thanks for the report!

Changed in pinta:
importance: Undecided → Low
milestone: none → 0.6
status: New → Fix Committed
Revision history for this message
grofaty (grofaty) wrote :

Tested in Pinta 0.6 Windows XP sp3. Problem solved.

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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