I aim to insert a loop around two routines in my experiment. However, when there are existing loops earlier in the flow, attempting to add a new loop causes the GUI to misalign and behave erratically, preventing me from placing the loop in the desired position.
What did you try to make it work?:
Attempted to insert the loop at various positions in the flow.
Restarted PsychoPy to see if the issue persists.
Searched for similar issues in the PsychoPy community forums.
What specifically went wrong when you tried that?:
The GUI becomes misaligned, with visual glitches that make it difficult to accurately place the new loop.
The loop insertion point does not appear where intended, leading to incorrect placement or failure to insert the loop.
These issues occur consistently when existing loops are present earlier in the flow.
This problem hinders the development of my experiment, as I cannot structure it as required.
I have attached a screenshot illustrating the GUI misalignment during loop insertion.
A brand new program seems to have this problem
It seems that this problem will occur when the number of loops exceeds 3. You can try to reproduce it on your side. I created a new program here and this problem will occur when the number of loops exceeds 3 or 5.
In the new screenshot, I tried to create a loop that includes routine and routine4, but in the end, only routine was actually created, and I couldn’t include the last two after many attempts.
I see that this has happened before with no clear solution.
For now I would try the solution of adding the routine into the loop after it has been created, or try adding a final routine so you are never trying to loop to after the final routine.