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

Alexander Lohnau <alexander.loh...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/commit/871a33109
                   |                            |97badd5f944f851622c04094c7b
                   |                            |152c

--- Comment #19 from Alexander Lohnau <alexander.loh...@gmx.de> ---
Git commit 871a3310997badd5f944f851622c04094c7b152c by Alexander Lohnau.
Committed on 31/05/2022 at 16:01.
Pushed by alex into branch 'master'.

PreviewJob: Resolve parent mime types before checking wildcards

If we have a thumbnailer with a wildcard and the mime type does not exactly
match, we would
very likely ignore the parent mime type checks and use the thumbnailer with the
wildcard.

In case of the raw-thumbnailer, only the parent mime type of all raw images is
registered.
But with the change of the imagethumbnailer to have a wildcard-mimetype, we
never call it.

Considering that the wildcards should be used as a fallback, checking it last
is reasonable anyways.

M  +14   -15   src/widgets/previewjob.cpp

https://invent.kde.org/frameworks/kio/commit/871a3310997badd5f944f851622c04094c7b152c

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

Reply via email to