https://bugs.kde.org/show_bug.cgi?id=477961

Nicolas Fella <nicolas.fe...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
                 CC|                            |fa...@kde.org
             Status|REPORTED                    |CONFIRMED

--- Comment #3 from Nicolas Fella <nicolas.fe...@gmx.de> ---
https://gitlab.freedesktop.org/xdg/shared-mime-info/-/commit/35eca7eccc1a56a1d195af43ff37c8a7f7fbd67b
added .jfif as an additional extension to image/jpeg.

When saving the image we use QMimeDataBase/QMimeType to get the extension for
image/jpeg:
https://invent.kde.org/frameworks/kio/-/blob/master/src/filewidgets/kfilewidget.cpp#L2257

mime.preferredSuffix() gives us jfif, presumably because that comes first in
the alphabet and there is no other preference specified in shared-mime-info.
I'd expect either *.jpeg or *.jpg to be the preferred one since those are the
commonly used ones. David, something to fix in shared-mime-info?

mime.globPatterns() gives ("*.jfif") only, I'd expect that to return all globs
specified in shared-mime-info. A bug in QMimeDataBase?

The fact that QImageReader doesn't know jfif is probably another bug in itself

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to