Bug 499620

Summary: Strange document display when hidden folder have files which can be previewed
Product: [Applications] dolphin Reporter: Sigmund <qwe2968>
Component: view-engine: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: a.samberg, demm, dolphin-bugs-null, justin, kde, kdebt.broom432, luluklzde, steve
Priority: NOR    
Version First Reported In: 24.12.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: smaller hidden folder
even smaller folder previews
even smaller folders
Same effect, apparently triggered by overlaid sync-status symbol.

Description Sigmund 2025-02-07 01:26:33 UTC
Created attachment 178037 [details]
smaller hidden folder

SUMMARY
Some folder icons are smaller than others in version 24.12.2. In 24.12.1, it is OK.

After testing, I found that when the hidden folder has files that can be previewed such as pdfs, the icon of the hidden folder becomes smaller than the other folders. Then, if change the hidden folder to unhidden, the icon display returns to normal.


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.13.1-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Comment 1 Sigmund 2025-02-07 01:31:13 UTC
STEPS TO REPRODUCE
1. Creat a hidden folder named ".xxx"
2. Add a pdf file in it
3. Its icon become smaller

OBSERVED RESULT
Its icon is smaller then others.

EXPECTED RESULT
Icon display becomes normal.
Comment 2 Justin Zobel 2025-02-07 09:30:03 UTC
Confirmed with 24.12.2 Flatpak
Comment 3 Luca Saalfeld 2025-02-07 14:09:18 UTC
Created attachment 178047 [details]
even smaller folder previews

This also happens to symlinks, e.g. `/bin`, `/lib`, `/lib64`, and `/sbin` when viewing root.

Also your "small" folders seem to be big in comparison. I have the same problem, but with much smaller "small" folders.
Comment 4 Luca Saalfeld 2025-02-07 14:10:26 UTC
I forgot to add that file previews are affected as well.
Comment 5 Luca Saalfeld 2025-02-09 21:54:08 UTC
Created attachment 178102 [details]
even smaller folders

The previews have become even smaller!
Comment 6 a.samberg 2025-02-10 15:10:58 UTC
Can confirm this behavior, and add *another trigger*, besides hidden folders: The same effect happens if a folder which contains previewable files is synced via nextcloud, and thus gets an overlayed sync-status symbol (e.g., a green checkmark). Attaching a screenshot...
Comment 7 a.samberg 2025-02-10 15:12:27 UTC
Created attachment 178115 [details]
Same effect, apparently triggered by overlaid sync-status symbol.
Comment 8 a.samberg 2025-02-10 15:19:19 UTC
... same for a symbolic link to a folder containing previewable files: The symbolic link gets an overlaid chain symbol to indicate it's a link, and its icon is smaller than the others. No nextcloud sync needed for this trigger.
Comment 9 steve 2025-02-12 20:04:11 UTC
I can confirm the issue is still present on Plasma 6.3 !!!

https://i.imgur.com/o2ggmTK.png