Bug 508304

Summary: Dynamic view should ignore folders.
Product: [Applications] dolphin Reporter: szucsilikes00
Component: view-engine: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: NEEDSINFO WAITINGFORINFO    
Severity: normal CC: dolphin-bugs-null, meven
Priority: NOR    
Version First Reported In: 25.08.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description szucsilikes00 2025-08-15 17:57:18 UTC
Folders are not (really) files and it could happen that a folder has a lot of images/videos and have enough folders to not use icon view even it would be better to use it.
Comment 1 Méven 2025-09-10 12:50:45 UTC
What would you suggest in those situations:

a folder containing 20 folders and 50 images ?
a folder containing 50 folders and 20 images ?
a folder containing  50 folders and 50 images ?

Same question adding 20 or 50 non-image files to the folders.

What should Dynamic view should do, at which threshold ?
Comment 2 szucsilikes00 2025-09-13 18:52:37 UTC
(In reply to Méven from comment #1)
> What would you suggest in those situations:
> 
> a folder containing 20 folders and 50 images ?
> a folder containing 50 folders and 20 images ?
> a folder containing  50 folders and 50 images ?
> 
> Same question adding 20 or 50 non-image files to the folders.
> 
> What should Dynamic view should do, at which threshold ?

We could add an "Ignore folders" toggle.

I personally think that folders aren't files so I would it, if they were ignored, but some people might want to include folders as well in the check.

I make a fork to show what I mean.
Comment 3 szucsilikes00 2025-09-13 19:47:19 UTC
> I make a fork to show what I mean.

Here is the fork: https://invent.kde.org/ccmenta/dolphin/-/tree/ccmenta-IgnoreFolders-patch-482b?ref_type=heads
Comment 4 szucsilikes00 2025-09-13 19:51:23 UTC
> What should Dynamic view should do, at which threshold ?

I think 50% would be good. We could also multiply with floating numbers which would gives more accurate result, and we could add a slider so the user can decide when should the view mode change.
Comment 5 Bug Janitor Service 2025-09-28 03:46:17 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Méven 2025-09-30 08:27:52 UTC
(In reply to szucsilikes00 from comment #3)
> > I make a fork to show what I mean.
> 
> Here is the fork:
> https://invent.kde.org/ccmenta/dolphin/-/tree/ccmenta-IgnoreFolders-patch-
> 482b?ref_type=heads

Open a MR if you want a review. Fetching code from private repository is not scalable.