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

--- Comment #4 from David Faure <fa...@kde.org> ---
@Nicolas I'm very surprised.
tst_QMimeDatabase::suffixes_data() makes sure that
db.mimeTypeForName("image/jpeg") returns a QMimeType that says
preferredSuffix() == "jpg", when using (only) the shared-mime-info mimetype
definitions. Would you happen to have anything else in /usr/share/mime/packages
or ~/.local/share/mime/packages?
For investigation you can use
grep image/jpeg /usr/share/mime/globs2 
grep image/jpeg ~/.local/share/mime/globs2
Here I get the expected 4 lines from the first grep, and nothing from the
second grep.
And /usr/share/mime/image/jpeg.xml has all 4, with *.jpg first (which is what
makes it the preferred suffix).
Do you (or anyone else here) get different results?

*.jfif was added in shared-mime-info 2.4 (latest release), earlier releases are
not relevant indeed.
But make sure you don't have two versions installed at the same time.

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

Reply via email to