In the table there are items that are not shown in XnViewMP.
EDIT:
It' worse:
Some files are assoziated with the "invisible" categories,
not shown anywhere (except in the db of course).
Category system, SQLite DB, table "Tags"
Moderators: xnview, Dreamer
-
nji9
- Posts: 223
- Joined: Wed May 13, 2020 10:33 am
- Location: Germany
-
xnview
- Author of XnView
- Posts: 47717
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
nji9
- Posts: 223
- Joined: Wed May 13, 2020 10:33 am
- Location: Germany
Re: Category system, SQLite DB, table "Tags"
No, you do misunderstand.
It's NOT about files, but about categories.
In Xnview.db there are entries in the "Tags" table
that are not seen in XnViewMP anywhere.
Long time ago I removed them.
And even worse:
Due to the "TagsTree" table in Xnview.db
some files are associated with that "no existing" labels!
There is a bug in XnViewMP:
Not showing all category entries that are in the db's table "Tag".
Confirm?
It's NOT about files, but about categories.
In Xnview.db there are entries in the "Tags" table
that are not seen in XnViewMP anywhere.
Long time ago I removed them.
And even worse:
Due to the "TagsTree" table in Xnview.db
some files are associated with that "no existing" labels!
There is a bug in XnViewMP:
Not showing all category entries that are in the db's table "Tag".
Confirm?
-
xnview
- Author of XnView
- Posts: 47717
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Category system, SQLite DB, table "Tags"
houps sorry. Strange, which column values do you have? Is it possible to have your .db?
Pierre.
-
nji9
- Posts: 223
- Joined: Wed May 13, 2020 10:33 am
- Location: Germany
Re: Category system, SQLite DB, table "Tags"
Sent as PM...
-
user0
- XnThusiast
- Posts: 2906
- Joined: Sat May 09, 2015 9:37 am
Re: Category system, SQLite DB, table "Tags"
just experienced similar issue
A
while working with categories via the UI (creating, renaming, and moving them), I noticed that one of them disappeared (c2).
Record still exists in db, but somehow has ParentID = TagID
Unfortunately, I have not been able to reproduce this issue so far and do not have this db anymore.
B
if there is a record in Tags with ParentID = TagID and 'Update files from catalog is pressed - app stuck with updating dialog
A
while working with categories via the UI (creating, renaming, and moving them), I noticed that one of them disappeared (c2).
Record still exists in db, but somehow has ParentID = TagID
Unfortunately, I have not been able to reproduce this issue so far and do not have this db anymore.
B
if there is a record in Tags with ParentID = TagID and 'Update files from catalog is pressed - app stuck with updating dialog
You do not have the required permissions to view the files attached to this post.
-
xnview
- Author of XnView
- Posts: 47717
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Category system, SQLite DB, table "Tags"
c2 had which parent?user0 wrote: Fri May 01, 2026 12:42 pm A
while working with categories via the UI (creating, renaming, and moving them), I noticed that one of them disappeared (c2).
Record still exists in db, but somehow has ParentID = TagID
Unfortunately, I have not been able to reproduce this issue so far and do not have this db anymore.
yes, it's a problemB
if there is a record in Tags with ParentID = TagID and 'Update files from catalog is pressed - app stuck with updating dialog
Pierre.
-
user0
- XnThusiast
- Posts: 2906
- Joined: Sat May 09, 2015 9:37 am
Re: Category system, SQLite DB, table "Tags"
unfortunately, I do not remember
btw, what is the purpose of ID field in Tags table?
-
xnview
- Author of XnView
- Posts: 47717
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France