Bug 497946 - Gwenview can't save rotated JPEG images anymore
Summary: Gwenview can't save rotated JPEG images anymore
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 24.08.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-27 15:41 UTC by Tobias Leupold
Modified: 2025-01-06 19:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 24.12.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Leupold 2024-12-27 15:41:49 UTC
Using 24.08.3 on Gentoo Linux (and also previous versions, I think this happened somewhere in the KF6 transition), Gwenview can't save rotated JPEG images anymore.

Steps to reproduce:
- Open some JPEG image
- Show Editing Tools
- Rotate Right
-Save

An error message saying "Gwenview cannot save images in 'jfif' format." pops up. The processed image is not "jfif", but a good ole JPEG file. Happens with all of my photos I would like to rotate.

My current workaround is to use jpegtran on the console, but this sucks ;-)
Comment 1 John Kizer 2025-01-06 02:15:39 UTC
Hi - could you please check in your System Settings > Default Applications > File Associations, search for jpeg above the Known Types section, and then check the Filename Patterns on the right (potentially across each of the Known Types) to see if *.jfif is listed there? I'm wondering if this is another manifestation of https://bugs.kde.org/show_bug.cgi?id=433176 , which is ultimately the same root issue as https://bugs.kde.org/show_bug.cgi?id=439519 .

It would also be worth double-checking to see if this exists in the latest version, which would be available via Flatpak if it's not yet distributed by Gentoo, as I can't personally reproduce the issue by following those steps on Gwenview 24.12.0, Fedora KDE 41.

Thanks!
Comment 2 Tobias Leupold 2025-01-06 09:47:36 UTC
image/jpeg lists *.jfif, *.jpe, *.jpeg and *.jpg.

I just tried it with 24.12.0, and I can confirm it does not happen with that version.
Comment 3 John Kizer 2025-01-06 19:32:27 UTC
Glad it's working there, then! I'm checking on that other bug report to see if others with similar issues also have them resolved using that version.

Thanks for checking!