Bug 431188 - Add a Face Tag: Keyboard navigation to select from autocomplete dropdown doesn't work
Summary: Add a Face Tag: Keyboard navigation to select from autocomplete dropdown does...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Workflow (show other bugs)
Version: 7.2.0
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-05 17:31 UTC by gregor
Modified: 2021-01-09 18:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.2.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gregor 2021-01-05 17:31:43 UTC
SUMMARY


STEPS TO REPRODUCE
1. Add a Face Tag 
2. Type a few characters, e.g. "jo": a dropdown with auto completions opens
3. Using the down arrow key, navigate to the desired line in the auto completions, e.g. "John Doe" (at this point, the input field should pick up the current line)
4. Press Enter to save the face tag.

OBSERVED RESULT

The face tag is saved as "jo".

EXPECTED RESULT

The face tag should be saved as "John Doe".


SOFTWARE/OS VERSIONS
Linux: Debian 10
digiKam Version: 7.2.0-beta2 (Appimage)
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION

- The problem disappears when you use the mouse to select a line from the dropdown.
- This problem also occurs when editing an existing face tag, but only sometime:
  - It seems to work fine always when there's only one face tag in the picture
  - It seems to happen frequently (but not always) when editing the face tag with the focus on a picture with multiple face tags

This problem is rather annoying because you have to be very careful not to save face tags with wrong labels. Using "arrow down" to select a tag from the dropdown is very convient, but currently you have to double check your action every time and use the mouse if it didn't work out as expected.
Comment 1 Maik Qualmann 2021-01-05 18:47:38 UTC

*** This bug has been marked as a duplicate of bug 429792 ***
Comment 2 Maik Qualmann 2021-01-05 18:49:01 UTC
Read also this:

https://bugs.kde.org/show_bug.cgi?id=430671#c2

Maik
Comment 3 Maik Qualmann 2021-01-09 18:11:55 UTC
Git commit 86ce760d9b623a6ce2ea8f1b4eb49abd910ca6fb by Maik Qualmann.
Committed on 09/01/2021 at 18:10.
Pushed by mqualmann into branch 'master'.

workaround for the overlay popup that lost updating the text edit
Related: bug 429792, bug 430671, bug 431357
FIXED-IN: 7.2.0

M  +7    -0    core/libs/tags/widgets/addtagscombobox.cpp

https://invent.kde.org/graphics/digikam/commit/86ce760d9b623a6ce2ea8f1b4eb49abd910ca6fb