Bug 481896 - "Explore world animals" activity: Name of animal not displayed
Summary: "Explore world animals" activity: Name of animal not displayed
Status: RESOLVED FIXED
Alias: None
Product: gcompris
Classification: Applications
Component: general (show other bugs)
Version: git master
Platform: Android Android 10.x
: NOR normal
Target Milestone: ---
Assignee: Jazeix Johnny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-27 14:17 UTC by Philippe
Modified: 2024-02-28 07:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
2 screenshots of the bug before and after clicking on a country (194.61 KB, application/x-zip-compressed)
2024-02-27 14:17 UTC, Philippe
Details
Screenshot after selecting level 3 (120.38 KB, image/jpeg)
2024-02-27 14:20 UTC, Philippe
Details
Screenshot after clicking on a bad country (108.41 KB, image/jpeg)
2024-02-27 14:21 UTC, Philippe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe 2024-02-27 14:17:55 UTC
Created attachment 166137 [details]
2 screenshots of the bug before and after clicking on a country

SUMMARY


The name of the animal to find is not displayed until the good country is found and so the next animal name is displayed.

STEPS TO REPRODUCE
1. Open "Explore world animals" activity
2. switch to level "3"

OBSERVED RESULT

That "Click on the location where the given animal lives" is displayed **but the field that should contains the name of the animal to find is empty**

EXPECTED RESULT

The field that should contains the name of the animal to find is filled.

SOFTWARE/OS VERSIONS

* GCompris v4.0 on Android / Qt Version: 5.12.12
* GCompris v4.0 on Windows / Qt Version: 5.12.12

ADDITIONAL INFORMATION
Comment 1 Philippe 2024-02-27 14:20:48 UTC
Created attachment 166138 [details]
Screenshot after selecting level 3
Comment 2 Philippe 2024-02-27 14:21:30 UTC
Created attachment 166139 [details]
Screenshot after clicking on a bad country
Comment 3 Jazeix Johnny 2024-02-27 14:50:53 UTC
Git commit 9b85454f59b4244c4a5d87ac95086b673e622c43 by Johnny Jazeix.
Committed on 27/02/2024 at 14:50.
Pushed by jjazeix into branch 'master'.

explore_farm_animals, fix question not displaying when using previous button.

M  +1    -0    src/activities/explore_farm_animals/explore-level.js

https://invent.kde.org/education/gcompris/-/commit/9b85454f59b4244c4a5d87ac95086b673e622c43
Comment 4 Jazeix Johnny 2024-02-27 14:52:06 UTC
Thank you for opening the issue!
I could reproduce, we have a regression when using the previous level button, it does not reset the question.

I've fixed it, we will release it in the next minor version
Comment 5 Philippe 2024-02-27 14:55:37 UTC
Thanks a lot.
Very efficient bugfixing! (less time to fix than to report 👍😅)
Comment 6 Jazeix Johnny 2024-02-28 07:28:50 UTC
Git commit d58ec1c401c44022e38481c2924f7526bef81441 by Johnny Jazeix.
Committed on 28/02/2024 at 07:27.
Pushed by jjazeix into branch 'KDE/4.0'.

explore_farm_animals, fix question not displaying when using previous button.

M  +1    -0    src/activities/explore_farm_animals/explore-level.js

https://invent.kde.org/education/gcompris/-/commit/d58ec1c401c44022e38481c2924f7526bef81441