SUMMARY After the recent upgrade of kf5, I'm unable to see krita file previews. When checking preview plugins in dolphin, by default krita thumbnails are disabled, however they are generated anyway. That also happens on new configurations and in clean user environments. When turning it on, krita thumbnails stop generating and [PreviewSettings] block in ~/.config/doplhinrc contains 'kraorathumbnail', however I managed to figure out that thumbnails are now generated with 'kritathumbnail'. Adding it to the [PreviewSettings] block in ~/.config/doplhinrc instead of 'kraorathumbnail' enables krita previews. STEPS TO REPRODUCE 1. Enable or disable krita previews in dolphin settings. OBSERVED RESULT No .kra thumbnails in dolphin EXPECTED RESULT .kra thumbnails in dolphin SOFTWARE/OS VERSIONS KDE Plasma Version: 5.23.4 KDE Frameworks Version: 5.89.0 Qt Version: 5.15.2
A possibly relevant merge request was started @ https://invent.kde.org/network/kio-extras/-/merge_requests/142
I have encountered similar bug. The workaround mentioned in the MR mentioned above: "To try it out on a live system, simply rename /usr/share/kservices5/kraorathumbnail.desktop to /usr/share/kservices5/kritathumbnail.desktop" does not work for me. Strangely enough it helps viewing .kra files in Gwenview, which was not possible at all before applying the workaround. BUT Gwenview shows only files created cca after 10th of January this year - which more or less correlates with openSUSE Tumbleweed upgrading to kde-frameworks 5.90 system info Operating System: openSUSE Tumbleweed 20220128 KDE Plasma Version: 5.23.90 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.16.2-1-default (64-bit) Graphics Platform: Wayland
edit the mentioned workaround does indeed work. Sorry for confusion.
A possibly relevant merge request was started @ https://invent.kde.org/network/kio-extras/-/merge_requests/144
Git commit b57090507680a265b89eb341c2b8c3a53a247219 by Nate Graham, on behalf of Alexander Lohnau. Committed on 06/03/2022 at 17:47. Pushed by ngraham into branch 'release/21.12'. Fix id of krita thumbnailer not matching it's desktop name Before KIO used KPluginMetaData for the thumbnailers, we would use the DesktopEntryName for identifying the plugins. Because the desktop files define no id, we would derive the id from the library filename instead of the desktop name. Consequently we should set the id to make sure the plugin can be correctly identified. M +1 -0 thumbnail/kraorathumbnail.desktop https://invent.kde.org/network/kio-extras/commit/b57090507680a265b89eb341c2b8c3a53a247219
*** Bug 447906 has been marked as a duplicate of this bug. ***