0.98.0: Incorrect display of filenames containing space character

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

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
deus-ex
Posts: 171
Joined: Mon Sep 20, 2004 7:24 pm
Location: Earth

0.98.0: Incorrect display of filenames containing space character

Post by deus-ex »

Windows 10 Pro 64-bit, XnView MP v0.98.0 64-bit

Current behavior:
XnView MP adds several spaces to the filename in the info display when the filename contains at least one space character.

How to reproduce:
1. Enable display of image information (Settings > View > Info)
2. Open an image file, with the filename containing at least one space character, either in Fullscreen or View mode
3. The info adds trailing spaces to the filename (example images attached below)

Expected behavior:
The info display should not add any trailing spaces to filenames containing space characters.
 
Attachments
1. Settings for Info display.png
2. Filename with no space characters.png
2. Filename with no space characters.png (4.85 KiB) Viewed 816 times
3 .Filename with a leading space character.png
3 .Filename with a leading space character.png (4.7 KiB) Viewed 816 times
4 .Filename with a trailing space character.png
4 .Filename with a trailing space character.png (4.68 KiB) Viewed 816 times
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.98.0: Incorrect display of filenames containing space character

Post by xnview »

if you disable 'HTML Tags'?
Pierre.
User avatar
deus-ex
Posts: 171
Joined: Mon Sep 20, 2004 7:24 pm
Location: Earth

Re: 0.98.0: Incorrect display of filenames containing space character

Post by deus-ex »

Confirmed, with "HTML tags supported" disabled there are no trailing spaces shown. Is it intended to work that way?
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.98.0: Incorrect display of filenames containing space character

Post by xnview »

deus-ex wrote: Wed Dec 23, 2020 4:31 pm Confirmed, with "HTML tags supported" disabled there are no trailing spaces shown. Is it intended to work that way?
No, but i have a problem with the HTML engine
Pierre.
Post Reply