Bug 368036 - Lazy Sync doesn't write Tags to file
Summary: Lazy Sync doesn't write Tags to file
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Hub (show other bugs)
Version: 5.1.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-31 09:06 UTC by Tobias Philipp
Modified: 2019-07-26 17:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.2.0


Attachments
Screenshot shownig that the tag is not showing in the "edit metadata" (289.23 KB, image/png)
2016-08-31 09:09 UTC, Tobias Philipp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Philipp 2016-08-31 09:06:37 UTC
Hi,

i have tagged a bunch of new photos and detected that my rsync backup script didn't transfer the newly tagged files. I checked my settings and testet withe a new import in a test album.
Result:
The Option "Use lazy synchronization" causes that no tags will be written to the files neither with the button "Write Tags to file" or at closing the digikam app.

i then repeated with the option unchecked and then the tags will be synced like in the older versions of digikam.

With "lazy":
[philipp@blue 2016-08-31-Testalbum]$ exiftool *3123* | grep Portrait
[philipp@blue 2016-08-31-Testalbum]$

Without "lazy":
exiftool *3123* | grep Portrait
Categories                      : <Categories><Category Assigned="0">Fotografie<Category Assigned="1">Portrait</Category><Category Assigned="1">Tiefenschärfe</Category></Category></Categories>
Tags List                       : Fotografie/Tiefenschärfe, Fotografie/Portrait
Subject                         : Tiefenschärfe, Portrait
Last Keyword XMP                : Fotografie/Tiefenschärfe, Fotografie/Portrait
Hierarchical Subject            : Fotografie|Tiefenschärfe, Fotografie|Portrait
Catalog Sets                    : Fotografie|Tiefenschärfe, Fotografie|Portrait
Keywords                        : Tiefenschärfe, Portrait

I've attached a screenshot, in which you can see (even after closing an reopening digikam) that the tags are also not displayed in the "edit metadata" dialog.


Reproducible: Always

Steps to Reproduce:
1. Set the "Use lazy synchronisation" option in digikam
2. Import Photos in digikam
3. Tag the pictures
4. check with exiftool if the tags are correctly written to the files

Actual Results:  
The tags are not written into the files
[philipp@blue 2016-08-31-Testalbum]$ exiftool *3123* | grep Portrait
[philipp@blue 2016-08-31-Testalbum]$

Expected Results:  
The tags should be written into the files
(Here without "lazy synchronisation")
exiftool *3123* | grep Portrait
Categories                      : <Categories><Category Assigned="0">Fotografie<Category Assigned="1">Portrait</Category><Category Assigned="1">Tiefenschärfe</Category></Category></Categories>
Tags List                       : Fotografie/Tiefenschärfe, Fotografie/Portrait
Subject                         : Tiefenschärfe, Portrait
Last Keyword XMP                : Fotografie/Tiefenschärfe, Fotografie/Portrait
Hierarchical Subject            : Fotografie|Tiefenschärfe, Fotografie|Portrait
Catalog Sets                    : Fotografie|Tiefenschärfe, Fotografie|Portrait
Keywords                        : Tiefenschärfe, Portrait
Comment 1 Tobias Philipp 2016-08-31 09:09:50 UTC
Created attachment 100856 [details]
Screenshot shownig that the tag is not showing in the "edit metadata"

Screenshot shownig that the tag is not showing in the "edit metadata" after closing digikam and reopening it with lazy sync set to "on"
Comment 2 caulier.gilles 2016-08-31 09:11:59 UTC
Maik, 

Did you fix this in current implementation with last commits ?

Gilles
Comment 3 Maik Qualmann 2016-08-31 18:34:00 UTC
(In reply to Tobias Philipp from comment #0)

> The Option "Use lazy synchronization" causes that no tags will be written to
> the files neither with the button "Write Tags to file" or at closing the
> digikam app.

With "Write Tags to file" you mean not determined the button in the status bar. Automatic writing metadata at the end is corrected (bug 367642). I close this report as duplicate. If necessary, please re-open.

Maik

*** This bug has been marked as a duplicate of bug 367642 ***
Comment 4 caulier.gilles 2019-07-26 17:31:13 UTC
Fixed with bug #367642