0.98.0: Incorrect display of filenames containing space character

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

Moderators: xnview, Dreamer

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.
 
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 47539
Joined: Mon Oct 13, 2003 7:31 am
Location: France

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: 47539
Joined: Mon Oct 13, 2003 7:31 am
Location: France

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.