Page 1 of 1

X3 Popup Title Bug

Posted: 11 Feb 2016, 07:12
by MikeR
Hello

It seems X3 doesn't show title in the popup view when the title is only numeric. By example a title "1" works but not 1.

Can you check ?

Thanks

PS : really I have a title only numeric :D

Re: X3 Popup Title Bug

Posted: 11 Feb 2016, 08:59
by mjau-mjau
MikeR wrote:It seems X3 doesn't show title in the popup view when the title is only numeric. By example a title "1" works but not 1.
Sorry not quite sure what you mean ... Do you have a link perhaps? I don't understand: "1" works but not 1 ...

Re: X3 Popup Title Bug

Posted: 11 Feb 2016, 09:10
by MikeR
This title works
Print screen
0245.jpg
0245.jpg (13.5 KiB) Viewed 6004 times

This title doesn't works
0246.jpg
0246.jpg (26.78 KiB) Viewed 6004 times
0248.jpg
0248.jpg (15.65 KiB) Viewed 6004 times

Re: X3 Popup Title Bug

Posted: 11 Feb 2016, 09:11
by MikeR
and with the "1" title
0244.jpg
0244.jpg (23.86 KiB) Viewed 6004 times

Re: X3 Popup Title Bug

Posted: 11 Feb 2016, 09:24
by mjau-mjau
Confirm. I am not 100% sure what the cause is at this point, but X3 does use numerical values from names for some things. If you really need to use pure numbers in your image titles, then you can just add an empty space ( ) or html-tag after the number for now:
Image
Image

Re: X3 Popup Title Bug

Posted: 11 Feb 2016, 09:33
by MikeR
it works but how to avoid this title on the thumbnails
0249.jpg
0249.jpg (31.14 KiB) Viewed 6002 times

Re: X3 Popup Title Bug

Posted: 11 Feb 2016, 10:28
by mjau-mjau
MikeR wrote:it works but how to avoid this title on the thumbnails
I will look into it anyway ... I guess it was not a good fix if you need to use pure numbers for titles AND need to display the title in thumbnails layout.

May I ask why you need a pure number as title? The point of titles is to able to add something more complex than the filename, and include spaces and special characters. I can't see why you would need a number for indexing, as the popup already has an index count. I don't see why anyone would need to view a number in a thumbnails layout either. Of course you could easily do something like: #1 ...

Re: X3 Popup Title Bug

Posted: 11 Feb 2016, 10:38
by MikeR
Because it's just the name of the photo :D
But don't mind if it's complicated, for now I have just one image with a numeric title and it's not a problem to put the title between other characters like - - or / /
there's other things more important

Re: X3 Popup Title Bug

Posted: 25 Feb 2016, 03:37
by mjau-mjau
This issue is fixed and pending release v 0.16 to be released next week.

The reason was that titles and descriptions with only numbers don't read programmatically as a string. Therefore, they don't have a valid string "length", which was used to determine if the title/description was empty or not. This has been changed now.

Re: X3 Popup Title Bug

Posted: 25 Feb 2016, 03:39
by MikeR
it was a minor bug but thanks for the correction ;-)

Re: X3 Popup Title Bug

Posted: 25 Feb 2016, 05:43
by MikeR
It can seems weird but "Infinity" as title doesn't display, "infinity" works
(yes I have a photo with this title ;-) )

Re: X3 Popup Title Bug

Posted: 25 Feb 2016, 10:31
by mjau-mjau
MikeR wrote:It can seems weird but "Infinity" as title doesn't display, "infinity" works
(yes I have a photo with this title ;-) )
Lol :D how do you figure these things out? This is basically an entirely related issue, and will likely be fixed after the update also. "Infinity" (without quotes), when used in Javascript/Json, is basically a number, and will therefore create the same bug as when using a pure number. It will work after the update ...