Bug 421646 - Impossible to add new tag
Summary: Impossible to add new tag
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Manager (show other bugs)
Version: 6.4.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-16 20:57 UTC by Daniel Thonon
Modified: 2020-08-12 08:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments
tag table export (341.15 KB, application/x-7z-compressed)
2020-05-16 20:57 UTC, Daniel Thonon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Thonon 2020-05-16 20:57:21 UTC
Created attachment 128529 [details]
tag table export

SUMMARY
When I try to add a new tag, digikam enters into an endless CPU loop. I have to kill the process and restart.
I have a large tag list, see attached table.

STEPS TO REPRODUCE
1. Right-click on a tag and create a tag


OBSERVED RESULT
CPU loop

EXPECTED RESULT
Tag entry dialog

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

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2020-05-16 22:04:34 UTC
Git commit 0690d4db16113a63c2d78229afbd241edacd669b by Maik Qualmann.
Committed on 16/05/2020 at 22:02.
Pushed by mqualmann into branch 'master'.

better performance to add items to the completer
FIXED-IN: 7.0.0

M  +2    -1    NEWS
M  +4    -1    core/libs/tags/widgets/tageditdlg.cpp
M  +6    -0    core/libs/widgets/text/modelcompleter.cpp
M  +1    -0    core/libs/widgets/text/modelcompleter.h

https://invent.kde.org/graphics/digikam/commit/0690d4db16113a63c2d78229afbd241edacd669b
Comment 2 Maik Qualmann 2020-05-16 22:07:19 UTC
Over 38000 tags is a very impressive number...

Maik
Comment 3 Daniel Thonon 2020-05-18 19:35:53 UTC
(In reply to Maik Qualmann from comment #2)
> Over 38000 tags is a very impressive number...
> 
> Maik

They were imported by python script : https://framagit.org/dthonon/digikam_tags. It contains largs number of places and species.
Comment 4 Daniel Thonon 2020-08-11 19:54:30 UTC
I tried with 7.0.0 and it works fine. 
Thanks