open-cogsci / OpenSesame

Graphical experiment builder for the social sciences
http://osdoc.cogsci.nl/
GNU General Public License v3.0
234 stars 111 forks source link

Forms do not flush keyboard responses #777

Open smathot opened 1 year ago

smathot commented 1 year ago

When you have a sketchpad with a certain duration that is followed by a form_text_input, pressing a key during the sketchpad presentation will result in direct input to the form_text_input. Oddly, this only happens if you press a single key. This should be fixed such that, by default, forms flush the keyboard and mouse buffer when they are shown.

eort commented 1 year ago

Oddly, this only happens if you press a single key.

When I tried that yesterday, it happened also with a series of key presses. They all appeared once the form started.