tom-james-watson/breaktimer-app

[FEATURE] Capture keys during popup

Opened this issue · 0 comments

Describe the bug
Ideally when using the popup feature the break timer should block input until the break is over or the user selects skip.
Currently the user can still interact with stuff on screen despite the popup being overlay which could cause issues. e.g If someone instinctively hits enter to select/skip break and end up doing something in a different program.

To Reproduce
Steps to reproduce the behavior:

  1. Wait for popup
  2. Why popup is open press any key while in another program e.g if word is open prior to the popup you will still be able to type.

Expected behavior
Keyboard input should be blocked until either a specific key is pressed such as escape, the skip button is clicked or the break time ends.

Specs:

  • Windows 10 22H2

Additional context
Add any other context about the problem here.