Page 1 of 1

0.93: Line breaks not being read properly from descript.ion

Posted: Mon Sep 09, 2019 8:17 am
by Kethus
XnView: MP 0.93 - 64 bit
OS: Windows 8.1 - 64bit

Effect: Line breaks appear properly in the image's properties in the browser, but if I try to edit them they appear as "\n" in the box. If I want to keep them as line breaks I have to delete all "\n"s and insert line breaks again.

To reproduce:
1. Select an image in XnView MP's browser.
2. Press ctrl+D to bring up the comment editor.
3. Make sure there is a checkbox next to "Description (stored in descript.ion file)".
4. In the text box below "Description (stored in descript.ion file)" type the following:

Code: Select all

test
test
5. Press the "Write" button.
6. Press ctrl+D to bring up the comment editor again.
Actual behaviour (bug): The text box below "Description (stored in descript.ion file)" looks like this:

Code: Select all

test\ntestA
Expected behaviour: The text box below "Description (stored in descript.ion file)" should look like this:

Code: Select all

test
test

Re: 0.93: Line breaks not being read properly from descript.ion

Posted: Fri Sep 27, 2019 10:36 am
by xnview
i cant reproduce with 0.93.1

Re: 0.93: Line breaks not being read properly from descript.ion

Posted: Fri Sep 27, 2019 3:01 pm
by Kethus
The bug persists after uninstalling 0.93 and installing 0.93.1

I noiced that the text in (1) will change without any input from me into (2) if I exit XnView MP and open it again. My descript.ion files looks like (3) from the attached image.

Re: 0.93: Line breaks not being read properly from descript.ion

Posted: Fri Sep 27, 2019 3:35 pm
by xnview
Kethus wrote: Fri Sep 27, 2019 3:01 pm I noiced that the text in (1) will change without any input from me into (2) if I exit XnView MP and open it again. My descript.ion files looks like (3) from the attached image.
your description file is good, but i can't reproduce (2)

Re: 0.93: Line breaks not being read properly from descript.ion

Posted: Sat Sep 28, 2019 1:18 pm
by Kethus
I installed XnVIew MP 0.93.1 on two other devices running Windows 7 - 64bit and Windows 10 - 64bit. The bug appeared on all devices in both the 64bit and 32bit versions of the software. Are you perhaps testing on a 32bit OS?

Re: 0.93: Line breaks not being read properly from descript.ion

Posted: Thu Nov 14, 2019 6:39 am
by xnview
please could you check 0.94?

Re: 0.93: Line breaks not being read properly from descript.ion

Posted: Thu Nov 14, 2019 11:47 am
by Kethus
The bug still happens in 0.94. Should I edit the title?

Re: 0.93: Line breaks not being read properly from descript.ion

Posted: Thu Nov 14, 2019 4:47 pm
by xnview
Kethus wrote: Thu Nov 14, 2019 11:47 am The bug still happens in 0.94. Should I edit the title?
when you make the test, do you have a descript.ion file already in the folder?

Re: 0.93: Line breaks not being read properly from descript.ion

Posted: Thu Nov 14, 2019 5:00 pm
by Kethus
xnview wrote: Thu Nov 14, 2019 4:47 pm when you make the test, do you have a descript.ion file already in the folder?
Tried with both cases.

Re: 0.93: Line breaks not being read properly from descript.ion

Posted: Fri Nov 22, 2019 9:57 am
by xnview
i've tried on windows 7 & 10, with a clean ini, and can't reproduce :(