Bug 255760 - Gwenview: After using "save as" the original picture is edited
Summary: Gwenview: After using "save as" the original picture is edited
Status: RESOLVED DUPLICATE of bug 236577
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 2.5
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-31 19:50 UTC by Monika Eggers
Modified: 2012-10-19 13:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Monika Eggers 2010-10-31 19:50:40 UTC
Version:           2.4 (using KDE 4.5.1) 
OS:                Linux

After using "save as" (and of course not clicking "go back to the original picture") and then continuing to edit the new picture (e.g. change size) and saving the changes, the original picture is edited and not the copy that was created.

Reproducible: Always

Steps to Reproduce:
Open a picture with Gwenview, e.g. picture.jpeg.
Select File - Save as ... and save it e.g. as picture-small.jpeg because you intend to make a smaller copy for e-mailing/uploading.
An informational message appears: "You are now viewing the new picture" with an option to return to the original - do not choose this option. The informational message disappears automatically.
Note that the titlebar of Gwenview mentions the file name and it is "picture-small.jpeg", not the original photo "picture.jpeg".
Click the Operations tab, click Change size, enter a new size, e.g. 500 (meaning change to target width of 500 pixels), confirm.
Save by clicking the save button that appears on top of the photo.


Actual Results:  
The original photo picture.jpeg now has a width of 500 pixels. The "saved as" copy picture-small.jpeg still has the old size.

Expected Results:  
The original photo picture.jpeg should be unchanged. The "saved as" copy picture-small.jpeg should have the new width of 500 pixels.

OS: Linux (x86_64) release 2.6.35-22-generic
Compiler: cc

Kubuntu 10.10 Maverick Meerkat

The list of this bug report form only let me choose 2.4.0 as highest Gwenview version, but Gwenview identifies itself as 2.5.0 when choosing "send problem report / wish".

-----------

How does this bug cause data loss:
At first it doesn't, if one notices what has happened and that the "picture-edited.jpeg" or "picture-small.jpeg" one has just created still is the original.
But I for example have now lost several original (full size, uncropped) photos due to this bug because I did not realize what was happening at first:
- I created the smaller version.
- When I want to e-mail or upload it, it is still too large (of course, because picture-small.jpeg is the original-size photo). I think: Either I did not make it small enough, or I made a mistake when using Gwenview (forgot to save, typed in the wrong number of pixels or something like this).
- I open the picture-small.jpeg "again" (as I think) and make it "even smaller". When I save it, there is now no more full size / uncropped version of the photo existing.
Comment 1 Aurelien Gateau 2010-11-12 16:36:12 UTC
(Added the missing "2.5" version to the version list and updated the version field)

Thanks for the report. I can reproduce this bug with 2.5 but can't with 2.6 (trunk). I assume the bug was in a lower layer so I am closing this report as fixed.
Comment 2 Aurelien Gateau 2010-11-12 17:08:21 UTC
Actually I can still reproduce it (I missed that the new file must not exist to be able to reproduce it), but this report is a duplicate of bug #236577. Reclosing as duplicate.

*** This bug has been marked as a duplicate of bug 236577 ***