Bug 431470

Summary: Wrong keystroke behavior while editing face tag
Product: [Applications] digikam Reporter: Mike Morrison <mike>
Component: Faces-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 7.2.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In: 7.2.0
Sentry Crash Report:

Description Mike Morrison 2021-01-12 01:31:39 UTC
SUMMARY
While editing a face tag name, unwanted behavior can occur in response to the keystrokes.

STEPS TO REPRODUCE
1. In Album view, select a photo that has a face tag.
2. Press F3 to preview the photo.
3. Click on the name below the face region, to edit the name.
4. Let's say we want to change "Mike" to "Dave". We need to delete the first 3 characters. On the keyboard, press HOME to move the cursor to the beginning of the name field. Then, press DELETE 3 times.

OBSERVED RESULT
The "About to delete selected items" window pops up, warning that the photo will be moved to Trash.

EXPECTED RESULT
The DELETE key should continue to delete characters in the name field. The photo should not be moved to Trash.

SOFTWARE/OS VERSIONS
digiKam-7.2.0-rc-20210111T141620-x86-64.appimage
Ubuntu 20.10
KDE Frameworks 5.77.0
Qt 5.14.2 

ADDITIONAL INFORMATION
This behavior occurs on the 3rd keystroke with other keys as well. For example, if I type the name "Pat", the T key causes the Tags list to appear in the right-hand sidebar.
Comment 1 Maik Qualmann 2021-01-12 06:56:58 UTC
I cannot reproduce the problem, have you assigned a global shortcut to the Home button? I was able to reproduce it with CTRL + Home that this shortcut jumps to the first image.

Maik
Comment 2 Maik Qualmann 2021-01-12 07:55:19 UTC
Does the problem occur with an older AppImage before January 10th?

Maik
Comment 3 Maik Qualmann 2021-01-12 11:30:36 UTC
Git commit 7de7247d877eed2b333df149d9094872bc9ed790 by Maik Qualmann.
Committed on 12/01/2021 at 11:29.
Pushed by mqualmann into branch 'master'.

revert a change to the popup overlay workaround
FIXED-IN: 7.2.0

M  +2    -1    NEWS
M  +1    -0    core/libs/tags/widgets/addtagscombobox.cpp

https://invent.kde.org/graphics/digikam/commit/7de7247d877eed2b333df149d9094872bc9ed790
Comment 4 Maik Qualmann 2021-01-12 11:32:36 UTC
I have not read the "3 x delete".

Maik
Comment 5 Mike Morrison 2021-01-12 14:02:48 UTC
(In reply to Maik Qualmann from comment #2)
> Does the problem occur with an older AppImage before January 10th?

Thanks. This bug doesn't occur in digiKam-7.2.0-rc-20210107T132941-x86-64-debug.appimage
Comment 6 caulier.gilles 2021-01-12 14:59:00 UTC
the changes in appimage are not yet included. Please wait a little bit (2 hours at least)

Gilles Caulier