Bug 445867 - In the activity on renewable energies, Tux's house can stay lit although it is not supplied in electricity, as in the attached screenshot
Summary: In the activity on renewable energies, Tux's house can stay lit although it i...
Status: RESOLVED FIXED
Alias: None
Product: gcompris
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Jazeix Johnny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-21 16:10 UTC by lcerf
Modified: 2021-11-21 17:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Tux's house lit up although not supplied in electricity (screenshot) (555.26 KB, image/png)
2021-11-21 16:10 UTC, lcerf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lcerf 2021-11-21 16:10:24 UTC
Created attachment 143805 [details]
Tux's house lit up although not supplied in electricity (screenshot)

SUMMARY
After completing the first two stages of the activity on renewable energies, switching off the transformer right before Tux's house does not switch his lamp off.

STEPS TO REPRODUCE
1. Fulfill the first two steps (hydroelectric and eolian energies) to light both Tux's house and the city.
2. Click on the transformer right before Tux's house and the city.

OBSERVED RESULT
The city lights go off but not Tux's.

EXPECTED RESULT
The lights in both the city and Tux's house should go off.

SOFTWARE/OS VERSIONS
Observed on GCompris 1.1 downloaded from https://gcompris.net/download/qt/linux/gcompris-qt-1.1-Linux64.sh and running on Trisquel 9 (based on Ubuntu 18.04) and on GCompris 2.0 Beta 3 downloaded from https://gcompris.net/download/qt/linux/beta/gcompris-qt-2.0-beta3-Linux64.sh and running on Debian 11.
Comment 1 Jazeix Johnny 2021-11-21 17:07:01 UTC
Git commit 7a176097ec751c12fd2b15b8e909ead691abe171 by Johnny Jazeix.
Committed on 21/11/2021 at 17:06.
Pushed by jjazeix into branch 'master'.

renewable_energy, when shutting down the transformer, shut down all switches

M  +2    -2    src/activities/renewable_energy/RenewableEnergy.qml

https://invent.kde.org/education/gcompris/commit/7a176097ec751c12fd2b15b8e909ead691abe171
Comment 2 Jazeix Johnny 2021-11-21 17:07:45 UTC
Git commit c272a824eb87087e5071dd26e772d82e2064280d by Johnny Jazeix.
Committed on 21/11/2021 at 17:07.
Pushed by jjazeix into branch 'KDE/2.0'.

renewable_energy, when shutting down the transformer, shut down all switches

M  +2    -2    src/activities/renewable_energy/RenewableEnergy.qml

https://invent.kde.org/education/gcompris/commit/c272a824eb87087e5071dd26e772d82e2064280d
Comment 3 Jazeix Johnny 2021-11-21 17:07:58 UTC
Thank you for the report, I've fixed it