XnView: MP 0.87 - 64 bit
OS: Windows 10 - 64bit
Effect: Corrupted database
Detail:
- The category assignments and the tags are removed from the files inside the folder.
- But those files are still shown when browsing through Categories Filter.
- In Setting -> Catalog -> Catalog -> Cached directory, two entries are created, for example:
D:\Pictures\漢字 (without backslash)
D:\Pictures\漢字\ (with backslash)
where 漢字 is the new name.
What are affected: folders whose names consist of non-ASCII characters, namely 漢字(Chinese characters) and かな(kana).
To reproduce:
Rename any of those folders to another such name inside XnView MP.
0.87: Renaming a folder with a non-ASCII character name corrupts the database
Moderator: Dreamer
Re: 0.87: Renaming a folder with a non-ASCII character name corrupts the database

Pierre.
Re: 0.87: Renaming a folder with a non-ASCII character name corrupts the database
This problem is supposed to be fixed in XnView MP 0.88. Please check and confirm the bug fix here.
Pierre.
Re: 0.87: Renaming a folder with a non-ASCII character name corrupts the database
Hello, i'm using version 0.88 and just trying to learn how to work with the catalog and it seems this bug is still there.
When I rename a "middle" folder in the pictures path (e.g. /parent/folder/pics/x.jpg -> /parent/folder2/pics/x.jpg), all the categories are lost for the files in the folder pics. They are still visible in the Categories Filter, but as invalid-lost files.
So, renaming seems to work only when the last folder in the path is renamed (e.g. /pics/x.jpg -> /pics2/x.jpg)... renaming any middle folder in the path corrupts the catalog.
Btw, is there any option to rebuild the catalog manually when folders are renamed/moved in another file manager? I tried the Optimize button in the Settings-Catalog, but no luck.
EDIT: I found a temporary workaround. I create a brand new folder with the desired name, then move there all the subfolders from the old folder. But of course, this is a cumbersome workflow for just renaming a folder.
When I rename a "middle" folder in the pictures path (e.g. /parent/folder/pics/x.jpg -> /parent/folder2/pics/x.jpg), all the categories are lost for the files in the folder pics. They are still visible in the Categories Filter, but as invalid-lost files.
So, renaming seems to work only when the last folder in the path is renamed (e.g. /pics/x.jpg -> /pics2/x.jpg)... renaming any middle folder in the path corrupts the catalog.
Btw, is there any option to rebuild the catalog manually when folders are renamed/moved in another file manager? I tried the Optimize button in the Settings-Catalog, but no luck.
EDIT: I found a temporary workaround. I create a brand new folder with the desired name, then move there all the subfolders from the old folder. But of course, this is a cumbersome workflow for just renaming a folder.
Miki Proxima (meshlogic)
Re: 0.87: Renaming a folder with a non-ASCII character name corrupts the database
Right the previous fix was the problem, so here is the bug reportmiki wrote: When I rename a "middle" folder in the pictures path (e.g. /parent/folder/pics/x.jpg -> /parent/folder2/pics/x.jpg), all the categories are lost for the files in the folder pics. They are still visible in the Categories Filter, but as invalid-lost files.
So, renaming seems to work only when the last folder in the path is renamed (e.g. /pics/x.jpg -> /pics2/x.jpg)... renaming any middle folder in the path corrupts the catalog.
Pierre.
Re: 0.87: Renaming a folder with a non-ASCII character name corrupts the database
Thank you very much for fixing this essential issuexnview wrote: Right the previous fix was the problem, so here is the bug report

Miki Proxima (meshlogic)
Re: 0.87: Renaming a folder with a non-ASCII character name corrupts the database
This problem is supposed to be fixed in XnView MP 0.89. Please check and confirm the bug fix here.
Pierre.