Bug 476990

Summary: Allow entering small file sizes in the Advanced Search
Product: [Applications] digikam Reporter: nicu <biranicu>
Component: Searches-AdvancedAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: metzpinguin
Priority: NOR    
Version First Reported In: 8.2.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 8.2.0
Sentry Crash Report:

Description nicu 2023-11-14 13:52:55 UTC
Searching by file size is not complete and I wish it would be
STEPS TO REPRODUCE
1. go in advanced search
2. picture properties
3. file size

OBSERVED RESULT
The default, by clicking on the little arrow up, is 0,5MiB. You can go manually by typing as low as 0,1MiB. 

EXPECTED RESULT
As low as 1 kb. I know is kinda stupid (ok, a lot) but I am in need to find a lot of very small files and I wish digikam could do it , Thats all.

SOFTWARE/OS VERSIONS
Windows: 11
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11 (built against 5.15.11)

ADDITIONAL INFORMATION
Build date: 13/11/2023 06:11 (target: RelWithDebInfo)
Revision: 11fbfc7ffe8393055b992437caa9729000d74cfd
Branch: master
Comment 1 Maik Qualmann 2023-11-15 21:09:16 UTC
Git commit ac4b8966600307468117e5c36e65dc65be9aa8a6 by Maik Qualmann.
Committed on 15/11/2023 at 22:07.
Pushed by mqualmann into branch 'master'.

add a search in the byte range of the file size to the Advanced Search
FIXED-IN: 8.2.0

M  +1    -1    NEWS
M  +2    -1    core/libs/database/item/query/itemquerybuilder.cpp
M  +12   -0    core/utilities/searchwindow/searchfields.cpp
M  +4    -0    core/utilities/searchwindow/searchfields.h
M  +12   -1    core/utilities/searchwindow/searchfields_createfield.cpp
M  +1    -0    core/utilities/searchwindow/searchgroup.cpp

https://invent.kde.org/graphics/digikam/-/commit/ac4b8966600307468117e5c36e65dc65be9aa8a6