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

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

Moderator: Dreamer

Post Reply
Kethus
Posts: 1
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

Post Reply