phetsims / mean-share-and-balance

"Mean: Share and Balance" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
2 stars 1 forks source link

Reproduction of candy bar problems in Leveling Out #157

Closed KatieWoe closed 4 months ago

KatieWoe commented 4 months ago

Test device Samsung Operating System Win 11 Browser Chrome Problem description For https://github.com/phetsims/qa/issues/1049 Found in several steps. Copied over from test comments. From the start, trying to drag a candy bar from the leftmost stack, without having done anything else, will cause the bar to be stuck to the right of the pile and not drag any further left. Reset all or adding/taking away people seems to fix this, it only happens on first load so far.

https://github.com/phetsims/mean-share-and-balance/assets/41024075/1e296576-1471-4c12-8724-07bd38228c0e

If you drag one of the bottom two bars from the left stack, then hit reset all, that bar will be invisible until an interaction occurs. This doesn't seem to happen with the top bar.

https://github.com/phetsims/mean-share-and-balance/assets/41024075/6d4c3087-cc23-44bb-966b-407f6b83d031

Further. If you move a bar from the left stack, sync, then reset all, the spot you drug from will be blank and the bar will be stacked up on top.

https://github.com/phetsims/mean-share-and-balance/assets/41024075/db2e563b-8bf3-4495-8f82-94b1d531d463

If you remove all the bars from the left person, drag the bar from the second over to the first, and reset, this bug occurs. If you add a third person, and drag the second's bar over there this bug will also happen.

https://github.com/phetsims/mean-share-and-balance/assets/41024075/cb830110-0a37-4aa7-a322-bdcbf231e52c

Troubleshooting information:

!!!!! DO NOT EDIT !!!!! Name: ‪Mean: Share and Balance‬ URL: https://phet-dev.colorado.edu/html/mean-share-and-balance/1.1.0-dev.1/phet/mean-share-and-balance_all_phet.html Version: 1.1.0-dev.1 2024-02-28 21:09:18 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/122.0.0.0 Safari/537.36 Language: en-US Window: 1536x695 Pixel Ratio: 1.25/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: 31 uniform: 4096 Texture: size: 8192 imageUnits: 32 (vertex: 32, combined: 64) Max viewport: 8192x8192 OES_texture_float: true Dependencies JSON: {}
Nancy-Salpepi commented 4 months ago

Also after pressing the sync button, the focus highlight with keyboard navigation will be in the wrong place.

Steps:

  1. Use keyboard nav to move all the candy bars to the right stack
  2. Tab to and press the Sync button
  3. Shift + Tab back to the bars in the notepad area
  4. Press Space bar and the solid pink highlight turns into the dashed highlight as if you grabbed a bar
Screenshot 2024-02-29 at 7 45 21 AM Screenshot 2024-02-29 at 7 54 20 AM
marlitas commented 4 months ago
marlitas commented 4 months ago

I am no longer seeing any of these bugs after doing some work for https://github.com/phetsims/mean-share-and-balance/issues/159. Closing! Thanks for the help tracking these down!