-
Notifications
You must be signed in to change notification settings - Fork 6
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
Layout jostling when moving the sliders #68
Comments
This is for phetsims/qa#24, kinda sorta. |
@phet-steele can you comment on the cross product of tests of master/ the above dev link vs firefox chrome for you. |
I went back through the last 10 or so commits in ohms-law, checking them out and restarting the sim from master, and every time it sill persisted. I'm having a hard time linking this to a specific patch of code. |
@phet-steele and I talked and tested. We say that all the local bounds we were checking were not changing. We think that it may have to do with kerning, like phetsims/scenery#193. @jonathanolson can you comment? EDIT: sorry I accidentally commented before I was done typing. |
I'm seeing this in RIAW as well. EDIT: I will tackle this in the context of RIAW first, because there is less code (layout focused) that has been touched. |
In RIAW: When I link to the resistance property and print out the centerX/Y of components. I notice that the centerX of FomulaNode and WireNode are changing. Even as they scale I wouldn't want that to change (I think). The WireNode ranges from centerX from I'm not sure what to do with this info. It seems like most of the jostling is happening in the ControlPanel, but the centerX/bounds of it aren't changing at all. |
It seems like the behavior that I see changes by the day, so I will start keeping track of it. I will report the presence of this behavior based on build/local and browser. 'yes' means that the jostling was there.
EDIT: all these built versions tested were from spot. |
1.3.0-dev.3 was the first dev release I had done since redoing the layout. I'm sure I'm doing some practice that isn't good. Here is a list of the commits that I made before that version's release, Mon Jul 17 2017 19:33:07 GMT-0800 (Alaskan Daylight Time).
These are the only commits after 1.3.0-dev.2 as well. Unless this problem is in common code (doubtful) I think one of these commits above caused it. |
Next I checked out the commit before these above (19139eb91993ed3b03ebaa3d88852549e4272937 update version to 1.3.0-dev.2, and it looks like the problem is still present! RIAW sha same as 1.3.0-dev.2 on spot but everything else on master
This makes me wonder if it doesn't have to do with some common code changes, so I checked out all dependencies for 1.3.0-dev.2 that is on spot (same as the dependencies when checking out the above commit) and I tested that in requirejs, local build, and built/deploy to spot (1.3.0-dev.2-new) on different browsers.
I may have to go back even further than I thought. But it also may have something to do with a browser change (not likely), or something else that I'm not thinking about |
I just looked at master for OL and RIAW today, and I noticed that this problem isn't nearly as present as it used to be. From master on both sims. Firefox is the only browser that shows this error at all, and it is very very minimal only when making the resistance largest value that you can. @phet-steele could you tell me if you are experiencing the same thing. I'm trying to narrow down the variance, it may have to do with my computer somewhat. Do you notice this problem on master? Please look at chrome/firefox and OL and RIAW. |
@zepumph I am still seeing this happening in master in chrome. Have we tried |
@jessegreenberg I really appreciate you!!! That was it. I couldn't figure out exactly how this was happening. Thanks for stepping in. We are ready to move RIAW and OL forward to releases. We should make sure to link this issue in RC tests to make sure QA confirms that it is fixed. Closing! |
@jessegreenberg helped me find a strange bug where the whole sim, especially the control panel and it's contents will resize as you move the sliders. It's hard to pin down exactly what conditions are making this happen. @jessegreenberg has found that with chrome this is happening for http://www.colorado.edu/physics/phet/dev/html/ohms-law/1.4.0-phetiodev.2/ohms-law_en-phetio.html?phetioStandalone but not from master, where I was noticing that exact opposite. We were also seeing no change between incognito/normal versions of chrome or firefox. On firefox it happens, but to a lesser degree.
The text was updated successfully, but these errors were encountered: