Open pixelzoom opened 5 years ago
Here's the full report from https://github.com/phetsims/gas-properties/issues/163:
Test device MacBook Air Operating System macOS 10.14.6 Browser Safari Problem description For https://github.com/phetsims/QA/issues/399. On macOS 10.14.6 on Safari I have noticed some problems when a large amount of particles are present and full screen mode is exited. The behavior of this problem differs from time to time and sometimes it has little or no impact on the sim performance. When the bug occurs the time to properly resize can take as little as half a second and as long as two minutes. During this time when the sim has not resized the whole sim area is unusable and Safari seems to be frozen (other Safari tabs can not be selected, the page can not be reloaded, the search bar becomes unusable, and the Safari app can not be closed or minimized). This becomes particularly problematic when the extreme times to resize occur as the sim and whole browser become unusable until the issue is resolved. As mentioned before the bug is not consistent and given the same conditions the time to resize can vary greatly from one occurrence to the next. Using the iFrame or XHTML versions of the sim seems to increase the time to resize but the base sim also experiences this problem. What I have found is that as a general rule the more complex the sim becomes the longer it takes to resize, which is why I have not noticed the issue on the "Diffusion" screen yet. I have done some testing on other sims with lots of moving parts such as "States of Matter" and the same issue occurs, however the sim resizes very quickly (about half a second), most likely due to the smaller amount of particles present in SoM. This makes me think that this might be a scenery issue that is present in many sims but for now I'll keep it here and leave that decision to the devs. So far this bug has only been seen on Safari (I have tested on macOS Chrome, and Windows 10 Edge, Firefox, and Chrome).
Steps to reproduce
Visuals
I am marking this issue as deferred for the moment.
Priority can be raised if we get a user reported bug. My reasoning is that:
It is not clear how much our user's know about the full screen option (I rarely see fullscreen sims on media tweets on twitter, and those all seem to be from the app).
The fullscreen option is buried in the menu
If you have actually bothered to go to the menu to make the sim full screen you are likely to keep it fullscreen until the simulation use is finished.
So basically, my guess is this would potentially be tricky to fix, and only seems to affect one platform in a rare usecase.
I'm creating this issue in scenery, because
FullScreen
contains "Utilities for full-screen support".In https://github.com/phetsims/gas-properties/issues/163, QA identified a problem when exiting Full Screen mode. When a sim like Gas Properties or States of Matter has "lots of moving parts", there is a pause that can be anywhere from seconds to minutes. During this time, the browser appears to be frozen, and both the browser and sim are unusable.
According to the report, this seems to be specific to Safari. @KatieWoe said:
Assigning to @ariel-phet to prioritize and assign.