There is a minor occurance of an integer underflow in the Solar System activity in https://gcompris.net/download/qt/linux/beta/gcompris-qt-1.0-beta-Linux64.sh.
Steps to reproduce:
- Open the Solar System activity
- Click on an object in the solar system (the sun or a planet)
- Observe that the current level is 1
- Click the left button
Expected behavior:
In every other activity I have played, there is a fixed number of levels per activity. Suppose that number is n. Then clicking the left button while at level 1 goes to level n.
Actual behavior:
Here is what actually happens after step 4 when clicking on the sun in step 2.
At this point, clicking left or right does not change the level number.
Further observations:
I am unsure that the intended behavior is suppose to be for these left and right buttons in this activity. There doesn't seem to be a maximum "level" number for this activity. Instead, there seems to be a fixed number of questions (for the selected solar system object) and clicking left or right selects one of the questions uniformly at random. In particular, it is possible to be looking at some question Q, click right, and be presented with question Q again.