tne-lab / py-behav-box-v2

Pybehave is an open source software interface and framework for controlling behavioral experiments in neuroscience and psychology.
https://py-behav-box-v2.readthedocs.io/en/latest/
MIT License
3 stars 8 forks source link

Windows Sometimes Clears GUI Requiring a Full Refresh #95

Closed theonlydvr closed 3 days ago

theonlydvr commented 2 weeks ago

Describe the bug Randomly (or under high load) the OS will clear the whole pygame GUI making some pybehave elements invisible without a full GUI refresh.

Expected behavior If the GUI is cleared outside of pybehave, pybehave should refresh the pygame GUI.

theonlydvr commented 3 days ago

Fixed in bf837a5. There is now code to detect the refresh and also the option to constantly refresh the GUI if there's an OS side issue.