URL of experiment: https://pavlovia.org/run/robinsonj/beachsquares_task
Description of the problem:
Problem original posted on a PsychoJS github commit (reference is made to this commit): 9f987d97a6419463065218e84b5cd091470df298
We’ve been experiencing issue when running our study (pscyhoJS 2020.2) on Pavlovia today.
These issues seems to relate to issue with update order within frames.
Essentially background and foreground polygon’s are placed in the wrong order following frame updates.
Before running our experiment we performed extensive pilotting. This issue was not present during pre-study piloting (as at the 22nd November).
Specifically in our experiment polygons locations are updated on every frame in relation to mouse movement, the foreground was kept grey (originally I found I had to reassert this on every frame to keep the draw order), and the background was changed consistent with the colour of the polygon that the participant selected (when the participants presses the keyboard). The idea being that participants get a background border that indicates their current selection.
Now a range of issues have arisen (hopefully these descriptions aid diagnosis):
-When the colour of polygons is assigned (within Begin Routine), there seems to be only partial assignment. ie. of 4 objects only 1 is coloured. The number assigned seems to vary (even when all are set for frame by frame update)? This does not appear to happen for text objects.
-When a key is pressed (should colour the outer edge background). The background is placed in front of the foreground (this was not happening before).
-When the key press is released the background colour (now switched back to grey) overwrites the foreground again (along with all other polygons on screen).
-In another part of the experiment participants perform a selection task for a range of polygons. Previously I used another polygon to border the polygon selection. Now it appears the draw order has changed such that the ‘border’ polygon is drawn on top of the polygon rather than underneath (such that it would have bordered the object). Again text objects still appear on top of the ‘bordering’ polygon.
Could this commit have resulted in an issue of this type? Or do think some other recent commit might be responsible? Most importantly we’re trying to track down exactly when this change might have happened so we can confirm the integrity of our data.
If this commit was involved (crossed fingers), our experiment data may yet be saved.