"Add Text" doesn't support "&" character properly (FIXED)

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, helmut, xnview

Post Reply
Dstruct
Posts: 233
Joined: Fri May 02, 2008 9:27 am

"Add Text" doesn't support "&" character properly (FIXED)

Post by Dstruct »

XnView 1.96.1

-> Add Text

&

-> OK
=> No text can be pasted


-> Add Text

&&

-> OK
=> Single & can be pasted


-> Add Text

1 & 2

-> OK
=> 1 _2 can be pasted



???
:(


FIXED (2.36)
Last edited by Dstruct on Mon Jun 06, 2016 10:19 pm, edited 1 time in total.
Dstruct
Posts: 233
Joined: Fri May 02, 2008 9:27 am

Re: "Add Text" doesn't support "&" character properly

Post by Dstruct »

Similar problem with | character.

-> Add Text
-> |
-> OK

=> | can be pasted onto image


-> Add Text

=> Now the dialog is showing a strange square character:

add-text.png

FIXED (2.36)
Last edited by Dstruct on Mon Jun 06, 2016 10:19 pm, edited 1 time in total.
Dstruct
Posts: 233
Joined: Fri May 02, 2008 9:27 am

Re: "Add Text" doesn't support "&" character properly

Post by Dstruct »

No one?
User avatar
rra
Posts: 190
Joined: Thu May 11, 2006 1:46 pm
Location: The Netherlands

Re: "Add Text" doesn't support "&" character properly

Post by rra »

The only "bug" I found with the "&" char
is that one has to type it twice to the text-string to get it displayed once.
No problems with the "|" char for XnView 1.96.2 !!

René
Dstruct
Posts: 233
Joined: Fri May 02, 2008 9:27 am

Re: "Add Text" doesn't support "&" character properly

Post by Dstruct »

Im on german Windows XP SP3 with german keyboard layout. Maybe that's why?
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: "Add Text" doesn't support "&" character properly

Post by XnTriq »

Dstruct wrote:Im on german Windows XP SP3 with german keyboard layout. Maybe that's why?
There's nothing wrong with your keyboard, Dstruct. This is clearly a bug in XnView.
Dstruct
Posts: 233
Joined: Fri May 02, 2008 9:27 am

Re: "Add Text" doesn't support "&" character properly

Post by Dstruct »

Not fixed in 1.96.5 ...
Dstruct
Posts: 233
Joined: Fri May 02, 2008 9:27 am

Re: "Add Text" doesn't support "&" character properly

Post by Dstruct »

Dstruct wrote:Similar problem with | character.

-> Add Text
-> |
-> OK

=> | can be pasted onto image


-> Add Text

=> Now the dialog is showing a strange square character:

Image
This problem still is exists in 1.97! Only the "&" problem is fixed.
Dstruct
Posts: 233
Joined: Fri May 02, 2008 9:27 am

Re: "Add Text" doesn't support "&" character properly

Post by Dstruct »

Same in 1.97.1 ...
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "Add Text" doesn't support "&" character properly

Post by xnview »

Dstruct wrote:Same in 1.97.1 ...
Yes not in the changelog :-) (not easy to fix, can be a problem with old .ini)
Pierre.
Dstruct
Posts: 233
Joined: Fri May 02, 2008 9:27 am

Re: "Add Text" doesn't support "&" character properly

Post by Dstruct »

xnview wrote:(not easy to fix, can be a problem with old .ini)
What do you mean with that?



Here another weird issue:


Try to add <<< as text onto an image. Result: Just two arrows << get pasted onto the image!?
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "Add Text" doesn't support "&" character properly

Post by xnview »

Dstruct wrote: Try to add <<< as text onto an image. Result: Just two arrows << get pasted onto the image!?
Yes normal, <..> is used for placeholder
Pierre.
Dstruct
Posts: 233
Joined: Fri May 02, 2008 9:27 am

Re: "Add Text" doesn't support "&" character properly

Post by Dstruct »

Placeholder for what?
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: "Add Text" doesn't support "&" character properly

Post by marsh »

< and > pass on commands listed with the "Insert" button, like <Filename>
Post Reply