Bug 504048

Summary: Duplicate Result Table uses different Units than Search Dialogue
Product: [Applications] digikam Reporter: jan.sende
Component: Searches-SimilarityAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version First Reported In: 8.6.0   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In: 8.7.0
Sentry Crash Report:
Attachments: Screenshot

Description jan.sende 2025-05-11 08:52:53 UTC
Created attachment 181166 [details]
Screenshot

SUMMARY
- The duplicate result table currently shows the similarity score as floating point number, e.g. 0.98
- The search dialogue as well as the maintenance dialogue however, show the similarity score as percent, e.g. 98%
- As both entries show the same number, they should use the same unit as well. For easy understanding using percent everywhere seems like the obvious choice.
Comment 1 caulier.gilles 2025-05-12 04:18:03 UTC
Git commit 5e4ca5d31044e63b59771141a05aae18176fb06a by Gilles Caulier.
Committed on 12/05/2025 at 04:16.
Pushed by cgilles into branch 'master'.

Show the average similarity in percent instead [0.0 - 1.0] float value to be homogeneous with the similarity search settings.
FIXED-IN: 8.7.0

M  +1    -1    NEWS
M  +7    -7    core/utilities/fuzzysearch/findduplicatesalbum.cpp
M  +1    -1    core/utilities/fuzzysearch/findduplicatesalbumitem.cpp
M  +8    -6    core/utilities/fuzzysearch/findduplicatesalbumitem.h

https://invent.kde.org/graphics/digikam/-/commit/5e4ca5d31044e63b59771141a05aae18176fb06a