Closed KatieWoe closed 3 years ago
In 2/4/21 dev meeting, we established that this is due to multi-touch fuzz testing (?fuzzPointers=2
) being enabled for https://github.com/phetsims/aqua/issues/106. area-builder, balancing-act, fractions-equality, and fractions-intro are all experiencing this problem. So whoever works on this, please consider your fix in the context of all of these sims.
I spent some trying to figure out exactly why this was happening, but it was complex and rare, so I didn't quite get there. There was a case of this problem on each of the two screens, and on both screens the problem occurred when an emitter fired that said that a shape had returned to its home position and should therefore be removed, but for some reason it was already gone. I decided to add this.interruptSubtreeInput()
to the ResetAllButton
listener on the first screen and the "Start Over" button listener on the second, since the stack traces indicated that these were the situations when the problem occurred. After making this change, I ran the multi-touch fuzz test for 10 minutes without hitting the condition, so hopefully this fixed the issue.
I'll leave it open and follow up later to see if CT is clear.
CT is clear, closing.