Bug 445345

Summary: When creating a new tag with a comma, the tag is truncated
Product: [Applications] digikam Reporter: Jan van Bekkum <Jan.vanBekkum>
Component: Tags-CaptionsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 7.3.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 7.4.0
Sentry Crash Report:

Description Jan van Bekkum 2021-11-11 16:09:07 UTC
SUMMARY
When creating a new tag with a comma, the tag is truncated

STEPS TO REPRODUCE
1. Create a new tag with a comma, for example "1986-07 - Holiday France, Spain" 
2. 
3. 

OBSERVED RESULT
Created tag is "1986-07 - Holiday France"

EXPECTED RESULT
Created tag is "1986-07 - Holiday France, Spain"

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

ADDITIONAL INFORMATION
After the tag has been updated with "Properties" the correct tag is shown.
Comment 1 Maik Qualmann 2021-11-11 18:23:53 UTC
Well, this is a desired feature. You can find the explanation when you use the dialog for a new keyword. A comma creates multiple tags at once. I know that this feature is used intensively by a few digiKam users. I don't think we will change it.

Maik
Comment 2 Maik Qualmann 2021-11-11 18:27:45 UTC
Another reason a comma would be a problem in tags is because Iptc.Application2.Keywords uses it as a separator. For this reason, a comma cannot be allowed.

Maik
Comment 3 caulier.gilles 2021-11-11 19:22:10 UTC
I second Maik here...

Gilles Caulier
Comment 4 Jan van Bekkum 2021-11-12 07:32:27 UTC
Thanks, clear!