Bug 505533

Summary: Show folder.jpg (folder.png, cover.jpg…) as the only image in the directory thumbnail when present
Product: [Frameworks and Libraries] kio-extras Reporter: Piotr Doroszewski <piotrekd>
Component: Thumbnails and previewsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=410633
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Piotr Doroszewski 2025-06-12 16:08:49 UTC
OBSERVED RESULT
When a directory contains two to four images, all of them are shown in the thumbnail. When it contains more than four image, some four of them are shown.

By "images" I don't mean only images, but also other kinds of files with previews, like Blender models or text documents, etc.

EXPECTED RESULT
I wish that only the "main" image appeared in the thumbnail if it is present.

It is a custom that such a file should be named `folder.jpg` or `cover.jpg`, but I would also add support for PNG variants.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14
Qt Version:  6.9.1

ADDITIONAL INFORMATION
This feature was asked about by someone else a few years ago on Reddit, a possible way to implement this was discussed in the comments: https://www.reddit.com/r/kde/comments/ng5k17/is_there_a_way_to_automatically_show_folderjpg_or/