Custom keywords order

Ideas for improvements and requests for new features in XnView MP

Moderators: helmut, xnview

Post Reply
Banta
Posts: 4
Joined: Sun Jun 01, 2025 3:20 pm

Custom keywords order

Post by Banta »

After last update (1.9.4) keywords assigned to images in unclear order. Previously, it was possible to use the ordered arrangement of keywords in the TAGS table of the XNVies.db file to assign them conveniently to image files. As example
D; E; A|F; Y; B
where keywords in TAGS was listed like

H
D
iik
E
A
Y
B
F (parent A)
...
So now they assigned neither alphabetically nor according to the ordinal number in the table - F; Y; B; E; A; D or somthg. Is there a trick to get the old functionality back? Well, except for rolling back to the old version :(
User avatar
user0
XnThusiast
Posts: 2562
Joined: Sat May 09, 2015 9:37 am

Re: Custom keywords order

Post by user0 »

sounds like you re doing weird things, show some pictures

ps. categories order in the app is and always must be alphabetical
Banta
Posts: 4
Joined: Sun Jun 01, 2025 3:20 pm

Re: Custom keywords order

Post by Banta »

user0 wrote: Thu Oct 02, 2025 6:26 am sounds like you re doing weird things, show some pictures

ps. categories order in the app is and always must be alphabetical
Pre 1.9.4:
1.jpg
1.jpg (256.37 KiB) Viewed 155 times
2.jpg
2.jpg (120.87 KiB) Viewed 155 times
and in explorer:
3.jpg
3.jpg (33.34 KiB) Viewed 155 times
1.9.4:
now strange sorting in xmp
4.jpg
4.jpg (501.69 KiB) Viewed 155 times
bot no changes in TAGS table
5.jpg
5.jpg (119.06 KiB) Viewed 155 times
so in explorer keywords with new order too (maybe inversed but not 100% sure)
6.jpg
6.jpg (69.98 KiB) Viewed 155 times
:?
Banta
Posts: 4
Joined: Sun Jun 01, 2025 3:20 pm

Re: Custom keywords order

Post by Banta »

Well, seems it inversed now:
7.jpg
7.jpg (288.27 KiB) Viewed 146 times
child category XX last in table, but first in order AND separated from its parent :shock:
Is this a bug, or is it supposed to be like this? :D
User avatar
user0
XnThusiast
Posts: 2562
Joined: Sat May 09, 2015 9:37 am

Re: Custom keywords order

Post by user0 »

database has nothing to do with the order in which data is written to the file

you can request 'Write Keywords in alphabetic order' feature
which on write event will read all keywords(existing+new), sort them, and write in order(one-by-one?)
Banta
Posts: 4
Joined: Sun Jun 01, 2025 3:20 pm

Re: Custom keywords order

Post by Banta »

user0 wrote: Thu Oct 02, 2025 9:36 am database has nothing to do with the order in which data is written to the file

you can request 'Write Keywords in alphabetic order' feature
which on write event will read all keywords(existing+new), sort them, and write in order(one-by-one?)
As you can see XMP tags are recorded strictly in the order they appear in the database - see screenshots previous posts. At least prior 1.9.4.
Post Reply