After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 776782 - EXIF orientation/rotation tag is ignored when setting background
EXIF orientation/rotation tag is ignored when setting background
Status: RESOLVED DUPLICATE of bug 783125
Product: gnome-shell
Classification: Core
Component: general
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2017-01-02 22:48 UTC by Marcin Zajaczkowski
Modified: 2017-05-26 12:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marcin Zajaczkowski 2017-01-02 22:48:10 UTC
Please describe the problem:
If you choose as a Background in gnome-shell a JPEG image that has an EXIF rotation bit set, the image will use as a landscape image while in fact it has a portrait orientation.

Steps to reproduce:
1. Take any portrait JPEG image with orientation set in EXIF.
2. Set it as a background (e.g. with "Change background").

Actual results:
The correct image is visible on the desktop, but it is not rotated (it's treated as a portrait image).

Expected results:
I expected the correct image to both be visible and correctly rotated (the portrait orientation should be kept).

Does this happen every time?
Yes.

Other information:
An orientation detection works fine in most of the image viewers (including Shotwell, GIMP or Shutter).
Examples pictures in different orientations:
https://github.com/recurser/exif-orientation-examples
An explanation of the Orientation tag in exif:
https://beradrian.wordpress.com/2008/11/14/rotate-exif-images/

The description has been based on a related issue for libgnome-desktop - bug 516177.
Comment 1 Florian Müllner 2017-05-26 12:29:28 UTC
Bug 783125 has a patch, closing.

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