Open Nancy-Salpepi opened 3 years ago
Reproduced on macOS 12.0.1 + Chrome 95.0.4638.69.
Does not occur on macOS 10.13.6 + same Chrome 95.0.4638.69.
This is a scenery problem that has been coming up repeatedly over the past several months. See https://github.com/phetsims/scenery/issues/1289. I guess I'll add the same preventFit: true
workaround to this sim.
Workaround applied to all screens in the above commits, in master and 1.1 branches.
@Nancy-Salpepi please verify in master. If it looks OK, change the label to "fixed-awaiting-deploy".
Looks good in master.
@pixelzoom would this visual shift be related? I saw it in the Solve It! screen first in the rc version and then checked master and saw it there as well.
I have only observed this in Win10 Firefox 94.0.1 so far.
There is noticeable movement in the spinner and buttons next to it in all game levels, but the movement in the equation panels is either much more subtle or only present in later levels.
This does not appear to happen in the Operations screen.
Thanks for reporting @stemilymill. I'm fairly certain that I applied the workaround to all screens, but I'll confirm.
Using MacBook Air (m1 chip) macOS 12.0.1 + safari 15.1/chrome 95.0.4638.69
I don't see https://github.com/phetsims/equality-explorer/issues/174#issuecomment-972157049 on master.
I verified that I applied the workaround to the Solve It! screen:
// EqualityExplorerConstants.js
SCREEN_VIEW_OPTIONS: {
layoutBounds: ScreenView.DEFAULT_LAYOUT_BOUNDS,
// Workaround for things shifting around that aren't supposed to move
// See https://github.com/phetsims/scenery/issues/1289 and https://github.com/phetsims/equality-explorer/issues/174
preventFit: true
},
// SolveItScreenView.js
super( EqualityExplorerConstants.SCREEN_VIEW_OPTIONS );
Testing in master...
I do NOT see this problem with:
I DO see this problem with:
In addition to the buttons and NumberPicker shifting around, I see movement in the equations above them. Variables like x (which use MathSymbolFont) shift up and down quite a bit.
Interesting that I do NOT see this shifting behavior on the other screens, only the Solve It! screen.
The control that we're interacting with is UniversalOperationControl
. I tried adding preventFit: true
to its options, and there is no change.
@jonathanolson could you please have a look? To summarize:
preventFit: true
workaround identified in phetsims/scenery#1289. It was applied to all screens at the ScreenView level. See EqualityExplorerConstants.SCREEN_VIEW_OPTIONS
. It seemed to be effective for all screens. But then...preventFit: true
.Confirmed that this looks like SVG just... flickering due to antialiasing changes in Firefox. Testing shape-rendering:geometricPrecision didn't fix. I tried some layerSplit: true
cases, which isolated each part (and helped), but it seems impractical.
I don't see a good fix for this (besides WebGL in Scenery wouldn't do this).
Thanks @jonathanolson. So there is no known fix for Firefox at this time. I'll make a note about this in https://github.com/phetsims/scenery/issues/1289.
@amanda-phet In a nutshell, there is still some minor “shifting” of UI components in the Solve It! screen on Firefox, as demonstrated in https://github.com/phetsims/equality-explorer/issues/174#issuecomment-972157049. @jonathanolson had a look, and could not identify a fix. My recommendation is to defer this issue to a future release or MR. The alternative is to block Equality Explorer 1.1 until a fix is identified — which seems unnecessary and unlikely. Are you OK with deferring?
High priority, because this is the sole issue blocking the next RC.
I agree that it should not block publication of 1.1, this is low priority. Firefox often gives us weird issues, and even still, this is not a major one IMO.
Test device MacBook Air (m1 chip)
Operating System 12.0.1
Browser Chrome
Problem description https://github.com/phetsims/qa/issues/735
On the Variables and Operations screens, when the balance moves up and down, the accordion panels on the right side shift. I do not see this in the published version.
Steps to reproduce
Visuals