-
Notifications
You must be signed in to change notification settings - Fork 13
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
CT: Corner overlap on left edge #171
Comments
The failing assertion is at
This creates the rounded rectangle for the The default in var projectileChoiceComboBox = new ComboBox(
comboBoxItems,
selectedProjectileObjectTypeProperty,
comboBoxListParent, {
xMargin: 12,
yMargin: 7,
buttonLineWidth: comboBoxLineWidth,
listLineWidth: comboBoxLineWidth
}
); My guess that the default radius is too large for projectile-motion's unusually tiny combo box. |
…Box and ComboBoxButton, phetsims/projectile-motion#171
Indeed, griddle, projectile-motion, and wave-interference all had items ("content" for the combo box button) whose height was too small to work with (1) Revised the defaults in ComboBox and ComboBoxButton for I also created issue phetsims/sun#448, since this exposed a general problem with @jbphet please review. |
I'm still seeing this issue in CT for FPAF, MOTHA, and Under Pressure. But it's intermittent, and I'm not sure why, because this is an issue when the ComboBox is constructed. Perhaps there is some ComboBox in these sims that is only constructed when a specific "scene" is selected. |
Ah... This is occurring with test "xss-fuzz". I assume that must mean "stringTest=xss" query parameter. And in fact, that's the only way that I can reproduce this. With "stringTest=xss" the combo box's content is a very long string, and it gets scaled down so that it's height is very small. That will cause the corners of the button to overlap. From the code-review check list:
So (a) there's no requirement to fix this, (b) why is CT running a fuzz test with I'm also wondering why this is intermittent in CT. Is "xss-fuzz" not being run sometimes? |
@jbphet when you include CT output in an issue, please include the complete output. In #171 (comment), you omitted a very important line, which contained a crucial clue about why the ComboBox content's height was atypically small:
|
1/17/19 dev meeting conclusions:
|
This will be addressed in phetsims/sun#448. |
@jbphet put this in #170, and it's unrelated to that issue. So I'm moving it here.
This is occurring in griddle, projectile-motion, scenery-phet, wave-interference.
The text was updated successfully, but these errors were encountered: