Page 1 of 1

"Update Catalog From Files" clears the photos categories

Posted: Wed May 23, 2018 10:52 pm
by t3mujin
I have some sidecar files that when I run "Update Catalog From Files" it clears the assigned categories that photo already had. those categories were already exported from xnview, but the side had been updated outside xnview.



Log:

Code: Select all

BookmarksModel-GETICON /media/Storage/Photos/Incoming/  2
BookmarksModel-GETICON /media/Storage/Photos/Library/  2
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
BookmarksModel-GETICON /media/Storage/Photos/Incoming/  2
BookmarksModel-GETICON /media/Storage/Photos/Library/  2
LOAD INFO </media/Storage/Photos/Library/StorageClone2/2018/05/06 - Lisboa/Lisboa_201866903.RAF>
  RAW : 148 0 
  JPEG load : 1920 1280 
Over...
Over...
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866903.RAF OK 
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList(10)
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 2a3dfe0 
CHECK <10> 
### START 10 
######ThumbLoaderThread :: start : 10 


############################################ InfoPropertiesView

Create Tree : File
Create Tree : Image
Create Tree : Camera
BookmarksModel-GETICON /media/Storage/Photos/Incoming/  2
BookmarksModel-GETICON /media/Storage/Photos/Library/  2
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866900.RAF OK 
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866901.RAF OK 
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866902.RAF OK 
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866903.RAF OK 
BookmarksModel-GETICON /media/Storage/Photos/Incoming/  2
BookmarksModel-GETICON /media/Storage/Photos/Library/  2
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866904.RAF OK 
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866905.RAF OK 
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866906.RAF OK 
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866907.RAF OK 
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866908.RAF OK 
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866909.RAF OK 
######ThumbLoaderThread :: forever : 2a3dfe0 
 ** start condition wait
TIME  0  
### ThumbLoaderThread :: updateFileList
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: updateFileList ok
sizeHints : 376 
Sidecar

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0-Exiv2">
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:MicrosoftPhoto="http://ns.microsoft.com/photo/1.0/"
    xmlns:xmp="http://ns.adobe.com/xap/1.0/"
    xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:darktable="http://darktable.sf.net/"
    xmlns:lr="http://ns.adobe.com/lightroom/1.0/"
   MicrosoftPhoto:Rating="0"
   xmp:Rating="0"
   xmpMM:DerivedFrom="Lisboa_201866903.RAF"
   darktable:xmp_version="2"
   darktable:raw_params="0"
   darktable:auto_presets_applied="0"
   darktable:history_end="0">
   <dc:creator>
    <rdf:Seq>
     <rdf:li>João Pedro Almeida</rdf:li>
    </rdf:Seq>
   </dc:creator>
   <dc:rights>
    <rdf:Alt>
     <rdf:li xml:lang="x-default">www.joaoalmeidaphotography.com</rdf:li>
    </rdf:Alt>
   </dc:rights>
   <dc:subject>
    <rdf:Seq>
     <rdf:li>Architecture</rdf:li>
     <rdf:li>Building</rdf:li>
     <rdf:li>City</rdf:li>
     <rdf:li>Estremadura</rdf:li>
     <rdf:li>Europe</rdf:li>
     <rdf:li>Lisboa</rdf:li>
     <rdf:li>Lisbon</rdf:li>
     <rdf:li>Location</rdf:li>
     <rdf:li>Marvila</rdf:li>
     <rdf:li>Places</rdf:li>
     <rdf:li>Portugal</rdf:li>
     <rdf:li>Theme</rdf:li>
     <rdf:li>Urban</rdf:li>
    </rdf:Seq>
   </dc:subject>
   <darktable:mask_id>
    <rdf:Seq/>
   </darktable:mask_id>
   <darktable:mask_type>
    <rdf:Seq/>
   </darktable:mask_type>
   <darktable:mask_name>
    <rdf:Seq/>
   </darktable:mask_name>
   <darktable:mask_version>
    <rdf:Seq/>
   </darktable:mask_version>
   <darktable:mask>
    <rdf:Seq/>
   </darktable:mask>
   <darktable:mask_nb>
    <rdf:Seq/>
   </darktable:mask_nb>
   <darktable:mask_src>
    <rdf:Seq/>
   </darktable:mask_src>
   <darktable:history>
    <rdf:Seq/>
   </darktable:history>
   <lr:hierarchicalSubject>
    <rdf:Seq>
     <rdf:li>Architecture</rdf:li>
     <rdf:li>Architecture|Building</rdf:li>
     <rdf:li>Location</rdf:li>
     <rdf:li>Location|City</rdf:li>
     <rdf:li>Places</rdf:li>
     <rdf:li>Places|Europe</rdf:li>
     <rdf:li>Places|Europe|Portugal</rdf:li>
     <rdf:li>Places|Europe|Portugal|Estremadura</rdf:li>
     <rdf:li>Places|Europe|Portugal|Estremadura|Lisbon</rdf:li>
     <rdf:li>Places|Europe|Portugal|Estremadura|Lisbon|Lisboa</rdf:li>
     <rdf:li>Places|Europe|Portugal|Estremadura|Lisbon|Lisboa|Marvila</rdf:li>
     <rdf:li>Theme</rdf:li>
     <rdf:li>Theme|Urban</rdf:li>
    </rdf:Seq>
   </lr:hierarchicalSubject>
  </rdf:Description>
 </rdf:RDF>
</x:xmpmeta>

Re: "Update Catalog From Files" clears the photos categories

Posted: Mon May 28, 2018 12:44 pm
by xnview
assigned categories in the catalog?

Re: "Update Catalog From Files" clears the photos categories

Posted: Fri Jun 15, 2018 10:08 am
by t3mujin
Sorry, I was away for some days. The assigned categories actually are the on the xmp, the file was generated by running "Update Files From Catalog" and that section of the metadata never was changed.

Re: "Update Catalog From Files" clears the photos categories

Posted: Wed Jun 20, 2018 9:08 am
by xnview
t3mujin wrote: Fri Jun 15, 2018 10:08 am Sorry, I was away for some days. The assigned categories actually are the on the xmp, the file was generated by running "Update Files From Catalog" and that section of the metadata never was changed.
i can't reproduce, which settings do you have in Settings>Metadata?

Re: "Update Catalog From Files" clears the photos categories

Posted: Mon Jul 02, 2018 10:41 pm
by t3mujin
Sure, check the attachment

Re: "Update Catalog From Files" clears the photos categories

Posted: Tue Jul 03, 2018 2:33 pm
by xnview
you need to have 'update or create sidecar' enabled

Re: "Update Catalog From Files" clears the photos categories

Posted: Fri Nov 09, 2018 5:50 pm
by Tschens
Same problem here. Even without updating the files from the calalog or vice versa, the check-marks from the categories disappear over time. I have no clue why, and I cannot reproduce. Even more problems:

- after playing around with the "update calalog from file" and the "update file from calalog", some files are now in double or even triplicates in the database.
- when I right click on a file and choose "remove from category", it is still there! I have navigate into another category and back in order finally remove it.
- it is not clear what is meant with "file" in the wording "update database from file": the picture file (JPG etc) or the xmp file?
- although many pictures lost the checkmark in different categories and have no orange mark any more on the thumbnail, they still appear in the acording category.
- after adding a file to a category, the thumbnail gets additional marks "IPTC" and "EXIF". These marks stay forever, even if you remove the files from the categories and even if you remove all IPTC/XMP entries.

After sitting for many, many hours on the categorization of my pics, I finally realized that this function is full of bugs and doesnt work reliably. What a pity, because XNViewMP has the potential of beeing the best and fastest program for categorysation.
Regards,
Jens

Re: "Update Catalog From Files" clears the photos categories

Posted: Tue Nov 13, 2018 12:29 pm
by xnview
Tschens wrote: Fri Nov 09, 2018 5:50 pm After sitting for many, many hours on the categorization of my pics, I finally realized that this function is full of bugs and doesnt work reliably. What a pity, because XNViewMP has the potential of beeing the best and fastest program for categorysation.
Do you have samples and a way to reproduce these bugs? And which settings do you use?

Re: "Update Catalog From Files" clears the photos categories

Posted: Tue Nov 13, 2018 7:00 pm
by Tschens
My metadata settings are attached.
I cannot reproduce the main problem that some pics loose their category checkmark but still stay in the category.

To reproduce the strange behaviour regarding tagging (not sure if this is a bug or a feature; however, a minor issue):

- Select a file which has exif tag only.
- Choose Tools-Metadata-Edit IPTC/XMP
- Without changing anything, choose "write"
- The file is now tagged with "XMP" and "IPTC" (small logos in the thumbnail)
- Furthermore, the file gets 2 more entries in the "info pane": "IPTC-IIM" and "XMP", Both of them are empty.
- you will NEVER get rid of the 2 tags again.