batch rename feature incorrectly updating descript.ion file

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

harsh
Posts: 6
Joined: Sun Aug 25, 2013 4:17 pm

batch rename feature incorrectly updating descript.ion file

Post by harsh »

Subject: 1.4.1 Windows: batch rename incorrectly updating descript.ion file

XnView: MP 1.4.1 - 64 bit
OS: Windows 10

When renaming a file using the batch rename dialog, the file is renamed but the descript.ion entry associated with the file isn't carrying the correct file name. The on-screen presentation of the file name and description is correct.

It looks as if the descript.ion file is being updated too early in the rename process (after the temporary rename rather than after the completed rename). Further, even if a file in the list isn't renamed (because it doesn't meet the regex), its associated descript.ion entry is similarly mangled.

Effect: Information stored in the descript.ion file is disassociated from the file.

To reproduce:
1. Insure that a number of files have descript.ion entries
2. Rename the files using the rename dialog (the inline rename seems to work correctly).
3. Navigate XnView MP to another directory and back or restart XnView MP.

Actual behaviour (bug): descript.ion entry file name is changed to tmp-xnview-<number>-<original file name> :bug:

Expected behaviour: description file is modified to reflect the new name with the original description.
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: batch rename feature incorrectly updating descript.ion file

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce
Pierre.
ThomasLandauer
Posts: 14
Joined: Sat Jul 22, 2017 7:11 pm

Re: batch rename feature incorrectly updating descript.ion file

Post by ThomasLandauer »

In combination with the bug I just posted viewtopic.php?f=62&t=44735, this leads to the impression that both Description and Embedded Comment are lost.
harsh
Posts: 6
Joined: Sun Aug 25, 2013 4:17 pm

Re: batch rename feature incorrectly updating descript.ion file

Post by harsh »

Because the "embedded description" is burned into the image file, it seems unlikely that the issues are related.
gwong
Posts: 5
Joined: Sun Feb 05, 2023 10:25 pm

Re: batch rename feature incorrectly updating descript.ion file

Post by gwong »

I encountered the similar issue and mentioned it at this thread.

viewtopic.php?f=62&t=45499&e=1&view=unread#unread

I am using XnViewMP 1.4.5 64 bit on Windows 10.
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: batch rename feature incorrectly updating descript.ion file

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: batch rename feature incorrectly updating descript.ion file

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.6.0. Please check and confirm the bug fix here.
Pierre.