Tags not sticking between folders
Moderators: XnTriq, helmut, xnview
-
- Posts: 17
- Joined: Sat Jan 28, 2012 4:31 pm
Tags not sticking between folders
If I tag photos, when I change folders and come back the tags are nowhere to be seen. They have definitely worked previously.
And yes, I have "clear the list of tagged files" set to never in the settings.
I am on linux, using the latest .deb package.
Has anyone else found this issue or any workarounds or fixes for it?
Thanks in advance
------
On an unrelated note, is there a portable linux version?
And yes, I have "clear the list of tagged files" set to never in the settings.
I am on linux, using the latest .deb package.
Has anyone else found this issue or any workarounds or fixes for it?
Thanks in advance
------
On an unrelated note, is there a portable linux version?
-
- Author of XnView
- Posts: 39815
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 17
- Joined: Sat Jan 28, 2012 4:31 pm
Re: Tags not sticking between folders
Yes, the catalog is enabled.
However, about a week ago I turned the catalog off. Then later that same day I turned it back on again.
Now tagging won't remember between folders. Is it possible there is a bug after a re-enable?
Thank you for replying
However, about a week ago I turned the catalog off. Then later that same day I turned it back on again.
Now tagging won't remember between folders. Is it possible there is a bug after a re-enable?
Thank you for replying

-
- Posts: 17
- Joined: Sat Jan 28, 2012 4:31 pm
Re: Tags not sticking between folders
In fact, now I've investigated further, any stars or colours I add don't stick between folders either.
-
- Author of XnView
- Posts: 39815
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 17
- Joined: Sat Jan 28, 2012 4:31 pm
-
- Posts: 17
- Joined: Sat Jan 28, 2012 4:31 pm
Re: Tags not sticking between folders
For further info, the files in that location are:
bookmark.ini
default.bar
default.keys
Thumb.db
xnview.ini
XnView.db
I assume the catalog is XnView.db?
Many thanks in advance
bookmark.ini
default.bar
default.keys
Thumb.db
xnview.ini
XnView.db
I assume the catalog is XnView.db?
Many thanks in advance
-
- XnThusiast
- Posts: 3651
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Tags not sticking between folders
May I ask whether your .config folder Properties > Permissions -- File access includes 'Read and write' permission?
I am using Linux Mint, with limited knowledge of Linux, but your issue seems to be possibly related to write permissions...

-
- Posts: 17
- Joined: Sat Jan 28, 2012 4:31 pm
Re: Tags not sticking between folders
I'm a fairly new user to linux, I just moved to it this year. Is this what you requested?
May I ask whether your .config folder Properties > Permissions -- File access includes 'Read and write' permission?
I am using Linux Mint, with limited knowledge of Linux, but your issue seems to be possibly related to write permissions...![]()
ls -l $HOME/.config/xnviewmp
-rw-rw-r-- 1 myusername myusername 70 Nov 9 10:56 bookmark.ini
-rw-r--r-- 1 root root 744 Dec 23 13:53 default.bar
-rw-r--r-- 1 root root 5722 Dec 23 13:53 default.keys
-rw-r--r-- 1 myusername myusername 4152676352 Jan 11 11:40 Thumb.db
-rw-r--r-- 1 root root 44896256 Jan 11 11:40 XnView.db
-rwxrwxrwx 1 root root 26851 Jan 11 11:16 xnview.ini
-
- XnThusiast
- Posts: 3651
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Tags not sticking between folders
I moved to Linux five years ago specifically to avoid Windows 10, and have only strictly necessary knowledge myself...
In the Mint GUI, right-clicking on the .config folder, I see this:
When I click on the top Owner -- File access dropdown, there is an option to activate Read and write access. That is what I am suggesting, very speculatively, might be relevant to the fact that your tags are not sticking.
Note: Screenshot of opened menu not possible on Linux for some reason.

In the Mint GUI, right-clicking on the .config folder, I see this:
When I click on the top Owner -- File access dropdown, there is an option to activate Read and write access. That is what I am suggesting, very speculatively, might be relevant to the fact that your tags are not sticking.
Note: Screenshot of opened menu not possible on Linux for some reason.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 17
- Joined: Sat Jan 28, 2012 4:31 pm
Re: Tags not sticking between folders
This is a screenshot of the same folder. AFAICS it looks correct. The smudged name is my username.
I've tried uninstalling & reinstalling, but it didn't fix it. Possibly a bug, but I can't ask anyone to disable & re-enable the catalog because it could delete all their saved stuff.
Perhaps the db file is corrupt. I might try to delete it to see what happens
Thank you for the help btw
I've tried uninstalling & reinstalling, but it didn't fix it. Possibly a bug, but I can't ask anyone to disable & re-enable the catalog because it could delete all their saved stuff.
Perhaps the db file is corrupt. I might try to delete it to see what happens
Thank you for the help btw
You do not have the required permissions to view the files attached to this post.
-
- XnThusiast
- Posts: 3651
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Tags not sticking between folders
In your screenshot above, File access is shown as '--' which I interpret as 'no access' rather than the suggested option of Read and write.
If you are uncomfortable maybe you could devise a test that could be performed after backing up any relevant databases, their location can be found in Tools > Settings > Integration.
Maybe Pierre has more ideas.
You are right to proceed with caution, but on my understanding enabling read and write permissions should do no more than enable updated values to be written so that tags stick...

If you are uncomfortable maybe you could devise a test that could be performed after backing up any relevant databases, their location can be found in Tools > Settings > Integration.
Maybe Pierre has more ideas.
-
- Posts: 17
- Joined: Sat Jan 28, 2012 4:31 pm
Re: Tags not sticking between folders
I renamed XnView.db to something else. Then started xnview again & it automatically recreated an XnView.db file.
However, the issue remains.
I think this looks like it is definitely a bug.
@Pierre, can you recreate this by disabling the catalog & then re-enabling it again on a linux system?
However, the issue remains.
I think this looks like it is definitely a bug.
@Pierre, can you recreate this by disabling the catalog & then re-enabling it again on a linux system?
-
- Author of XnView
- Posts: 39815
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 33
- Joined: Mon Jan 14, 2019 3:00 pm
Re: Tags not sticking between folders
Hi all,
I'm on Windows, so, the chance of this being relevant is slim, but I had previously reported a very similar issue where images processed with Affinity Photo will sometimes show the behavior you're speaking of, that is, a keyword (tag) written into an image will (sometimes) disappear when I change folders, change programs, close XnView MP, etc.
The issue is still there for me to this day... The "randomness" of the issue in my case is a real frustration for Pierre, I think.
In any case, I saw your post and thought I'd put this out there.
Good luck.
I'm on Windows, so, the chance of this being relevant is slim, but I had previously reported a very similar issue where images processed with Affinity Photo will sometimes show the behavior you're speaking of, that is, a keyword (tag) written into an image will (sometimes) disappear when I change folders, change programs, close XnView MP, etc.
The issue is still there for me to this day... The "randomness" of the issue in my case is a real frustration for Pierre, I think.
In any case, I saw your post and thought I'd put this out there.
Good luck.