phetsims / bending-light

"Bending Light" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/bending-light
GNU General Public License v3.0
8 stars 8 forks source link

Prisms get away from the mouse #372

Open samreid opened 7 years ago

samreid commented 7 years ago

Noted in master: go to 2nd screen, drag a prism from the toolbox. Depending on your screen size, the prism will go faster than the mouse.

samreid commented 7 years ago

Still happening to this day.

samreid commented 6 years ago

Observed again today. This would block republication.

KatieWoe commented 5 years ago

Found again today while testing https://github.com/phetsims/QA/issues/226. Assuming it is unrelated due to the age of the issue.

pixelzoom commented 5 years ago

Sounds like an incorrect coordinate transform in a drag handler, maybe confusion between globalToParentPosition and globalToLocalPosition (or something like that...)

KatieWoe commented 4 years ago

Found again during ES6 Testing

samreid commented 4 years ago

Unassigning until I return to bending light.

samreid commented 3 years ago

I tested master in a wide variety of screen sizes, and tried dragging prisms from the toolbox and in the play area. Nothing got away from the mouse. I'm not sure how this was corrected, but I don't see obvious commits in bending-light that would explain it. Closing... (for now?)

samreid commented 3 years ago

Reopening based on the 3 TODOs marking this issue in the code, they seem like they need attention.