Page 1 of 1

Companion bug

Posted: Fri Nov 01, 2019 1:12 pm
by mpy
Hello, I am using XnViewMP 0.93.1 64bits (Mar 7 2019) on Linux (Arch) and my settings for companion files are

[ ] - Show Companion
[x] - Delete
[x] - Copy/move/Rename

I experience issues with upper case file extensions; here are some cases:

1) Initial directory content:

Code: Select all

DSCN0055.JPG
DSCN0055.JPG.xmp
2) Copy "DSCN0055.JPG" within XnViewMP to the same directory. Directory content now:

Code: Select all

Copy of DSCN0055.JPG
Copy of DSCN0055.JPG.xmp
DSCN0055.JPG
DSCN0055.JPG.xmp
OK

3) Delete "Copy of DSCN0055.JPG" within XnViewMP. Directory content now:

Code: Select all

DSCN0055.JPG
DSCN0055.JPG.xmp
OK

4) Rename "DSCN0055.JPG" within XnViewMP to "DSCN0055_test.JPG". Directory content now:

Code: Select all

DSCN0055_test.JPG
DSCN0055.JPG.xmp
Faulty!
The expected behavior would be that also the companion is renamed to "DSCN0055_test.JPG.xmp", as it is working when using files with lower case file extensions.

I tried to add "JPG" (upper case) to the companion definition as master extension, but it is automatically converted to lower case once editing is finished.

Can anybody reproduce this behavior?
Thanks a lot!

Re: Companion bug

Posted: Thu Nov 14, 2019 6:37 am
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce. It works if we have .jpg and not .JPG

Re: Companion bug

Posted: Tue Mar 10, 2020 12:31 pm
by xnview
See issue for current status and some details.

Re: Companion bug

Posted: Sat Mar 21, 2020 9:15 am
by xnview
This problem is supposed to be fixed in XnView MP 0.96. Please check and confirm the bug fix here.

Re: Companion bug

Posted: Sat Mar 21, 2020 5:15 pm
by mpy
I can confirm that the problem as described is solved in XnView MP 0.96 (using 64bit version on Arch Linux). :)
Thank you very much!

I also tested the "Batch rename" function. There a little quirk remains here, when you activate "Extension" and/or "Case" option, to convert the Base file extension to lower case. Example:

Code: Select all

DRX00998.JPG
DRX00998.JPG.xmp
gets renamed with "Case = Extension lower case". Result:

Code: Select all

renamed.jpg
renamed.JPG.xmp

Re: Companion bug

Posted: Sun Mar 22, 2020 8:12 am
by xnview
mpy wrote: Sat Mar 21, 2020 5:15 pm I also tested the "Batch rename" function. There a little quirk remains here, when you activate "Extension" and/or "Case" option, to convert the Base file extension to lower case. Example:

Code: Select all

DRX00998.JPG
DRX00998.JPG.xmp
gets renamed with "Case = Extension lower case". Result:

Code: Select all

renamed.jpg
renamed.JPG.xmp
could you create a new post?

Re: Companion bug

Posted: Sun Mar 22, 2020 11:22 am
by mpy
Done: Companion bug in "Batch rename" (viewtopic.php?f=62&t=40179)