-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mass position may be incorrect when amplitude is increased while sim is paused #78
Comments
Reproduced in master. Notes to self: Pressing the "Initial Positions" button calls |
Here's another easier way to reproduce:
|
After poking around in OneDimensionModel, I now understand what's going on here. When you pause the sim in step 2 above, you do so at some time Some options: (1) Do nothing. My recommendation is (1). @arouinfar How would you like to proceed for the prototype, and for the final version? |
@pixelzoom I think (1) is fine for the purposes of the prototype. I would prefer (2) in the final version of the simulation. Generally, people are likely to pause the simulation to set up a new initial condition. That could involve adjusting mode sliders and/or displacing the masses. Once the sim is playing, I would expect "initial positions" to return the sim to the state it was in just before pressing play. That also means that if I pause the sim and then move some sliders or masses around, hitting "initial positions" wouldn't appear to do anything because the sim is overriding the latest state as the new "initial positions". |
Unassigning and deferring, since this will not be addressed for the prototype. |
Test device
MacBook Air (m1 chip)
Operating System
12.0.1
Browser
Safari 15
Problem description
phetsims/qa#733
Sometimes when the sim is paused and amplitude values are changed, the positions of the masses don't accurately reflect that change.
Steps to reproduce
This behavior is very inconsistent, but here are some steps that have worked for me:
Visuals
I do not see this behavior in the flash version
The text was updated successfully, but these errors were encountered: