Page 1 of 2

Ratings and color markers are not saved

Posted: Thu Mar 12, 2020 3:25 am
by Konzertheld
Hey there,

I'm using XnView MP Linux, Version 0.93.1 64bits (Mar 7 2019) on Manjaro. Ratings and color markers for my photos are not saved. I tried rating in full screen mode via hotkey as well as in browser mode via the context menu. Once I exit XnView and re-open, they are gone.

When I switch to saving ratings and color markers in XMP files, everything is fine.

When I run XnView MP from the terminal, no errors appear in the terminal log when I rate an image or assign a color marker. Also no errors when XnView exits.

I'm open for investigation. :)

Cheers,
Konzertheld

(Edit: Initially, I wrote "categories" but I meant color markers.)

Re: Ratings and color markers are not saved

Posted: Fri Mar 13, 2020 4:32 pm
by xnview
so you have only this problem when rating with only catalog, right?

Re: Ratings and color markers are not saved

Posted: Wed Mar 25, 2020 1:49 am
by Konzertheld
Sorry, I don't think I understand your question. What exactly do you mean by catalog? As mentioned, the problem also occurs in fullscreen view.

Re: Ratings and color markers are not saved

Posted: Wed Mar 25, 2020 10:12 am
by michel038
There are three ways to save ratings, depending on Tools, Settings, Metadata choices
- xmp embedded metadata for JPG files
- xmp companion files (sidecar files)
- Xnviewmp database only
Only the third one produces the error?


( Ratings were designed to be applied to pictures, but I think xnviewmp can create xmp files or database records for all types of files : does anyone here use this feature ? )

Re: Ratings and color markers are not saved

Posted: Wed Mar 25, 2020 3:21 pm
by Konzertheld
I don't know how to activate companion files, but the error occured in "database only" and seems to disappear with embedded xmp, yes. At least I thought so - yesterday I had a case where it didn't work with embedded xmp but I do not yet know why.

Re: Ratings and color markers are not saved

Posted: Tue Mar 31, 2020 4:19 pm
by xnview
so with "database only", you can reproduce each time?

Re: Ratings and color markers are not saved

Posted: Thu Apr 02, 2020 12:56 am
by Konzertheld
xnview wrote: Tue Mar 31, 2020 4:19 pm so with "database only", you can reproduce each time?
Yes.

Re: Ratings and color markers are not saved

Posted: Tue Apr 07, 2020 8:44 am
by xnview
I've just tried on ubuntu, and no problem.
I start XnView (settings>Metadata - import XMP only), set rating or color label on 2 files, quit, restart and i have the good rating/labels

Re: Ratings and color markers are not saved

Posted: Fri Apr 10, 2020 8:45 am
by Konzertheld
Cannot confirm (for 0.96 now). When I apply rating / label in fullscreen, it's even gone already when I switch to the browser (Enter key).

Where is the rating stored when xmp is deactivated? In the XnView database? If so, where is the database stored? I will check permissions then. Is there some debug log I could check?

Re: Ratings and color markers are not saved

Posted: Mon Apr 13, 2020 3:33 pm
by xnview
Konzertheld wrote: Fri Apr 10, 2020 8:45 am Cannot confirm (for 0.96 now). When I apply rating / label in fullscreen, it's even gone already when I switch to the browser (Enter key).

Where is the rating stored when xmp is deactivated? In the XnView database? If so, where is the database stored? I will check permissions then. Is there some debug log I could check?
yes in xnview.db, settings>Integration>Paths

Re: Ratings and color markers are not saved

Posted: Mon Apr 13, 2020 6:51 pm
by Konzertheld
Interesting. I found XnView.db in ~/.config/xnviewmp/XnView.db and it has not been written since October. The user running XnView has write permissions though. If I delete it, it gets re-created with 0 Bytes.

Re: Ratings and color markers are not saved

Posted: Mon Apr 13, 2020 7:03 pm
by xnview
Konzertheld wrote: Mon Apr 13, 2020 6:51 pm Interesting. I found XnView.db in ~/.config/xnviewmp/XnView.db and it has not been written since October. The user running XnView has write permissions though. If I delete it, it gets re-created with 0 Bytes.
Strange, and Thumb.db?

Re: Ratings and color markers are not saved

Posted: Mon Apr 13, 2020 7:05 pm
by Konzertheld
Thumb.db does not even get re-created when I rename it, also unchanged since October.

Re: Ratings and color markers are not saved

Posted: Tue Apr 14, 2020 7:20 am
by xnview
Konzertheld wrote: Mon Apr 13, 2020 7:05 pm Thumb.db does not even get re-created when I rename it, also unchanged since October.
xnview.ini is changed?

Re: Ratings and color markers are not saved

Posted: Tue Apr 14, 2020 7:24 am
by Konzertheld
Yes.