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

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

Moderator: 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 » Mon Sep 09, 2019 8:17 am

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: 31891
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 » Fri Sep 27, 2019 10:36 am

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 » Fri Sep 27, 2019 3:01 pm

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: 31891
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 » Fri Sep 27, 2019 3:35 pm

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 » Sat Sep 28, 2019 1:18 pm

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: 31891
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 » Thu Nov 14, 2019 6:39 am

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 » Thu Nov 14, 2019 11:47 am

The bug still happens in 0.94. Should I edit the title?

User avatar
xnview
Author of XnView
Posts: 31891
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 » Thu Nov 14, 2019 4:47 pm

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 » Thu Nov 14, 2019 5:00 pm

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.

Post Reply