[Digikam-devel] [Bug 283323] a new label _Digikam_root_tag_ is created every time
e.longuemare at laposte.net
e.longuemare at laposte.net
Sun Nov 11 17:30:14 GMT 2012
https://bugs.kde.org/show_bug.cgi?id=283323
--- Comment #51 from e.longuemare at laposte.net ---
Hello,
Don't modify anything since removed tag animal and write tag animal2
The medadatas of the file are:
----
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Image.ProcessingSoftware Ascii 14 digiKam-2.8.0
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Image.Make
Ascii 18 Minolta Co., Ltd.
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Image.Model
Ascii 10 DiMAGE Z1
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Image.Orientation
Short 1 haut, gauche
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Image.XResolution
Rational 1 72
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Image.YResolution
Rational 1 72
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Image.ResolutionUnit
Short 1 Pouce
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Image.Software
Ascii 11 GIMP 2.4.1
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Image.DateTime
Ascii 20 2008:05:10 19:27:13
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Image.YCbCrPositioning
Short 1 Co-sited
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Image.ExifTag
Long 1 288
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.ExposureTime
Rational 1 1/400 s
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.FNumber
Rational 1 F3.5
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.ExposureProgram
Short 1 Automatique
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.ISOSpeedRatings
Short 1 80
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.ExifVersion
Undefined 4 2.20
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.DateTimeOriginal
Ascii 20 2008:05:10 19:27:13
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Photo.DateTimeDigitized Ascii 20 2008:05:10 19:27:13
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Photo.ComponentsConfiguration Undefined 4 YCbCr
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Photo.CompressedBitsPerPixel Rational 1 4
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.BrightnessValue
SRational 1 6.2
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Photo.ExposureBiasValue SRational 1 0 EV
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.MaxApertureValue
Rational 1 F3.5
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.MeteringMode
Short 1 Multi-segments
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.LightSource
Short 1 Inconnu
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.Flash
Short 1 Non, inhibé
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.FocalLength
Rational 1 58.0 mm
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.SubjectArea
Short 4 1024 768 44 29
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.MakerNote
Undefined 760 (Valeur binaire supprimée)
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.MakerNote.Offset
Long 1 830
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.MakerNote.ByteOrder
Ascii 3 II
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Minolta.Version
Undefined 4 77 76 89 48
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Minolta.ThumbnailOffset Long 1 1590
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Minolta.ThumbnailLength Long 1 36340
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Minolta.SceneMode
Long 1 Ensoleillé
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Minolta.ColorMode
Long 1 Couleur naturelle
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Minolta.Quality
Long 1 Fin
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Minolta.FlashExposureComp SRational 1 (0/0)
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Minolta.Teleconverter
Long 1 Aucun
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Minolta.CameraSettingsZ1 Undefined 614 (Valeur binaire
supprimée)
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.FlashpixVersion
Undefined 4 1.00
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.ColorSpace
Short 1 sRGB
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.PixelXDimension
Long 1 2048
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.PixelYDimension
Long 1 1536
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Photo.InteroperabilityTag Long 1 1598
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Iop.InteroperabilityIndex Ascii 4 R98
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Iop.InteroperabilityVersion Undefined 4 1.00
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.FileSource
Undefined 1 Appareil photo numérique
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.SceneType
Undefined 1 Photographié directement
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.CustomRendered
Short 1 Processus personnel
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.ExposureMode
Short 1 Automatique
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.WhiteBalance
Short 1 Automatique
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.DigitalZoomRatio
Rational 1 0.0
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Photo.FocalLengthIn35mmFilm Short 1 380.0 mm
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.SceneCaptureType
Short 1 Standard
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.GainControl
Short 1 Aucun
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.Contrast
Short 1 Normal
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.Saturation
Short 1 Normal
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Photo.Sharpness
Short 1 Normal
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Photo.SubjectDistanceRange Short 1 Plan large
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Image.PrintImageMatching Undefined 40 80 114 105 110 116
73 77 0 48 50 53 48 0 0 4 0 1 0 22 0 22 0 2 0 0 0 0 1 0 1 0 0 0 1 1 1 0 0 0 0
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Thumbnail.Compression
Short 1 JPEG (ancienne version)
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Thumbnail.XResolution
Rational 1 72
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Exif.Thumbnail.YResolution
Rational 1 72
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Thumbnail.ResolutionUnit Short 1 Pouce
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Thumbnail.JPEGInterchangeFormat Long 1 1722
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Exif.Thumbnail.JPEGInterchangeFormatLength Long 1 9886
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Iptc.Application2.Program
String 7 digiKam
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Iptc.Application2.ProgramVersion String 5 2.8.0
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Iptc.Application2.DateCreated Date 8 2008-05-10
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Iptc.Application2.TimeCreated Time 11 19:27:13+00:00
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Iptc.Application2.Keywords
String 6 faisan
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Iptc.Application2.Keywords
String 8 vertebre
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Iptc.Application2.Keywords
String 6 oiseau
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Iptc.Application2.Keywords
String 7 animal2
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.digiKam.ColorLabel
XmpText 1 0
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.digiKam.PickLabel
XmpText 1 0
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.digiKam.TagsList
XmpSeq 5 animal, vertebre, oiseau, faisan,
_Digikam_root_tag_/animal2
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.BrightnessValue
XmpText 5 6.2
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.ColorSpace
XmpText 1 sRGB
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Xmp.exif.CompressedBitsPerPixel XmpText 3 4/1
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.Contrast
XmpText 1 Normal
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.CustomRendered
XmpText 1 Processus personnel
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.DateTimeDigitized
XmpText 19 2008-05-10T19:27:13
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.DateTimeOriginal
XmpText 19 2008:05:10 19:27:13
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.DigitalZoomRatio
XmpText 5 0/100
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.ExifVersion
XmpText 4 2.20
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.ExposureBiasValue
XmpText 4 0 EV
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.ExposureMode
XmpText 1 Automatique
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.ExposureProgram
XmpText 1 Automatique
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.ExposureTime
XmpText 7 10/4000
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.FNumber
XmpText 5 F3.5
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.FileSource
XmpText 1 Appareil photo numérique
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.FlashpixVersion
XmpText 4 1.00
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.FocalLength
XmpText 6 58.0 mm
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Xmp.exif.FocalLengthIn35mmFilm XmpText 3 380
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.GainControl
XmpText 1 Aucun
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.LightSource
XmpText 1 Inconnu
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.MaxApertureValue
XmpText 5 36/10
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.MeteringMode
XmpText 1 Multi-segments
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.PixelXDimension
XmpText 4 2048
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.PixelYDimension
XmpText 4 1536
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.Saturation
XmpText 1 Normal
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.SceneCaptureType
XmpText 1 Standard
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.SceneType
XmpText 1 Photographié directement
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.Sharpness
XmpText 1 Normal
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Xmp.exif.SubjectDistanceRange XmpText 1 Plan large
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.WhiteBalance
XmpText 1 Automatique
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Xmp.exif.ComponentsConfiguration XmpSeq 4 YCbCr
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.Flash
XmpText 0 type="Struct"
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.Flash/exif:Fired
XmpText 5 False
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Xmp.exif.Flash/exif:Function XmpText 5 False
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.Flash/exif:Mode
XmpText 1 2
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Xmp.exif.Flash/exif:RedEyeMode XmpText 5 False
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.Flash/exif:Return
XmpText 1 0
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.ISOSpeedRatings
XmpSeq 1 80
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.exif.SubjectArea
XmpSeq 1 1024 768 44 29
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.photoshop.DateCreated
XmpText 10 2008-05-10
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.tiff.DateTime
XmpText 19 2008-05-10T19:27:13
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.tiff.Make
XmpText 17 Minolta Co., Ltd.
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.tiff.Model
XmpText 9 DiMAGE Z1
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.tiff.Orientation
XmpText 1 haut, gauche
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.tiff.ResolutionUnit
XmpText 1 Pouce
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.tiff.Software
XmpText 13 digiKam-2.8.0
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.tiff.XResolution
XmpText 4 72
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.tiff.YCbCrPositioning
XmpText 1 Co-sited
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.tiff.YResolution
XmpText 4 72
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.xmp.CreateDate
XmpText 19 2008-05-10T19:27:13
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.xmp.CreatorTool
XmpText 13 digiKam-2.5.0
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.xmp.MetadataDate
XmpText 19 2008-05-10T19:27:13
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.xmp.ModifyDate
XmpText 19 2008-05-10T19:27:13
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.dc.subject
XmpBag 4 animal2, vertebre, oiseau, faisan
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg
Xmp.MicrosoftPhoto.LastKeywordXMP XmpSeq 5 animal, vertebre,
oiseau, faisan, _Digikam_root_tag_/animal2
/media/Diskphotos/anvin/faisan_cran_aux_polets.jpg Xmp.lr.hierarchicalSubject
XmpBag 5 animal, vertebre, oiseau, faisan,
_Digikam_root_tag_|animal2
----
A] Xmp.dc.subject XmpBag 4 animal2, vertebre, oiseau, faisan
is good, and I'm sure the animal2 tag has been write by Digikam and animal
removed.
B ]Iptc.Application2.Keywords String 6 faisan
Iptc.Application2.Keywords String 8 vertebre
Iptc.Application2.Keywords String 6 oiseau
Iptc.Application2.Keywords String 7 animal2
are good, animal2 tag has been write (by digikam) and animal has been removed
C]Xmp.MicrosoftPhoto.LastKeywordXMP XmpSeq 5 animal, vertebre, oiseau,
faisan, _Digikam_root_tag_/animal2
Has an error, animal is not removed but animal2 has been write with the
_Digikam_root_tag
D]Xmp.digiKam.TagsList XmpSeq 5 animal, vertebre,
oiseau, faisan, _Digikam_root_tag_/animal2
For the Xmp.digikam.TagsList, it's the same as for [C], animal is not removed
but animal2 has been write with the _Digikam_root_tag
Is the processes to get or to write data are the same for C and D (except the
Xmp "container to which the metadata are written) ?
So I think there's some bug when writing or when getting tags to write, and
this is the cause of some "other bugs" like database inconsistency
(digikam.tags), image "disapearing when remove tags, old tags back when digikam
read metadatas ...
The process must not be the same between SQLITE and MYSQL as the database table
Tags hasn't the same organisation (two more columns, lft and rgt, for the mysql
digikam.Tags table). Is hierarchy concept different between SQLITE and MYSQL ?
Greatings,
Eric
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list