Bug 481257 - Metadata side viewer is not updated when Item/Re-read metadata from file which has been modified externally after Digikam startup
Summary: Metadata side viewer is not updated when Item/Re-read metadata from file whic...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Xmp (other bugs)
Version First Reported In: 8.2.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-12 10:08 UTC by mahikeulbody
Modified: 2024-02-13 07:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.3.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mahikeulbody 2024-02-12 10:08:00 UTC
SUMMARY
Metadata side viewers (iptc, xmp, exiftool, ...) are not updated when you do Item/Re-read metadata from a file which has been modified externally after Digikam startup. You need to select another picture and then back to the modified one.

STEPS TO REPRODUCE
1. open Digikam, select a picture and open the metadata side xmp viewer
2. modify/add an xmp field of the picture with exiftool command line
3. do Item/'Re-read metadata from file' on the selected picture

OBSERVED RESULT
There is no change on the metadata side xmp viewer panel.
Comment 1 caulier.gilles 2024-02-12 10:25:11 UTC
Pressing F5 must do the job.

There is also a disk changes observer configurable on Collection settings. It must be disabled on your computer.

https://docs.digikam.org/en/setup_application/collections_settings.html
Comment 2 mahikeulbody 2024-02-12 10:58:40 UTC
> Pressing F5 must do the job.

I was not searching solutions, they are obvious, I wanted just to notice a cosmetic bug : one expects 're-read metadata from file' updates the metadata viewer. Feel free to fix it or not, of course.
Comment 3 Maik Qualmann 2024-02-12 21:37:45 UTC
Git commit eea0a779898ff74eb2915a3d85737bc1aa85a0b0 by Maik Qualmann.
Committed on 12/02/2024 at 21:36.
Pushed by mqualmann into branch 'master'.

update metadata tab via image changeset relaxed
FIXED-IN: 8.3.0

M  +1    -1    NEWS
M  +34   -4    core/libs/properties/itempropertiessidebardb.cpp
M  +11   -8    core/libs/properties/itempropertiessidebardb.h

https://invent.kde.org/graphics/digikam/-/commit/eea0a779898ff74eb2915a3d85737bc1aa85a0b0
Comment 4 Maik Qualmann 2024-02-13 07:43:38 UTC
Git commit 3303c40502df47ce6122c783b693cb09985c332f by Maik Qualmann.
Committed on 13/02/2024 at 07:42.
Pushed by mqualmann into branch 'master'.

simplify metadata tab updating

M  +14   -24   core/libs/properties/itempropertiessidebardb.cpp
M  +0    -1    core/libs/properties/itempropertiessidebardb.h

https://invent.kde.org/graphics/digikam/-/commit/3303c40502df47ce6122c783b693cb09985c332f