phetsims / scenery

Scenery is an HTML5 scene graph.
MIT License
53 stars 12 forks source link

Mouse click remains when touch screen used #889

Open KatieWoe opened 5 years ago

KatieWoe commented 5 years ago

Test device: Dell Laptop Operating System: Win 10 Browser: Chrome Problem description: Found during https://github.com/phetsims/QA/issues/212, but not restricted to that sim. When holding something with the mouse, if the touch screen is used during that time the mouse can be released but acts as if it is not. Assigning to @jonathanolson as it looks like an input event issue. Steps to reproduce:

  1. Go to States of Matter's second screen
  2. Use the mouse to turn on the heat bucket. If the mouse is released, the heat bucket turns off.
  3. While using the mouse to keep the heat bucket on, use the touchscreen to move the roof of the container
  4. While using the touch screen release the mouse. The heat bucket should stay on.
  5. After this you can let go of the touch screen and the heat bucket will stay on.

Screenshots: oddmouse

Troubleshooting information (do not edit):

Name: ‪States of Matter‬ URL: https://phet-dev.colorado.edu/html/states-of-matter/1.1.0-rc.3/phet/states-of-matter_en_phet.html Version: 1.1.0-rc.3 2018-10-26 18:31:25 UTC Features missing: touch Flags: pixelRatioScaling User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 Language: en-US Window: 1536x732 Pixel Ratio: 2.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: 16384x16384 OES_texture_float: true Dependencies JSON: {"assert":{"sha":"928741cf","branch":"HEAD"},"axon":{"sha":"d7ba44e2","branch":"HEAD"},"brand":{"sha":"89d28f63","branch":"HEAD"},"chipper":{"sha":"bbbb514a","branch":"HEAD"},"dot":{"sha":"820111c8","branch":"HEAD"},"joist":{"sha":"749f10ff","branch":"HEAD"},"kite":{"sha":"59755f7e","branch":"HEAD"},"nitroglycerin":{"sha":"ccaab9cd","branch":"HEAD"},"phet-core":{"sha":"68a89cc4","branch":"HEAD"},"phet-io":{"sha":"364077cf","branch":"HEAD"},"phet-io-wrapper-classroom-activity":{"sha":"abc4ae3e","branch":"HEAD"},"phet-io-wrapper-hookes-law-energy":{"sha":"429886e7","branch":"HEAD"},"phet-io-wrapper-lab-book":{"sha":"ef0b0b0c","branch":"HEAD"},"phet-io-wrappers":{"sha":"7ec1a04a","branch":"HEAD"},"phetcommon":{"sha":"22b158d0","branch":"HEAD"},"query-string-machine":{"sha":"c2e502fb","branch":"HEAD"},"scenery":{"sha":"415371c3","branch":"HEAD"},"scenery-phet":{"sha":"94b92879","branch":"HEAD"},"sherpa":{"sha":"a9fd066b","branch":"HEAD"},"states-of-matter":{"sha":"fc42d33b","branch":"HEAD"},"sun":{"sha":"3086e97a","branch":"HEAD"},"tambo":{"sha":"0e5b9133","branch":"HEAD"},"tandem":{"sha":"a2348c0c","branch":"HEAD"}}
jonathanolson commented 5 years ago

Is Hanson the device that exhibited this problem? I might wait until Tuesday to investigate this in person.

ghost commented 5 years ago

@jonathanolson, I think the device Katie used is a similar model to Hanson. It's essentially a larger version of Hanson.