Bug 479527 - Typing into the "Who's This?" area when adding a Face Tag crashes under Windows 10
Summary: Typing into the "Who's This?" area when adding a Face Tag crashes under Windo...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Workflow (other bugs)
Version First Reported In: 8.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-08 06:08 UTC by Louis Kessler
Modified: 2024-01-08 17:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.3.0
Sentry Crash Report:


Attachments
Screen capture showing the screen when the crash occurs. (46.39 KB, image/jpeg)
2024-01-08 06:08 UTC, Louis Kessler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Louis Kessler 2024-01-08 06:08:21 UTC
Created attachment 164739 [details]
Screen capture showing the screen when the crash occurs.

SUMMARY
Typing into the "Who's This?" area when adding a Face Tag crashes under Windows 10

STEPS TO REPRODUCE
1.  Select a directory from the Albums tag.
2.  Select a picture with a face to tag.
3.  Click the "Add a Face Tag" icon.
4.  With your mouse, drag a rectangle around the face to be tagged.
5.  With your mouse, click on the "Who's this?" box.
6.  With your keyboard, start entering text naming the person.

OBSERVED RESULT
The keys you type do not appear in the "Who's this?" box. The hourglass appears for a second or two, and DigiKam closes.

EXPECTED RESULT
The keys you type should appear in the "Who's this?" box. If the first few letters match an existing name of one or more people, then a suggested auto-complete should appear. When the name is completed and the "Confirm" button is clicked, the name entered should be assigned to the rectangular region.

SOFTWARE/OS VERSIONS
Windows 10:  So unfortunately I cannot provide a backtrace. Hopefully you can reproduce the problem. 

ADDITIONAL INFORMATION
This fail every time I try it. Selecting the name from the dropdown provided works. But then trying to edit that name also crashes.
Comment 1 caulier.gilles 2024-01-08 06:40:01 UTC
Fixed in 8.3.0 with Bug 477871

Install the pre-version avaialble here :

https://files.kde.org/digikam/
Comment 2 Louis Kessler 2024-01-08 16:57:48 UTC
Thank you for the prompt response and to the link with the pre-release version with the fix. I did search the reported bugs for this one, but did not find it since the bug with it (477871) had the non-obvious-to-me title "Program crash when entering a personsname into shown frame" was not among my search results for various combinations of "crash" "face tag", "keys" "type" "text"

Keep up the great work with DigiKam. It just keeps getting better and better!

Louis Kessler
Winnipeg, Manitoba, Canada
Comment 3 caulier.gilles 2024-01-08 17:00:01 UTC
In fact it's the same problem (wrong usage of an internal data model under Windows)