[digikam] [Bug 347628] New: Can't remove "legend" field when updating metadata

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 347628] New: Can't remove "legend" field when updating metadata

Nicolas Pomarede
https://bugs.kde.org/show_bug.cgi?id=347628

            Bug ID: 347628
           Summary: Can't remove "legend" field when updating metadata
           Product: digikam
           Version: 4.5.0
          Platform: Mageia RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Metadata
          Assignee: [hidden email]
          Reporter: [hidden email]

When using my Samsung NX camera, all photos get tagged with the exif tag
Image Description               : SAMSUNG CSC
(as reported by exiftool)

When such images are added into digikam, digikam will automatically copy this
"image description" tag into its database and this can be seen in the right of
the screen when clicking on "legends / tags" ("légendes/étiquettes" in french).
Then in the "description" tab we see 2 boxes:
 - title
 - legend
In "legend", the "SAMSUNG CSC" text is visible.

Now, I want to remove this info, because it has no value to me and I'd rather
have this field empty (plus it's displayed under each photo thumbnail, which is
not useful).

Unfortunattely, I can't find how to remove this information for all the photos
in this album.
I tried this :
 - exit digikam
 - use exiftool to remove this "image description" field on all images
 - restart digikam
-> "SAMSUNG CSC" is still displayed in the legend window

I tried with one of the image the menu "Image / Read metadata again from the
image", as I thought it would update this info ; no luck, it's still there.

Note that if I use "Image / Metadata / modify metadata", I can see that in the
exif tab the "description" and "legend" field are empty, so my images were
correctly updated by exiftool.

So, I thought I would remove all photos and import them again. I clicked on the
album, chose delete from disk. All the files were gone.

Then I exited digikam, copied my album directory (with all "image description"
tags removed) into digikam's photo dir, started digikam. It correctly detected
the album, imported it, but then the "legend " tag was still there :( It seems
it was not deleted from digikam database, although I deleted all the photos ?

Is this a wanted behaviour or is this a bug ? How can I force digikam to forget
about those "SAMSUNG CSC" legend text that don't exist anymore in any file of
my album ?

Thanks


Reproducible: Always

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 347628] Can't remove "legend" field when updating metadata

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=347628

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Gilles Caulier <[hidden email]> ---
1/ Select all relevant images from icon-view
2/ from Captions & Tags sidebar, clear comment string
3/ Press Apply button on the bottom

This will clear comments in DB.

Else after to clear comments with Exiftool, re-synchronize DB with file
metadata.

1/ Select all relevant images from icon-view
2/ From Captions & Tags sidebar got to More drop down menu, select Read method
and press Apply.

Gilles Caulier

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 347628] Can't remove "legend" field when updating metadata

Nicolas Pomarede
In reply to this post by Nicolas Pomarede
https://bugs.kde.org/show_bug.cgi?id=347628

--- Comment #2 from Nicolas Pomarede <[hidden email]> ---
(In reply to Gilles Caulier from comment #1)
> 1/ Select all relevant images from icon-view
> 2/ from Captions & Tags sidebar, clear comment string
> 3/ Press Apply button on the bottom
>
> This will clear comments in DB.

Hi

this one worked.


> Else after to clear comments with Exiftool, re-synchronize DB with file
> metadata.
>
> 1/ Select all relevant images from icon-view
> 2/ From Captions & Tags sidebar got to More drop down menu, select Read
> method and press Apply.

But this one didn't work.
I select the image, click the "more" drop down menu at the bottom, choose "read
metadata from the file to the database" (rough translation from french). But
then, the "apply" button stays greyed, I can't click on apply, so the comment
is not removed.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 347628] Can't remove "legend" field when updating metadata

Gilles Caulier-4
In reply to this post by Nicolas Pomarede
https://bugs.kde.org/show_bug.cgi?id=347628

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #3 from Gilles Caulier <[hidden email]> ---
>But this one didn't work.
>I select the image, click the "more" drop down menu at the bottom, choose "read metadata >from the file to the database" (rough translation from french). But then, the "apply" button stays >greyed, I can't click on apply, so the comment is not removed.

Correction : you don't need to press Apply button. Selecting option in drop
down menu start process automatically.

Note : If you want to drop comment from file metadata with ExifTool, you need
to remove tags from Exif, JPEG comments, IPTC, and XMP, else data will be
restored. digiKam try all tags one by one until it found something to backport
in DB.

So, the first method is the most simple to apply.

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 347628] Can't remove "legend" field when updating metadata

Gilles Caulier-4
In reply to this post by Nicolas Pomarede
https://bugs.kde.org/show_bug.cgi?id=347628

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |4.11.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 347628] Can't remove "legend" field when updating metadata

Nicolas Pomarede
In reply to this post by Nicolas Pomarede
https://bugs.kde.org/show_bug.cgi?id=347628

Nicolas Pomarede <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |FIXED

--- Comment #4 from Nicolas Pomarede <[hidden email]> ---
(In reply to Gilles Caulier from comment #3)

> >But this one didn't work.
> >I select the image, click the "more" drop down menu at the bottom, choose "read metadata >from the file to the database" (rough translation from french). But then, the "apply" button stays >greyed, I can't click on apply, so the comment is not removed.
>
> Correction : you don't need to press Apply button. Selecting option in drop
> down menu start process automatically.
>
> Note : If you want to drop comment from file metadata with ExifTool, you
> need to remove tags from Exif, JPEG comments, IPTC, and XMP, else data will
> be restored. digiKam try all tags one by one until it found something to
> backport in DB.
>

I made the test again, and I think this method doesn't work.
- I use a jpg with " Image Description               : SAMSUNG CSC"
- I rename it to test.jpg and add it to a digikam album
- under image/metadata/modify/exif, I see that description and caption were set
to "SAMSUNG CSC" as expected when image is imported
- while digikam runs, I removed the tags using exiftool :
exiftool -ImageDescription= -UserComment= -Description=  -Caption-Abstract=
-Comment= test.jpg
- the change is detected in digikam, if I use image/metadata/modify, there's no
more trace of the "SAMSUNG CSC" text in any field of exif/iptc/xmp, so the
change is correct. The tag was correctly removed from all data (doing 'strings
test.jpg |grep "SAMSUNG CSC"' finds nothing)
- I click on "more" in the "captions and tags" sidebar window, choose "read
metadata from file", but nothing happens, the text is still "SAMSUNG CSC" in
the caption window.


> So, the first method is the most simple to apply.
I confirmed this one worked on all my photos.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel