phetsims / energy-skate-park-basics

"Energy Skate Park: Basics" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/energy-skate-park-basics
GNU General Public License v3.0
2 stars 9 forks source link

Erase button can freeze sim #450

Closed rea-laura closed 4 years ago

rea-laura commented 5 years ago

Test Device

Jordan

Operating System

Mojave 10.14.2

Browser

Chrome 71.0.3578.98

Problem Description

For https://github.com/phetsims/QA/issues/226: When thermal energy is discarded, erasing the track can cause the sim to freeze. Could be related to https://github.com/phetsims/energy-skate-park-basics/issues/449.

Steps to Reproduce

1) open energy skate park basics from phettest.colorado.edu. 2) select "playground" from home menu 3) turn on bar graph and pie graph 4) build a simple parabola with its vertex touching the bottom 5) start skater on track and let them oscillate until all the energy has been converted into thermal and the pie graph above them changes to a dashed yellow circle. screen shot 2018-12-18 at 11 24 50 am 6) discard the thermal energy using the trash can. Note there is still a small amount of total energy left in the bar graph screen shot 2018-12-18 at 11 25 03 am 7) press the erase button. This will freeze all of the sim, except for the reset button and the home menu bar at the bottom. Sometimes the problem resolves itself, other times pressing the reset button will fix it.

samreid commented 5 years ago

Thanks @rea-laura, I'm also assigning @jessegreenberg so he's aware of it and in case he addresses it before I get here.

samreid commented 5 years ago

@jessegreenberg can you reproduce this problem? If so, would you like to investigate, or should I take a look?

jessegreenberg commented 4 years ago

This is no longer an issue, I am not able to reproduce following the steps above. In addition, the dashed "total energy" pie chart doesn't appear anymore in basics version.