Shotwell rotates images incorrectly

Bug #671789 reported by yesint on 2010-11-06
This bug affects 4 people
Affects Status Importance Assigned to Milestone
shotwell (Ubuntu)

Bug Description

Binary package hint: shotwell

Shotwell handles images taken in vertical orientation incorrectly. See screenshot. The thumbnail shows an image in correct orientation and with normal proportions.
Other viewers, such as Gthumb or F-spot display the same images correctly.

yesint (yesint4) wrote :

Thank you for your bug report. This is most likely the following bug: -- did you rotate the picture with an external application after you imported it to shotwell?
Which version of shotwell are you using?

Changed in shotwell (Ubuntu):
status: New → Incomplete
Omer Akram (om26er) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

Changed in shotwell (Ubuntu):
importance: Undecided → Low
yesint (yesint4) wrote :

These pictures were most likely rotated in Fspot or GThumb (don't remember exactly) and then imported into Shotwell 0.7.2.

Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

 * Is this reproducible?
 * If so, what specific steps should we take to recreate this bug?

 This will help us to find and resolve the problem.

Finn (a-launchpadbugs) wrote :

I can reproduce this bug:

Have shotwell open and a potrait picture with orientation tag in the EXIF data in your library. Now edit the picture with jhead:
"jhead -autorot pic.jpg" (This will rotate the image according to the orientation tag.)
Shotwell now displays the image as in the screenshot.

Restarting shotwell solves the problem.

spontex (spontex) wrote :

Same kind of bug here under Ubuntu 11.04 / Shotwell 0.9.3:

- Imported some pictures includinf portrait pictures.

- Ran Shotwell and saw the pictures fine. Closed Shotwell.

- Ran find . -iname "*.jpg" -exec jhead -autorot -ft -n"%Y-%m-%d %H-%M-%S" {} \;
in order to rename the files and to make the portrait pictures display correctly in the other applications

- Restarted Shotwell. The thumbnails are misshaped and the original size pictures appear rotated.
Restarting Shotwell does not solve this problem. Rotating the pictures inside Shotwell makes them appear Ok both in Shotwell and in the other applications.

- Another issue which may be related: Shotwell does not display all the files contained in my directories. I am constantly running rm -Rf ~/.shotwell to scan them again :-(

Shotwell 0.14.1 here.
Steps to (re)produce the bug:
1) import images without copying -> thumbnails and images are displayed correctly, as per the orientation tag
2) double click on a "vertical" (i.e. taken in portrait mode) photo
3) right click -> open with external editor (gimp)
4) gimp asks if I want to rotate or not -> yes, rotate
5) modify image, then save
6) shotwell starts eating 100% cpu and eventually crashes; when re-launched, the image is distorted (see screenshot)
issue 6) happens about 80% of the time.

For the record: photos were taken with a Canon 60D camera, and are located on an external ext4-foramtted USB hard drive.

Rotating the wrongly displayed photo in shotwell does not solve the problem.

Joseph Bylund (joseph-bylund) wrote :

This sounds very similar a bug that was fixed some time ago (I can't find the bug report now). I'd recommend upgrading to a more recent version of shotwell (I think the ubuntu repos should have 18.1?) and seeing if that fixes the issue.

I am still on 12.04.
I am planning to upgrade to 14.04 anyway, so I'll see if the Shotwell version that comes with that Ubu release fixes the issue.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.