[Bug 152219] New: impossible to clear comments in metadata

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

[Bug 152219] New: impossible to clear comments in metadata

Bugzilla from rom1v@yahoo.fr
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152219         
           Summary: impossible to clear comments in metadata
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: rom1v yahoo fr


Version:           0.92 (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

In Configuration > Metadata, I enabled "save image comments in metadata" (the translation may not be exact), to save comments in image metadata.

Before putting a comment on image.jpg, I computed its md5sum (md5sum image.jpg).
If I add a comment, the md5sum changes, so it seems ok. If I change the comment, the md5sum changes again. But if I remove (clear) the comment, the md5sum stay the same (so no modification in the file).

So it is not possible to clear a comment in metadata... (even if the database of digikam seems to remember the clear, the file doesn't)
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 152219] impossible to clear comments in metadata

Bugzilla from rom1v@yahoo.fr
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152219         




------- Additional Comments From rom1v yahoo fr  2007-11-12 21:14 -------
And if you "write metadata in digikam database" after a clear, you can see the clear has not been done.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 152219] impossible to clear comments in metadata

Bugzilla from pave@o2.pl
In reply to this post by Bugzilla from rom1v@yahoo.fr
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152219         




------- Additional Comments From pave o2 pl  2007-11-12 21:20 -------
There is a special menu entry for that. Try Image->Metadata->Remove Captions...
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 152219] impossible to clear comments in metadata

Bugzilla from rom1v@yahoo.fr
In reply to this post by Bugzilla from rom1v@yahoo.fr
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152219         




------- Additional Comments From rom1v yahoo fr  2007-11-12 21:24 -------
OK this is a way to evade the bug, but the bug is still here (when you "apply" with an empty comment, it seems to work in the gui, because it's correctly written to digikam database, but it doesn't write the metadata).
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 152219] impossible to clear comments in metadata

Gilles Caulier-4
In reply to this post by Bugzilla from rom1v@yahoo.fr
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152219         
caulier.gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Metadata



------- Additional Comments From caulier.gilles gmail com  2007-11-12 21:44 -------
Sound like a cache problem from MetadataHub.

Marcel, What do you think about ?

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 152219] impossible to clear comments in metadata

Marcel Wiesweg
In reply to this post by Bugzilla from rom1v@yahoo.fr
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152219         




------- Additional Comments From marcel.wiesweg gmx de  2007-11-12 22:53 -------
For the old JFIF comment, KExiv2::save(QString):
        if (!d->imageComments.empty())
        {
            image->setComment(d->imageComments);
        }
For the Exif comment, setExifComment():
        if (comment.isEmpty())
            return false;

Perhaps we can use isNull() instead of isEmpty()?
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 152219] impossible to clear comments in metadata

Gilles Caulier-4
In reply to this post by Bugzilla from rom1v@yahoo.fr
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152219         




------- Additional Comments From caulier.gilles gmail com  2007-11-17 18:55 -------
Yes, Marcel, you have right. An empty string is a valid comment like Romain said...

Arnd, it's a simple patch to do (:=)))

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 152219] impossible to clear comments in metadata

Marcel Wiesweg
In reply to this post by Bugzilla from rom1v@yahoo.fr
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152219         




------- Additional Comments From marcel.wiesweg gmx de  2007-11-18 15:46 -------
In one of the cases there is std::string, which does not have isNull/isEmpty distinction. Perhaps we use a QByteArray there instead?
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 152219] impossible to clear comments in metadata

Bugzilla from rom1v@yahoo.fr
In reply to this post by Bugzilla from rom1v@yahoo.fr
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152219         




------- Additional Comments From rom1v yahoo fr  2007-12-15 12:43 -------
Is it fixed?
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 152219] impossible to clear comments in metadata

Bugzilla from x3ri7yz02@sneakemail.com
In reply to this post by Bugzilla from rom1v@yahoo.fr
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152219         
x3ri7yz02 sneakemail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |x3ri7yz02 sneakemail com



------- Additional Comments From x3ri7yz02 sneakemail com  2008-05-27 05:32 -------
Testing with current SVN (revisions:  exiv2 1463, graphics 813168, libs 813167) -    able to reproduce this bug.

Tested checking metadata manually (using exiv2 at command line and checking Metadata using Digikam) and via md5sums.

Removing a comment using the Digikam GUI does not remove it from EXIF or IPTC metadata.  (Although it does change image md5sums)
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel