Bug 344987 - Portrait images shown as landscape
Summary: Portrait images shown as landscape
Status: RESOLVED DUPLICATE of bug 343044
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 5.0.0
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-09 19:24 UTC by gothicknight
Modified: 2015-05-20 19:24 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gothicknight 2015-03-09 19:24:06 UTC
Hi,

When viewing JPG photos from my Canon DSLR the pictures in portrait orientation are shown in landscape orientation but only in the top half and not top to bottom as if the display rotation code failed.

Rotating the photo once fixes the picture display to correct portrait mode and rotating once again shows the picture using the full window to display it in landscape mode.

Reproducible: Always

Steps to Reproduce:
1. Open a portrait imagem from Dolphin (in dolphin it previews correctly).
2. Let gwenview open the JPG
3. Rotating the image once;
4. Rotating the image once again;

Actual Results:  
1. Gewnview opens the selected photo.
2.The image appears rotated in landscape mode but resized to match portrait aspect ratio.
3. Produces the correct image view in portrait mode.
4. Displays it in correct landscape mode (using the full window).

Expected Results:  
1. N/A
2. The image should be shown in correct EXIF orientation from the top to the bottom of the window.
3. Should rotate to landscape orientation;
4. Should rotate back to portrait orientation;

This only happens in photos directly from my Canon DSLR.

If I rotate the image, save it and close gwenview. it then appears upside down in dolphin preview and when opened again in gwenview.

If I rotate the image again and save it, it now appears correctly in portrait mode.
Comment 1 Patrick 2015-04-25 15:12:41 UTC
I can confirm I have exactly the same issue and identical behaviour on the Steps to Reproduce.

Gwenview 5.0.0 pre
Kubuntu 15.04 64bit
KDE Plasma 5.2.2
Kernel 3.19.0-15-generic
Photos from Canon EOS 600D
Comment 2 Ondřej Hruška 2015-04-25 16:01:33 UTC
I reported this too and my bug 346384 was closed as duplicate, so yeah. I'm having the exact same issues. Arch Linux, XFCE, Gwenviewer 5.0.0 & git version, Linux 64bit
Comment 3 Christoph Feck 2015-05-02 22:08:45 UTC

*** This bug has been marked as a duplicate of bug 343044 ***
Comment 4 Edward Viesel 2015-05-20 19:24:21 UTC
Kubuntu 15.04, Gwenview 5.0.0pre.

Yes, identical problem here too. Fully reproducible. This is still happening today with a completely updated Kubuntu system.