Bug 491139

Summary: [Feature Request] Dolphin Dynamic/Adaptive view mode for pictures/videos
Product: [Applications] dolphin Reporter: szucsilikes00
Component: view-engine: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: 4wy78uwh, dolphin-bugs-null, fanzhuyifan, go_noisemaker, kdedev, kurobac, mail, postix
Priority: NOR Keywords: junior-jobs, usability
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description szucsilikes00 2024-08-01 19:48:50 UTC
When someone opens a folder containing images you want to see what is in the image but not want to open it because going through hundreds of images can take some time especially when you don't remember what was the images name or the images name is the date when that image was made and you don't remember when you made that image, with icons view mode you can just quickly check the images and you could find it much faster than opening every single image.

When you enter a folder and if the most of the contents is videos or images then show the folder in icons view mode, if the folder's content majority isn't videos or images then use the previous view mode.

There should be a toggle for this because most people who use kde might not want this.
Comment 1 TraceyC 2024-12-05 15:56:55 UTC
This seems reasonable to consider
Comment 2 Ahmet Hakan Çelik 2025-01-15 17:05:16 UTC
I can try to develop this feature if it's okay
Comment 3 Méven 2025-05-28 10:33:58 UTC
Git commit edda24eb851c2647f7dde01885008ef60fcadd9a by Méven Car, on behalf of Victor Blanchard.
Committed on 28/05/2025 at 10:33.
Pushed by meven into branch 'master'.

dolphinview: Add a dynamic view option

Added a 'dynamic view' option, which allows to switch from a 'compact' or 'details' view to an 'icons' view if most of the files in the directory are images or videos. It reverts to the previous view mode when we switch to a directory which doesn't meet that criteria.

The view mode is only changed once so users don't have to undo that for specific folders when they don't want icon view.

A setting is added in the "Display style" section of the general view setting page.

M  +5    -0    src/settings/dolphin_directoryviewpropertysettings.kcfg
M  +4    -0    src/settings/dolphin_generalsettings.kcfg
M  +6    -0    src/settings/viewmodes/generalviewsettingspage.cpp
M  +1    -0    src/settings/viewmodes/generalviewsettingspage.h
M  +83   -1    src/tests/dolphinmainwindowtest.cpp
M  +46   -0    src/views/dolphinview.cpp
M  +5    -0    src/views/dolphinview.h
M  +13   -0    src/views/viewproperties.cpp
M  +3    -0    src/views/viewproperties.h

https://invent.kde.org/system/dolphin/-/commit/edda24eb851c2647f7dde01885008ef60fcadd9a
Comment 4 szucsilikes00 2025-08-03 16:58:34 UTC
I think it would be better if icon view would be used when more than half of the files are media and folders should be ignored.

 I have a folder where I only have 8 not media files which is less than 1/3rd of the files but because folders also count (there are 9 folders) it pushes it to be more than 1/3rd of the files are not media files so it uses the other view mode. In this case there is no reason not to be in icon view.
Comment 5 TraceyC 2025-08-04 17:40:30 UTC
(In reply to szucsilikes00 from comment #4)
> I think it would be better if icon view would be used when more than half of
> the files are media and folders should be ignored.
> 
>  I have a folder where I only have 8 not media files which is less than
> 1/3rd of the files but because folders also count (there are 9 folders) it
> pushes it to be more than 1/3rd of the files are not media files so it uses
> the other view mode. In this case there is no reason not to be in icon view.

This would be a separate feature request. Please open a new report for it. Thanks!