Bug 513797 - Add “Modified within last X time” option to Advanced Search
Summary: Add “Modified within last X time” option to Advanced Search
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Searches-Advanced (other bugs)
Version First Reported In: 8.8.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-25 10:35 UTC by zroutik
Modified: 2026-02-20 06:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zroutik 2025-12-25 10:35:05 UTC
SUMMARY
Make it easier to search for recently modified photos by adding a direct “Modified X seconds/minutes/hours/days ago” option.

STEPS TO REPRODUCE

Open Advanced Search

Go to: Item Properties → Modified

The only usable option for recent edits is “time between”, requiring checking the current date and time and manual date/time input

OBSERVED RESULT
Searching for recently modified items requires manually setting exact date and time intervals, which is inconvenient and slow for common workflows such as face tagging, metadata cleanup, or validating recent edits.

EXPECTED RESULT
Provide a simpler UX option to search for changes made recently, for example:

Modified within the last: [numeric field] [seconds / minutes / hours / days]

This would allow quick and precise “recently modified” filtering without manually editing timestamps.

SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma: Zorin OS 17.3 Education
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:

ADDITIONAL INFORMATION
Alternative fallback (less preferred):
Add a button to set both “from” and “to” timestamps to “Now”, so the user only adjusts the numeric part manually. However, a dedicated “modified within last …” UI would be clearer, more controllable, and faster.
Comment 2 caulier.gilles 2026-02-20 04:38:43 UTC
Git commit d7a4917c3981db67f8cf308f4d3180fff47924bb by Gilles Caulier.
Committed on 20/02/2026 at 04:37.
Pushed by cgilles into branch 'master'.

code review and polish

M  +56   -15   core/utilities/searchwindow/searchfields.h
M  +59   -12   core/utilities/searchwindow/searchfields_recentmodified.cpp

https://invent.kde.org/graphics/digikam/-/commit/d7a4917c3981db67f8cf308f4d3180fff47924bb
Comment 3 caulier.gilles 2026-02-20 06:34:50 UTC
Git commit d159f64ba64cbbb1294f012cc009a8dcbe8460ab by Gilles Caulier.
Committed on 20/02/2026 at 06:33.
Pushed by cgilles into branch 'master'.

Disable copy and equality constructors

M  +60   -6    core/utilities/searchwindow/searchfields.h

https://invent.kde.org/graphics/digikam/-/commit/d159f64ba64cbbb1294f012cc009a8dcbe8460ab
Comment 4 caulier.gilles 2026-02-20 06:45:31 UTC
Git commit eea2e91b16f1f26864b573d328f0fada62c158c2 by Gilles Caulier.
Committed on 20/02/2026 at 06:43.
Pushed by cgilles into branch 'master'.

NEWS file + Welcome Page View: Add new advanced search items recently modified in the database feature.

M  +2    -1    NEWS
M  +2    -1    core/app/views/stack/welcomepageview.cpp

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