Closed pixelzoom closed 3 years ago
To reproduce manually:
Error: Assertion failed: this.isOnGraphProperty must be true
Two changes...
For c734080, Vector setTipWithInvariants
and setTailWithInvariants
both had an assertion like this:
assert && assert( this.isOnGraphProperty.value === true, 'this.isOnGraphProperty must be true' );
I've removed those assertions (and related comments). There's nothing fatal that occurs if you try to do these things while the Vector is off the graph. In the case of the tip, it's a bit odd because the tip snaps to the edge of the graph. But this use case is so unlikely that I think it's fine.
For 5719f72, interactions with VectorNode needed to be cancelled when animating back to the toolbox. Otherwise you could still grab some part of the vector and trigger an assertion failure.
Tested with local unbuilt version using ?brand=phet&ea&debugger&fuzzPointers=2&fuzz&supportsPanAndZoom=false
.
I'll leave this open for a few CT cycles to verify that it addresses the issue, and doesn't cause and new problems.
One more change... In 8d21585 and d617010, I consolidated the code that interrupts and disables interaction when a VectorNode is animating back to the toolbox. There were previously separate listeners related to head and tail, handling this in different (and questionable) ways.
CT is clear for many cycles. Closing.
This probably started happening because CT multi-touch fuzzing ( ?fuzzPointers=2) was enabled for phetsims/aqua#106. Enabling multi-touch fuzzing first caused #272 (which I fixed), and now it's probably hitting this error.
Looks like this started occurring at 2/8/21 @ 10:32am, right around the time that the fix for #272 was pushed. And it is occurring frequently, on most (but not all) CT cycles.