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

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
Kethus
Posts: 5
Joined: Mon Sep 09, 2019 7:56 am

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

Post 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
User avatar
xnview
Author of XnView
Posts: 43598
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

i cant reproduce with 0.93.1
Pierre.
Kethus
Posts: 5
Joined: Mon Sep 09, 2019 7:56 am

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

Post 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.
Attachments
Untitled.jpg
User avatar
xnview
Author of XnView
Posts: 43598
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post 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)
Pierre.
Kethus
Posts: 5
Joined: Mon Sep 09, 2019 7:56 am

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

Post 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?
User avatar
xnview
Author of XnView
Posts: 43598
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

please could you check 0.94?
Pierre.
Kethus
Posts: 5
Joined: Mon Sep 09, 2019 7:56 am

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

Post by Kethus »

The bug still happens in 0.94. Should I edit the title?
User avatar
xnview
Author of XnView
Posts: 43598
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post 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?
Pierre.
Kethus
Posts: 5
Joined: Mon Sep 09, 2019 7:56 am

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

Post 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.
User avatar
xnview
Author of XnView
Posts: 43598
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

i've tried on windows 7 & 10, with a clean ini, and can't reproduce :(
Pierre.
Post Reply