[GCompris-devel] GCompris Qt 0.40 Beta

Bruno Coudoin bruno.coudoin at gcompris.net
Wed Jul 1 10:14:09 UTC 2015



Le 29/06/2015 22:19, JAZEIX Johnny a écrit :
> Hi,
>
> I found a bug on colors activities. In some cases, the question gets
> stuck. For example, if you click quite fast at the two last ducks (or
> butterflies), you have an error at:
> function getCurrentTextQuestion() {
>     return dataset[currentLevel][currentQuestion].text
> }
>
> But even when I do a check here for overflow, sometimes when you get
> too fast (maybe 3 ducks in a row (yes, it's random to get it :)), I'm
> not sure of the trigger), the question is not good but there are no
> errors...
>
> I'm still digging but was not successful yet.

Hi,

I fixed that one. It was an array overflow. In nextQuestion it was
setting the currentQuestion out of bounds.

Bruno.


More information about the GCompris-devel mailing list