cosmic-files icon indicating copy to clipboard operation
cosmic-files copied to clipboard

[Bug] Some Images Rendered Rotated Even When They're Not

Open iamkartiknayak opened this issue 9 months ago • 4 comments

Issue/Description:
Certain images appear rotated in COSMIC Files despite being correctly oriented. Verified by Image Viewer and Nautilus, which display them correctly.

Version:

cosmic-files:
  Installed: `0.1.0~1741902591~24.04~fac5a25`

Expected Behavior:
Images should display with the correct orientation, matching their appearance in Image Viewer and Nautilus.

Other Notes:
Images were scanned copies.

iamkartiknayak avatar Mar 14 '25 13:03 iamkartiknayak

Is there an sample image that does this?

mmstick avatar Mar 14 '25 15:03 mmstick

There are many but they're all personal images so I didn't share

iamkartiknayak avatar Mar 14 '25 15:03 iamkartiknayak

@mmstick Try this image

Image

iamkartiknayak avatar Mar 16 '25 06:03 iamkartiknayak

checking this in an image exif viewer shows it's marked as Rotate 270 CW (gnome photo viewer calls it Bottom-left)

Image

it looks like, by default, gnome photo viewer ignores orientation unless explicitly enabled: https://help.gnome.org/users/eog/stable/preferences.html.en#view

Image

(unchecking Automatic Orientation and restarting shows the rotated view)

if there's a cosmic photo viewer in the works, then maybe it can be extrapolated as config and optionally read in cosmic files? just an idea - otherwise i guess you risk making images look funky one way or another

ellieplayswow avatar Mar 21 '25 20:03 ellieplayswow