Bug 420789

Summary: Facetag dropdown list is too narrow
Product: [Applications] digikam Reporter: Roger F <roger.foss>
Component: Faces-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 7.0.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Face nametag dropdown list too narrow

Description Roger F 2020-04-30 08:59:31 UTC
Created attachment 128019 [details]
Face nametag dropdown list too narrow

SUMMARY
The dropdown list that shows suggested names when searching for name tags for faces is too narrow if you have several similar long names or long tag paths.

Example: 
I've organized my tags in a hierarchy, something like:
People/
  Collegues/
     Company/
         Roger Dodger
   Families/
       Norm Gundersson/
            Roger Gunderson
   Friends/
      Jenny/
          Roger Handsome

so when I want to tag Jenny's friend Roger Handsome and search for his name, several Roger's show up in the dropdown list but it's not clear which one to choose. 

See attached screenshot.


STEPS TO REPRODUCE
1. Create a tag hierarchy with similar names in different branches; eg. 'Families/Gundersson Family/Roger Gundersson' and 
'Families/Christensen Family/Roger Christensen'.
 For good measure, also add 
'Collegues/Company/Roger Dodger' and
'Friends/Jenny/Roger Handsome'.

2. Scan for unknown faces.  

3. Prepare to tag unknown faces.
   Go to Thumbnails view, People tab on left hand side.
   Click on the 'Unknown' name tag to see unknown faces.

4.  Hover the mouse over an unknown face, and start typing the name Roger.


OBSERVED RESULT
As you start typing the first few letters of 'Roger', a dropdown list of names that begin with those letters appears.  This is helpful, but the dropdown is not wide enough to show the full tag path and tag names, making it difficult to distinguish between the different Rogers.

See attached screenshot for a real example.


EXPECTED RESULT
I expect Digikam to show the full path and tag name, like so:

  Families/Gunderson Family/Roger Gundersson
  Collegues/Company/Roger Dodger
  Friends/Jenny/Roger Handsome

or maybe better:  [tag name] in [full tag path]

  Roger Gundersson in Families/Gundersson Family
  Roger Dodger in Collegues/Company
  Roger Handsome in Friends/Jenny

the dropdown list should automatically adjust its width to accommodate the full name and path. If dropdown box left-aligned the tag name and also left-aligned the tag paths, it would visually be very easy to pick out the correct one.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Manjaro 'Lysia' with KDE 5.18.4
(available in About System)
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2020-04-30 09:13:12 UTC

*** This bug has been marked as a duplicate of bug 420658 ***
Comment 2 Maik Qualmann 2020-04-30 09:16:30 UTC
I add this to bug 420658, it is the same tags input. In the Icon view I have no idea how we could make more space here. In principle, a popup should open.

Maik