phetsims / build-an-atom

"Build an Atom" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/build-an-atom
GNU General Public License v3.0
11 stars 10 forks source link

While moving objects, object's position flashes along with screen on Chrombook #58

Closed orejolaphet closed 8 years ago

orejolaphet commented 11 years ago

Test device: Samsung Chromebook Operating system: Browser: Google Chrome 31.0.1650.26

Troubleshooting information (don't edit this): Name: Build an Atom URL: http://www.colorado.edu/physics/phet/dev/html/build-an-atom/1.1.0-rc.3/build-an-atom_en.html Version: 1.1.0-rc.3 Features missing: touch User Agent: Mozilla/5.0 (X11; CrOS armv7l 4731.31.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.26 Safari/537.36 Language: en-US Window: 1162x650 Pixel Ratio: 1/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: 15 uniform: 1024 Texture: size: 4096 imageUnits: 16 (vertex: 16, combined: 32) Max viewport: 4096x4096 OES_texture_float: false

Description: Screen flashes rapidly and objects on screen vanish momentarily. Also when you move any particle and let go, the motion along its path is not continuous. The particle flashes and jumps between different points in its path rapidly.

Steps to reproduce: Build an atom in either the "Atom" or "Symbol" tab with 4+ electrons 2+ protons 1+ neutrons. Move particles as if you wanted to rearrange them.

Severity: Hard to build larger atoms, but is visually difficult at some points.

Screenshots: (Screenshot is at one moment during rapid flashing) baa bug chromebook

jbphet commented 11 years ago

Discussed with @ariel-phet and @emily-phet and we decided to have @jonathanolson look at it on meeting day (10/24).

jbphet commented 11 years ago

@jonathanolson will look into this, but thinks it is most likely a browser bug. @gruneich or Oliver will test other sims to see if problem exists there too and will update this issue.

jbphet commented 11 years ago

At the group meeting, we decided that we should investigate this, and it would be nice but not absolutely essential to resolve before publication of this sim.

gruneich commented 11 years ago

This is not happening on Trish's chromebook, which is the same hardware and is not using the beta version of chromeOS.

patricialoeblein commented 11 years ago

TL browser 30.0.1599.116 Google_Snow.2695.117.0

jbphet commented 11 years ago

It was suggested during the meeting that I test for negative time stamps in the sim. I did this by adding debug statements and console logs to the main model class that would detect a delta time value of 0 or less and log an error. Tested for a while (ten minutes or so) on Chrome and Firefox on Win 7, and never encountered the error.

jonathanolson commented 11 years ago

https://code.google.com/p/chromium/issues/detail?id=307832 looks like something similar - notes that if the GPU runs out of memory, things can flicker white.

jbphet commented 11 years ago

Discussed again during review meeting, and since so far this seems unique to @gruneich 's Chromebook, we are not going to block publication of 1.1.0 based on it. The issue will be left open as a 'sighting' in case it is seen elsewhere, and eventually closed if not.

jbphet commented 8 years ago

Assigning to @phet-steele to see if this can be reproduced on a Chromebook. If not, it can be closed.

phet-steele commented 8 years ago

Tested 1.2.0-dev.2 on two chromebooks, both build 7647.73.0 and browser 48.0.2564.92.

Firmware for each: Peppy.4389.93.0 (Acer) Snow.2695.117.0 (Samsung)

Everything performed exceptionally on these two devices :+1: