[dolphin] [Bug 457935] Conflict with MIME type and preview

MILAS Robin bugzilla_noreply at kde.org
Wed Aug 17 05:12:15 BST 2022


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

--- Comment #5 from MILAS Robin <milas.robin at live.fr> ---
Ok so I finally found the cause.
This is due to KFileItemModel using setDelayedMimeTypes(true) on its
KDirListener.
This means that the mimetype is determined by file extension EXCEPT when item
are sorted by types.
Meaning that my preview does not work when files are sorted by names, but does
display when files are sorted by types !!
I'm gonna take a look a bit latter to try to see where this can be fix.
There still be some other strange behaviour, which I think might be due to more
time to execute full mime research on files when in a big folder because for a
strange reason the preview and mimetype does work in my download folder without
being sorted by types

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list