#895335 geeqie: edit-orientation corrupts EXIF in image

Package:
geeqie
Source:
geeqie
Description:
image viewer using GTK+
Submitter:
js jb
Date:
2026-10-22 17:39:20 UTC
Severity:
important
Tags:
#895335#5
Date:
2018-04-10 01:07:09 UTC
From:
To:
Dear Maintainer,

===================================================================

I noticed that in a handful of cases (26 jpegs out of 529), the EXIF information as seen by exiftool was incorrect;the lens type was a list (see below) instead of a specific type.
Several tests with the camera and lens showed no problem with the EXIF.
I stumbled on the error and can now reproduce it; the problem is using any of the Edit->Orientation functionsin geeqie. Here is an example; after applying a rotate operation from geeqie, lens info is corrupted:

2018 => exiftool A6K01199.JPG | grep -i Lens
Lens Type                       : E-Mount, T-Mount, Other Lens or no lens
Lens Spec                       : E PZ 18-105mm F4 G OSS
Lens Mount 2                    : E-mount
Lens Type 3                     : Sony E PZ 18-105mm F4 G OSS
Lens E-mount Version            : 1.41
Lens Firmware Version           : Ver.04.003
Lens Mount                      : E-mount
Lens Format                     : APS-C
Lens Type 2                     : Sony E PZ 18-105mm F4 G OSS
Lens Spec Features              : E PZ G OSS
Lens Info                       : 18-105mm f/4
Lens Model                      : E PZ 18-105mm F4 G OSS
Lens ID                         : Sony E PZ 18-105mm F4 G OSS

["Apply the orientation to the image content"]  (also happens with losslessly rotate functions)

2018 => exiftool A6K01199.JPG | grep -i Lens
Lens Type                       : E-Mount, T-Mount, Other Lens or no lens
Lens Spec                       : Unknown (01 0 1 0 0 00)
Lens Mount 2                    : Unknown (97)
Lens Type 3                     : Unknown (38213)
Lens E-mount Version            : 47.61
Lens Firmware Version           : Ver.cf.069
Lens Mount                      : Unknown
Lens Format                     : Unknown
Lens Spec Features              :
Lens ID                         : Sony E 16-70mm F4 ZA OSS or Sony FE 24-70mm F4 ZA OSS or Sony E PZ 18-105mm F4 G OSS or Sony FE 24-105mm F4 G OSS or ...

I have verified this does NOT happen when rotating the images with ristretto.
This is a serious issue if one takes large numbers of pictures, views them and later depends on the EXIF data.
===================================================================