This extension will display a notification has soon as window state is changed, focus or active. To test, you can get or lose focus with any combination of idle time to check activity state. User is considered as inactive after 20sec of doing nothing, and this timer will be reset has soon as a mouse button is clicked / key stroke or touch gesture.
Follow-ups
None
Review checklist
[x] As an author, I have thoroughly tested my changes and carefully followed the review guidelines
Thanks for your review, @msujew !
Good catch for the logic of the reset. I changed the inactivity check interval to 1sec and extended the number of checks to 30.
What it does
Implements the new VS Code API WindowState Active
Fixes #13692
Contributed on behalf of ST Microelectronics
How to test
This can be tested with the following extension:
This extension will display a notification has soon as window state is changed, focus or active. To test, you can get or lose focus with any combination of idle time to check activity state. User is considered as inactive after 20sec of doing nothing, and this timer will be reset has soon as a mouse button is clicked / key stroke or touch gesture.
Follow-ups
None
Review checklist
Reminder for reviewers