| Summary: | Folder thumbnails fail to generate on bcachefs file system | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Mikhail Morozov <wexo.hadujobo> |
| Component: | general | Assignee: | KIO Bugs <kio-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | kdedev, kdelibs-bugs-null, wexo.hadujobo, windows2linux |
| Priority: | NOR | ||
| Version First Reported In: | 6.16.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=507493 | ||
| Latest Commit: | https://invent.kde.org/frameworks/kio/-/commit/8a713b01dd94027a8869b8dc417af162f61abac2 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Folder with and without a thumbnail | ||
|
Description
Mikhail Morozov
2025-07-25 19:30:08 UTC
Maybe it's related to this bug? https://bugs.kde.org/show_bug.cgi?id=501882 > It seems on bcachefs stat'ing any folder results in the reported size always being 0.
This seems to be true with folders on an SMB share (mounted with cifs).
I think you found the culprit why this affects SMB also. :)
I believe since the bug is the same and the factors that determine it are the same (which affects SMB and bcachefs, and anywhere else that a folder's size is "0"), this can be marked as a duplicate of the bug from 5 months ago: https://bugs.kde.org/show_bug.cgi?id=501882 *** This bug has been marked as a duplicate of bug 501882 *** Created a merge request at https://invent.kde.org/frameworks/kio/-/merge_requests/2004 Git commit 8a713b01dd94027a8869b8dc417af162f61abac2 by Méven Car, on behalf of Mikhail Morozov. Committed on 24/09/2025 at 08:39. Pushed by meven into branch 'master'. filepreviewjob: Don't apply size check to directories If a folder is situated on a bcachefs partition (or any other directory with 0 sized directory entry) its icon in Dolphin will not display thumbnails of its contents regardless of the preview options. Judging by the log line `"PreviewJob: skipping an empty file, migth be a broken symlink"`, the size check should only apply to files not folders. Related: bug 501882 M +2 -2 src/gui/filepreviewjob.cpp https://invent.kde.org/frameworks/kio/-/commit/8a713b01dd94027a8869b8dc417af162f61abac2 |