[dolphin] [Bug 508305] New: Dynamic view should change view when 50% of the folder's content is image/video.
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Fri Aug 15 19:10:27 BST 2025
https://bugs.kde.org/show_bug.cgi?id=508305
Bug ID: 508305
Summary: Dynamic view should change view when 50% of the
folder's content is image/video.
Classification: Applications
Product: dolphin
Version First 25.08.0
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: view-engine: general
Assignee: dolphin-bugs-null at kde.org
Reporter: szucsilikes00 at gmail.com
CC: kfm-devel at kde.org
Target Milestone: ---
I think it would be better if icon view is used when 50% of the folder's
content is images or videos.
The best way to do it if we divide the total items with "float(2)". 2.0 would
result in double and here we don't care that much about accuracy so using float
should be better than double. Dividing with a float number could allow us to
change what percentage is needed to switch to icon view so instead of dividing
with 2.0 we could multiply with 0.5 and we can have a slider to change the
threshold.
Also integer variables for Dynamic view is set with "uint" instead of "int".
Only Dynamic view uses uint and as far as I'm aware uint is undefined in c++
and nowhere else in the code uint is used this should be change to normal int.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list