Bug 256337

Summary: Gwenview operates on wrong image after using the "Save As" function
Product: [Applications] gwenview Reporter: Martin Walch <walch.martin>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Martin Walch 2010-11-08 04:42:44 UTC
Version:           unspecified (using KDE 4.5.2) 
OS:                Linux

Gwenview will operate on the original image after saving it in a new file that did not exist before (you did not have to overwrite some other file).

Reproducible: Always

Steps to Reproduce:
steps to reproduce:

1. create a directory foo
2. copy image 1.jpeg into foo
3. open 1.jpg with gwenview
4. click on >File >Save As
5. Save it as 2.jpeg (note: there is no file named 2.jpeg. This is important!)

Now gwenview says: "You are now viewing the new document."
And you can see the new filename in the title of the gwenview window.

6. click on >File >Properties.

Oops: the filename is the old one.

7. Do some transformation like "rotate left" and save the file.

Ouch: it still looks like the new file is in use. However: the old file is modified and overwritten.



This bug can cause severe data loss: When using "Save As" you want to make sure that absolutely nothing happens to the original image. But with this bug you might operate on an image for hours, saving dozens of new files. In the end you might loose not only the new files, but also the original file.
Comment 1 Aurelien Gateau 2010-11-12 22:26:27 UTC

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