Created attachment 147951 [details] Level that was interrupted SUMMARY *** In the game 'Logical associations', interrupting a level (i.e. only partially finishing it) and then skipping to a different level causes the level the player skipped to to 'inherit' the progress from the interrupted level. Please see screenshots. *** STEPS TO REPRODUCE 1. Start the game 'Logical associations' 2. Select 1-3 of the correct fruits (i.e. don't finish the level) 3. Skip to a different level 4. Try to select the correct fruit in the new level 5. Observe that you can't 6. Select all the other fruits until a fruit is displayed on the first line 6. Observe the misplacement SOFTWARE/OS VERSIONS Fedora KDE GCompris 2.3 – flatpak version from Flathub
Created attachment 147952 [details] Level that I skipped to after interrupting the previous level
Hi, thank you for the report. I can reproduce. I'll take a look tonight if nobody beats me. It seems an issue with the index not being correctly reseted. Cheers
Git commit 61af173d1ed35bc769ca840d78cd6d003b96464d by Timothée Giet. Committed on 04/04/2022 at 10:10. Pushed by timotheegiet into branch 'master'. algorithm, fix choiceCount not reset on level changed manually move choiceCount reset in setUp function which is always called when loading new level or sublevel. M +2 -1 src/activities/algorithm/algorithm.js https://invent.kde.org/education/gcompris/commit/61af173d1ed35bc769ca840d78cd6d003b96464d