Bug 437655 - Store fuzzy search without a name
Summary: Store fuzzy search without a name
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Searches-Similarity (show other bugs)
Version: 7.3.0
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-25 12:15 UTC by herb
Modified: 2021-05-25 18:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 7.3.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description herb 2021-05-25 12:15:59 UTC
SUMMARY
Using digiKam 7.3.0 snapshot 24.5.2021 it is possible to store a fuzzy-search without a name. 


STEPS TO REPRODUCE
1. Start a fuzzy search that gives some results.
2. Enter a name for this search; now the button to store it becomes enabled.
3. Clear the name field and press button to store the search

OBSERVED RESULT
Search is stored with no name assigned

EXPECTED RESULT
This search should only be stored in case of the name-field is not empty.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2021-05-25 18:50:16 UTC
Git commit a0e2b46afd4ea39549a7c89afab0b0d6e1e70643 by Maik Qualmann.
Committed on 25/05/2021 at 18:49.
Pushed by mqualmann into branch 'master'.

fix update the save button enabled state
FIXED-IN: 7.3.0

M  +2    -1    NEWS
M  +4    -5    core/utilities/fuzzysearch/fuzzysearchview_similar.cpp
M  +2    -5    core/utilities/fuzzysearch/fuzzysearchview_sketch.cpp

https://invent.kde.org/graphics/digikam/commit/a0e2b46afd4ea39549a7c89afab0b0d6e1e70643