Bug 347047

Summary: gwenview displays portrait images in landscape mode (therefore with a wrong rotation) and do not save them properly
Product: [Applications] gwenview Reporter: Gauthier <g.guerin>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: g.guerin, myriam
Priority: NOR    
Version: 5.0.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gauthier 2015-05-02 10:32:27 UTC
If you open a portrait image in Gwenview it opens in landscape (rotated by 90 degree). Then when rotating and saving such image it actually save a mirror version of how you want it. To get the image the right way around, you have to save it the wrong way around in Gwenview (i.e you a to save a mirror version of how you want it).

Once the image has been corrected to how you want it (saving it upside down with Gwenview so you get it the right way around), then Gwenview reopen the image perfectly - i.e. the right way around even if it is a portrait.

With some pictures these problems do not happen but haven't been able to see a pattern or a difference in the file other than all images for which it happened were taken with Canon cameras (IXUS 107 ; IXUS 90 ; ELPH 100HS). Problem also did not occur on low resolution images (<1MP) even if taken with a Canon.



Reproducible: Sometimes

Steps to Reproduce:
1. Open a jpg that was taken as a portrait in gwenview
2. Rotate such image to whatever position
3. Save

Actual Results:  
Firstly, Gnewview opens portrait image as landscape (i.e. rotated by 90 degree)

Then, after saving, the resulting image (as shown in Dolphin preview or if opened with say Okular) is a mirror of how it was displayed by Gwenview you pressed save. To get the image you want you have to save a mirror version of it in Gwenview (i.e. the other way around - upside down or right to left to how you actually want it)

Expected Results:  
You'd expect Gwenview to open the image the right way around (i.e. as portrait if it's a portrait image)

After saving you'd expect the resulting image to be saved as it appears in Gwenview when you pressed save.
Comment 1 Christoph Feck 2015-05-02 22:10:13 UTC

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