Search…

X3 Photo Gallery Support Forums

Search…
 
MikeR
Experienced
Topic Author
Posts: 216
Joined: 29 Sep 2006, 09:58

X3 Popup Title Bug

11 Feb 2016, 07:12

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3 Popup Title Bug

11 Feb 2016, 08:59

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 ...
 
MikeR
Experienced
Topic Author
Posts: 216
Joined: 29 Sep 2006, 09:58

Re: X3 Popup Title Bug

11 Feb 2016, 09:10

This title works
Print screen
0245.jpg
0245.jpg (13.5 KiB) Viewed 5557 times

This title doesn't works
0246.jpg
0246.jpg (26.78 KiB) Viewed 5557 times
0248.jpg
0248.jpg (15.65 KiB) Viewed 5557 times
 
MikeR
Experienced
Topic Author
Posts: 216
Joined: 29 Sep 2006, 09:58

Re: X3 Popup Title Bug

11 Feb 2016, 09:11

and with the "1" title
0244.jpg
0244.jpg (23.86 KiB) Viewed 5557 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3 Popup Title Bug

11 Feb 2016, 09:24

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
 
MikeR
Experienced
Topic Author
Posts: 216
Joined: 29 Sep 2006, 09:58

Re: X3 Popup Title Bug

11 Feb 2016, 09:33

it works but how to avoid this title on the thumbnails
0249.jpg
0249.jpg (31.14 KiB) Viewed 5555 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3 Popup Title Bug

11 Feb 2016, 10:28

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 ...
 
MikeR
Experienced
Topic Author
Posts: 216
Joined: 29 Sep 2006, 09:58

Re: X3 Popup Title Bug

11 Feb 2016, 10:38

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3 Popup Title Bug

25 Feb 2016, 03:37

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.
 
MikeR
Experienced
Topic Author
Posts: 216
Joined: 29 Sep 2006, 09:58

Re: X3 Popup Title Bug

25 Feb 2016, 03:39

it was a minor bug but thanks for the correction ;-)
 
MikeR
Experienced
Topic Author
Posts: 216
Joined: 29 Sep 2006, 09:58

Re: X3 Popup Title Bug

25 Feb 2016, 05:43

It can seems weird but "Infinity" as title doesn't display, "infinity" works
(yes I have a photo with this title ;-) )
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3 Popup Title Bug

25 Feb 2016, 10:31

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 ...