Bug 372972

Summary: Find duplicates "search in drop down" only shows 1 item
Product: [Applications] digikam Reporter: jpnutty1
Component: Searches-SimilarityAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, mario.frank
Priority: NOR    
Version: 5.1.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:
Attachments: screen shot

Description jpnutty1 2016-11-26 23:26:00 UTC
Created attachment 102461 [details]
screen shot

I am running Windows 10, and as of this moment I have only one issue. When you choose the "fuzzy" tab on the left side and then attempt to expand the drop down for 'Search in' albums drop down. It will only show the first of the list. no other folders are shown. This works fine on my linux machine
Comment 1 caulier.gilles 2016-11-28 11:44:21 UTC
It's the same in Advanced Search tool ?

How many albums do you create in your collection ?

Gilles Caulier
Comment 2 caulier.gilles 2016-11-28 11:44:54 UTC
Also, can you test with digiKam 5.3.0 ?

Gilles Caulier
Comment 3 Mario Frank 2017-02-28 13:13:41 UTC
Here is the link where the current AppImages and Windows versions of the 5.5.0 pre-release are distributed by Gilles:

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Can you test the following:
If your drop-down-menu shows only one entry, double-click it. It should expand into the album tree. I had the same problem and it worked.

Cheers,
Mario
Comment 4 Mario Frank 2017-04-03 09:23:18 UTC
Git commit 5bb8e75151f1a2ca5ade6a8ea7b3c1e349996f54 by Mario Frank.
Committed on 03/04/2017 at 09:16.
Pushed by mfrank into branch 'master'.

Fix some minor glitches in fuzzy search sidebar:
1) In a fresh installation, the root albums in the album selection box in duplicates search are not automatically expanded.
Though this is no bug (expanding is possible via double-click), we now automatically expand the root albums to not confuse users.
if nothing was expanded, yet.
2) In duplicates search, the last similarity thresholds are saved. But after restart, one the range of the max similarity
threshold is 90-100 until the min similarity is changed. This is an ugly glitch. Fixed that.
3) The computation of the similar images had a glitch when max similarity = min similarity (e.g. 50%) The results were only
the ones with exactly 50.00 % but not also results with 50.xy as it should be. Fixed that.
4) The xml structure of the haar search queries for fuzzy and sketch search were not wellformed (the closing "search" tag was missing)
Related: bug 353331

M  +2    -1    NEWS
M  +3    -0    app/utils/searchmodificationhelper.cpp
M  +24   -7    libs/album/albumtreeview.cpp
M  +7    -1    libs/database/haar/haariface.cpp
M  +1    -1    utilities/fuzzysearch/findduplicatesview.cpp

https://commits.kde.org/digikam/5bb8e75151f1a2ca5ade6a8ea7b3c1e349996f54