Ratings and color markers are not saved

*** Please report new bugs here! ***

Moderator: Dreamer

Konzertheld
Posts: 34
Joined: Sun Feb 27, 2011 9:43 pm

Ratings and color markers are not saved

Post by Konzertheld » Thu Mar 12, 2020 3:25 am

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.)

User avatar
xnview
Author of XnView
Posts: 33336
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Ratings and color markers are not saved

Post by xnview » Fri Mar 13, 2020 4:32 pm

so you have only this problem when rating with only catalog, right?
Pierre.

Konzertheld
Posts: 34
Joined: Sun Feb 27, 2011 9:43 pm

Re: Ratings and color markers are not saved

Post by Konzertheld » Wed Mar 25, 2020 1:49 am

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.

User avatar
michel038
Posts: 496
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: Ratings and color markers are not saved

Post by michel038 » Wed Mar 25, 2020 10:12 am

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 ? )

Konzertheld
Posts: 34
Joined: Sun Feb 27, 2011 9:43 pm

Re: Ratings and color markers are not saved

Post by Konzertheld » Wed Mar 25, 2020 3:21 pm

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.

User avatar
xnview
Author of XnView
Posts: 33336
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Ratings and color markers are not saved

Post by xnview » Tue Mar 31, 2020 4:19 pm

so with "database only", you can reproduce each time?
Pierre.

Konzertheld
Posts: 34
Joined: Sun Feb 27, 2011 9:43 pm

Re: Ratings and color markers are not saved

Post by Konzertheld » Thu Apr 02, 2020 12:56 am

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

User avatar
xnview
Author of XnView
Posts: 33336
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Ratings and color markers are not saved

Post by xnview » Tue Apr 07, 2020 8:44 am

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
Pierre.

Konzertheld
Posts: 34
Joined: Sun Feb 27, 2011 9:43 pm

Re: Ratings and color markers are not saved

Post by Konzertheld » 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?

User avatar
xnview
Author of XnView
Posts: 33336
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Ratings and color markers are not saved

Post by xnview » Mon Apr 13, 2020 3:33 pm

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
Pierre.

Konzertheld
Posts: 34
Joined: Sun Feb 27, 2011 9:43 pm

Re: Ratings and color markers are not saved

Post by Konzertheld » 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.

User avatar
xnview
Author of XnView
Posts: 33336
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Ratings and color markers are not saved

Post by xnview » Mon Apr 13, 2020 7:03 pm

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?
Pierre.

Konzertheld
Posts: 34
Joined: Sun Feb 27, 2011 9:43 pm

Re: Ratings and color markers are not saved

Post by Konzertheld » Mon Apr 13, 2020 7:05 pm

Thumb.db does not even get re-created when I rename it, also unchanged since October.

User avatar
xnview
Author of XnView
Posts: 33336
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Ratings and color markers are not saved

Post by xnview » Tue Apr 14, 2020 7:20 am

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?
Pierre.

Konzertheld
Posts: 34
Joined: Sun Feb 27, 2011 9:43 pm

Re: Ratings and color markers are not saved

Post by Konzertheld » Tue Apr 14, 2020 7:24 am

Yes.

Post Reply