[Digikam-devel] [Bug 220545] Cannot write XMP sidecar files

Jakob Malm jakob.malm at gmail.com
Sun Jul 4 22:34:49 BST 2010


https://bugs.kde.org/show_bug.cgi?id=220545





--- Comment #46 from Jakob Malm <jakob malm gmail com>  2010-07-04 23:34:44 ---
I have detected a bug in my implementation, but I'm having trouble finding the
solution, probably due to my limited knowledge of C++...

The value d->useXMPSidecar in instances of DMetadata and KExiv2 is completely
random when reading metadata. It does not seem to get set properly. This has
the effect that the boolean is almost always true, which of course is a
problem.

1.) KExiv2Priv::KExiv2Priv() should have an initialization useXMPSidecar =
false;
2.) I don't know where to set the value of useXMPSidecar correctly. It
currently gets set at the same places as writeRawFiles, but this means it is
only set correctly for writing - not reading.

If you have an idea of how to deal with this, please let me know!

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list