Mouse recording error in the PsychoPy csv file

I’d like to report an issue in csv file recording. I avoided this by using log file, but this might be useful to know anyway.
OS (e.g. Win10):
PsychoPy version (e.g. 2024.2.4 Py 3.8):
Standard Standalone Installation? (y)

Firstly, PsychoPy is wonderful, and I’m so grateful for it. It gave me lots of moments of success and fun.
Now, there is one thing I noticed.
On each trial I show 6 images, and the subject has to click them in the correct order. My code compares the sequence with the correct one and gives feedback. The code doesn’t let the feedback appear until six unique images are clicked. There are cases when the csv file (recorded by PsychoPy) shows only five filenames in the ‘mouse.clicked_name’, five RTs in the .rt column etc. The log shows that there were six clicks, but sometimes the “Mouse … down” line appears before the “image … autoDraw = True” - in these cases the csv file skips the click.
I can give more details in case of interest.

What did you try to make it work?:
Used log to collect data with my own code.

Link to the most relevant existing thread you have found:

Hi There,

“Firstly, PsychoPy is wonderful, and I’m so grateful for it. It gave me lots of moments of success and fun.”

Thank you so much for your kind words – it is great to know that you have enjoyed using the software.
Thanks for reporting this issue – do you by any chance have a minimal demo of the bug so that we can replicate our side, check if it is still an issue in the most recent release and if it is an issue fix it.

Thanks so much,
Becca