https://bugs.kde.org/show_bug.cgi?id=473449

            Bug ID: 473449
           Summary: Duplicate search restriction is sometimes ignored
    Classification: Applications
           Product: digikam
           Version: 8.1.0
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Searches-Similarity
          Assignee: digikam-bugs-n...@kde.org
          Reporter: mas_masterandserv...@outlook.de
  Target Milestone: ---

Created attachment 161004
  --> https://bugs.kde.org/attachment.cgi?id=161004&action=edit
Faulty result

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Searching with restrictions does not always seem to work properly and returns
unexpected results.

I tested with 2 albums ( A and B ) and used 3 different images ( 1, 2 and 3 ).
The albums are structured as follows:

Root
  + A ( 1, 1, 3 )
  + B ( 1, 1, 2, 2, 3 )


STEPS TO REPRODUCE
1. Search in both albums for duplicates with the restriction "Exclude Reference
Album".
2. Now add the configuration that the reference should be in a different album
than A

OBSERVED RESULT
Now duplicates are found in both albums. But in A only 1 of 2 and in B the
reference and the other duplicate.

EXPECTED RESULT
I expected that both duplicates are found in A and in B only the reference is
present.

See also screenshot

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

ADDITIONAL INFORMATION
Perhaps the search is also easier to handle and implement if the search is
redesigned in such a way that one can directly specify where to search for the
references and where to delete.

This would mean that the reference set R and the set of duplicates D to be
deleted or found could be defined as follows:

R=D ( General search for duplicates in the whole database ).
R≠D ( E.g. matching of an import with a certain other image set )
S∩D or S∪D ( Restriction to certain sets )

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to