Page 1 of 2
Spinner increment bug
Posted: Tue Sep 20, 2016 12:32
by mrRonge
Hi!
If I click after 9 on spinner, and then click plus, I see this bug (0 not shown):
But if I click before 1, the number looks correct:
Is there any solution to fix the bug?
Thanks.
I am using CEGUI 0.8.0
Re: Spinner increment bug
Posted: Tue Sep 20, 2016 13:20
by YaronCT
@mrRonge: Plz check it 1st in the latest version of cegui 0.8.x (currently 0.8.7) and tell us if it's still there.
Re: Spinner increment bug
Posted: Tue Sep 20, 2016 14:12
by mrRonge
YaronCT wrote:@mrRonge: Plz check it 1st in the latest version of cegui 0.8.x (currently 0.8.7) and tell us if it's still there.
I've checked the spinner in 0.8.7 version. The bug is still there.
Re: Spinner increment bug
Posted: Tue Sep 20, 2016 19:58
by YaronCT
@mrRonge: Thanx for reporting! We'll look at it.
Re: Spinner increment bug
Posted: Tue Sep 20, 2016 21:55
by Ident
We need the Look N Feel for this since this is a non-standard one.
Re: Spinner increment bug
Posted: Wed Sep 21, 2016 09:27
by mrRonge
Ident wrote:We need the Look N Feel for this since this is a non-standard one.
The same problem exist with standard OgreTray and TaharezLook spinners:
Re: Spinner increment bug
Posted: Wed Sep 21, 2016 17:32
by Ident
Why is the font so tiny? Maybe that is why it wasn't noticed yet - does it only happen for tiny font sizes?
Re: Spinner increment bug
Posted: Thu Sep 22, 2016 08:03
by mrRonge
Ident wrote:Why is the font so tiny? Maybe that is why it wasn't noticed yet - does it only happen for tiny font sizes?
Unfortunately no, I found the same big with any font:
Re: Spinner increment bug
Posted: Wed Sep 28, 2016 12:38
by YaronCT
@mrRonge: I'm unable to reproduce the problem. Which fon't do u use?
Re: Spinner increment bug
Posted: Wed Sep 28, 2016 12:53
by mrRonge
YaronCT wrote:@mrRonge: I'm unable to reproduce the problem. Which fon't do u use?
I think the problem not depend on the chosen font. I'm using DejaVuSans and simhei.
Here are detailed steps of reproducing:
1. Set "9" on the spinner:
2. Left click
after "9":
3. Click "+" on the spinner and get result:
Re: Spinner increment bug
Posted: Wed Sep 28, 2016 13:04
by YaronCT
@mrRonge: I'm still unable to reproduce the problem. Plz post all the relevant code (and layout files, if u use any that u created) of a minimal program that demonstrates the problem. Or better, upload such a full program somewhere.
Re: Spinner increment bug
Posted: Wed Sep 28, 2016 13:26
by mrRonge
YaronCT wrote:@mrRonge: I'm still unable to reproduce the problem. Plz post all the relevant code (and layout files, if u use any that u created) of a minimal program that demonstrates the problem. Or better, upload such a full program somewhere.
I've attached the archive with "looknfeels" and test layout with 2 spinners.
Also you can play the game and reproduce the bug in the game:
http://store.steampowered.com/app/496460/
Re: Spinner increment bug
Posted: Wed Sep 28, 2016 16:54
by YaronCT
@mrRonge: Sorry, but I'm still unable to reproduce the problem, even when using your attached files. For me the bug doesn't appear. I'm afraid I'm gonna have to ask u to upload a whole project (including everything) somewhere - be it your whole game or, better, any minimal program where the bug is visible.
Re: Spinner increment bug
Posted: Wed Sep 28, 2016 21:40
by Ident
I think the best would be a reproduction in the SampleBrowser (did you try it there) or any minimal code sample as Yaron suggested.
It is really odd that we cant repro it but this matches with the fact that I don't remember noticing this ever and it would be quite noticable, I would argue
Cool project btw, I will add it to the wiki
Re: Spinner increment bug
Posted: Wed Sep 28, 2016 21:42
by Ident
mrRonge are your screenshots you posted btw from CEED? if so, this would also be a good way for us to reproduce. We need to know the CEED version then