Bug 445345 - When creating a new tag with a comma, the tag is truncated
Summary: When creating a new tag with a comma, the tag is truncated
Status: RESOLVED INTENTIONAL
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Captions (show other bugs)
Version: 7.3.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-11 16:09 UTC by Jan van Bekkum
Modified: 2021-11-12 09:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!