Bug 476990 - Allow entering small file sizes in the Advanced Search
Summary: Allow entering small file sizes in the Advanced Search
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Searches-Advanced (other bugs)
Version First Reported In: 8.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-14 13:52 UTC by nicu
Modified: 2023-11-15 21:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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