OpenAdapt icon indicating copy to clipboard operation
OpenAdapt copied to clipboard

[Bug]: `WindowEvent` race condition

Open abrichr opened this issue 7 months ago • 3 comments

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

abrichr avatar Jun 29 '24 22:06 abrichr