Bug 420601

Summary: write metadata to a jpg file ok, but not for a jpeg file
Product: [Applications] digikam Reporter: riyoxo6891
Component: Maintenance-MetadataAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 7.0.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 7.1.0

Description riyoxo6891 2020-04-26 04:59:59 UTC
SUMMARY
metadata not written to a file

STEPS TO REPRODUCE
1. let digikam recognize a picture as "JPEG" (not "JPG")
2. assign a tag
3. size of a picture does not change, (it does if it is "JPG")


SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION
the bug exists from earlier versions to 7.0 beta3
Comment 1 Maik Qualmann 2020-04-26 06:12:54 UTC
It doesn't matter whether the file has the extension "JPG" or "JPEG". Just tested here again. Please upload a sample image in which no tags can be written.

Maik
Comment 2 riyoxo6891 2020-04-26 06:37:16 UTC
thank you.
i found that digicam windows cannot recognize certain characters
such as below, and that is why writing metadata always fail.
and such files with invalid filename for digikam are likely to be displayed as "JPEG".

‼︎
>
<
:
?

for example:
‼︎.jpg
Comment 3 Maik Qualmann 2020-04-26 06:44:51 UTC
Yes, all characters in the file name must be within the current code page. We don't have a solution for that yet. All libraries used by digiKam must use Windows UTF16 internally.

Maik
Comment 4 Maik Qualmann 2020-04-26 06:46:01 UTC

*** This bug has been marked as a duplicate of bug 420195 ***
Comment 5 caulier.gilles 2020-08-30 16:00:19 UTC
Fixed with #420195