Summary: | Desktop Image thumbnails broken with KIO 5.83 | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Juan Méndez <vpsink> |
Component: | general | Assignee: | KIO Bugs <kio-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugseforuns, halftough29a, jajdorkster, kde, kdelibs-bugs, lx.combox, nate, notmart, plasma-bugs, tagwerk19, vmordstein |
Priority: | VHI | Keywords: | regression |
Version: | 5.83.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kio/commit/2c01ea964f53aba93afaf22e3e63b2ec30e2e3a0 | Version Fixed In: | 5.85 |
Sentry Crash Report: |
Description
Juan Méndez
2021-06-15 18:58:45 UTC
Can reproduce. If I restart plasmashell, some but not all of the missing thumbnails are displayed, but others are still missing. Saving a new image to the desktop results in it never immediately getting its thumbnail as expected, though. (In reply to Nate Graham from comment #1) > Can reproduce. If I restart plasmashell, some but not all of the missing > thumbnails are displayed, but others are still missing. Saving a new image > to the desktop results in it never immediately getting its thumbnail as > expected, though. Exactly. I noticed that this is not only affecting image previews, but also font (ttf/otf) and audio (mp3/flac) album art previews. I suspect the whole thumbnail backend used in the desktop part of KDE is somehow broken or buggy ATM. Can confirm. At a glance like a regression from e56893b087ef021706ee4623dcadfc495fba528c It probably thinks desktop:/ is a remote location and/or gets confused in canBeCached by failing to get the parent device ID or whatever. In any case, it does not handle it properly. I wonder if that affects other "local" protocols like filenamesearch or recentlyused, too. Still here with KDE neon 5.22 with KDE Plasma 5.22.2 In Dolphin I also see existing thumbnails randomly disappear as I scroll through the view.. I suggest we revert that commit unless we find a different solution. commit e56893b087ef021706ee4623dcadfc495fba528c from KIO repository Just as a note: You can temporarily fix this issue by installing an older kio version (kio-5.82.0-1 doesn't seem to be affected). *** Bug 439568 has been marked as a duplicate of this bug. *** marcin, could you take a look into this? Thanks! Git commit 2c01ea964f53aba93afaf22e3e63b2ec30e2e3a0 by Nate Graham, on behalf of Marcin Gurtowski. Committed on 02/08/2021 at 16:54. Pushed by ngraham into branch 'master'. Fix creating thumbnails for items under desktop:/ By using KFileItem::localPath() which will return url.toLocalFile() or UDS_LOCAL_PATH, so it works for all URLS. FIXED-IN: 5.85 M +1 -1 src/widgets/previewjob.cpp https://invent.kde.org/frameworks/kio/commit/2c01ea964f53aba93afaf22e3e63b2ec30e2e3a0 |