phetsims / beers-law-lab

"Beer's Law Lab" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/beers-law-lab
GNU General Public License v3.0
2 stars 9 forks source link

Incorrect pointer areas for Solute radio buttons #317

Closed KatieWoe closed 1 year ago

KatieWoe commented 1 year ago

Test device Dell Operating System Win 11 Browser Chrome Problem description For https://github.com/phetsims/qa/issues/889. Not seen in published The pointer area for the solids shaker extends beyond the toolbox, which leads to slightly odd behavior, where you can click outside the toolbox and still select the shaker. This is mor a concern for the mouse area rather than the touch area. Some locales have this issue with the dropper as well.

Visuals

offleft locales

Troubleshooting information:

!!!!! DO NOT EDIT !!!!! Name: ‪Beer's Law Lab‬ URL: https://phet-dev.colorado.edu/html/beers-law-lab/1.7.0-dev.8/phet/beers-law-lab_all_phet.html?showPointerAreas Version: 1.7.0-dev.8 2023-01-27 19:51:37 UTC Features missing: applicationcache, applicationcache, touch Flags: pixelRatioScaling User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Language: en-US Window: 1280x649 Pixel Ratio: 1.5/1 WebGL: WebGL 1.0 (OpenGL ES 2.0 Chromium) GLSL: WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium) Vendor: WebKit (WebKit WebGL) Vertex: attribs: 16 varying: 30 uniform: 4096 Texture: size: 16384 imageUnits: 16 (vertex: 16, combined: 32) Max viewport: 32767x32767 OES_texture_float: true Dependencies JSON: {}
pixelzoom commented 1 year ago

This is due to a bug in AquaRadioButtonGroup. It's doing the wrong thing for horizontal orientation. See https://github.com/phetsims/sun/issues/825.

pixelzoom commented 1 year ago

https://github.com/phetsims/sun/issues/825 has been addressed. And in the above commit, I tweaked the pointer areas for this specific case. See screenshot below.

@KatieWoe please review in master, close if OK.

screenshot_2223
KatieWoe commented 1 year ago

Looks good in master

Nancy-Salpepi commented 1 year ago

For https://github.com/phetsims/qa/issues/894: This is fixed in master, but I still see the issue in rc.1.

Screenshot 2023-02-06 at 4 27 56 PM
pixelzoom commented 1 year ago

Hmmm... The fix was made and confirmed in master during a dev test, so there was no release branch to cherry-pick to. I'll investigate...

pixelzoom commented 1 year ago

This is definitely still fixed in master. I wasn't involved in creating the 1.7 release branches, but something is very wrong. I've reopened all of the issues that I addressed during dev testing, to confirm whether they are fixed in 1.7.0-rc.1.

Assigning to @samreid @matthew-blackman to investigate what went wrong here.

pixelzoom commented 1 year ago

@KatieWoe @Nancy-Salpepi please reconfirm in 1.7.0-rc.2 for https://github.com/phetsims/qa/issues/894 and https://github.com/phetsims/qa/issues/895.

Nancy-Salpepi commented 1 year ago

This is fixed in 1.7.0-rc.2. It looks like the screenshot in https://github.com/phetsims/beers-law-lab/issues/317#issuecomment-1411124006