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 757309 - Externally edited images are rendered with the wrong proportions
Externally edited images are rendered with the wrong proportions
Status: RESOLVED OBSOLETE
Product: shotwell
Classification: Other
Component: general
0.22.x
Other Linux
: Normal major
: ---
Assigned To: Shotwell Maintainers
Shotwell Maintainers
: 779560 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-10-29 13:35 UTC by Janne
Modified: 2020-04-18 11:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
externally edited image as saved on disk (left) and shown by Shotwell (right) (441.63 KB, image/jpeg)
2015-10-29 13:35 UTC, Janne
Details
output from running as suggested with gdb. (11.47 KB, text/plain)
2015-10-29 13:53 UTC, Janne
Details
Shotwell log file (21.08 KB, text/x-log)
2015-10-29 13:54 UTC, Janne
Details

Description Janne 2015-10-29 13:35:56 UTC
Created attachment 314397 [details]
externally edited image as saved on disk (left) and shown by Shotwell (right)

After you crop an image in Gimp (external editor) the image as shown will retain the proportions of the old image. The actual image on disk will be correct. 

Also, if the image was originally rotated - taken in portrait and marked as rotated by the camera - the resulting image is also shown unrotated.

In the attached example, the edited image is on the left (image viewer) and the same image file as shown by Shotwell is on the right. Note that the right-hand image has the longer, narrower proportions of the original vertically shot picture. Also, obviously, the image itself is rotated, then squashed/stretched to fill those original proportions.

This started happening from 0.22.0 as shipped in Ubuntu 15.10. The previous versions in Ubuntu 15.04 were fine.
Comment 1 Janne 2015-10-29 13:53:05 UTC
Additional info: 

* This only happens with images I actually edit externally with the new version of Shotwell. Previously edited images show up just fine.

* For whatever reason, I can "star" these images but the "stars" don't stick. If I quit Shotwell and start it again, they're gone. This happens only for the images I have edited externally. With other images I can change the rating and they'll stick.

* Significantly, when I start external editor, Shotwell crashes. I tried to generate a backtrace as described, but unfortunately I don't seen able to get a gdb prompt again. I attach what I can.
Comment 2 Janne 2015-10-29 13:53:38 UTC
Created attachment 314398 [details]
output from running as suggested with gdb.
Comment 3 Janne 2015-10-29 13:54:07 UTC
Created attachment 314399 [details]
Shotwell log file
Comment 4 Jens Georg 2016-04-16 17:56:14 UTC
(In reply to Janne from comment #1)

> * Significantly, when I start external editor, Shotwell crashes. I tried to
> generate a backtrace as described, but unfortunately I don't seen able to
> get a gdb prompt again. I attach what I can.

That's Bug 759403
Comment 5 Jens Georg 2020-04-18 11:37:37 UTC
Will be tracked as https://gitlab.gnome.org/GNOME/shotwell/-/issues/230
Comment 6 Jens Georg 2020-04-18 11:47:28 UTC
*** Bug 779560 has been marked as a duplicate of this bug. ***