OpenAdapt
OpenAdapt copied to clipboard
[Bug]: `WindowEvent` race condition
Describe the bug
During recording, if the active window changes and the user emits an ActionEvent
before a new WindowEvent
is received, the resulting segmentation (during replay) will fail.
Edit: this only happens if READ_WINDOW_DATA is True.
WindowEvents
are read in https://github.com/OpenAdaptAI/OpenAdapt/blob/main/openadapt/record.py#L713
To Reproduce
TODO