beepbox icon indicating copy to clipboard operation
beepbox copied to clipboard

Bug: Ctrl key/Record mode gets stuck sometimes

Open jeremyredhead opened this issue 1 year ago • 1 comments

How to reproduce:

  1. In Firefox (and/or other browsers?), use Ctrl+Tab or Ctrl+PageUp/Down to switch away from a BeepBox tab
  2. Switch back to the tab, but using the mouse to select the tab instead
  3. Observe that it the 'Play' button has turned into 'Record' and is stuck until Ctrl is tapped again

The first time I observed this, I didn't even realize what was happening, only that I'd sometimes switch back to a BeepBox tab to find Play turned to Record, and not knowing why, my only recourse was to reload the page.

Suggested Fix

possibly check all key states when a tab (re)gains focus? not sure, didn't test it in any browsers. constantly checking keydown status with setInterval or w/e would definitely fix it but possibly at the cost of grave performance issues

jeremyredhead avatar Jan 10 '24 00:01 jeremyredhead

This happens on various other browsers too. It's a fairly small bug, not sure if it'll be fixed or not but we'll see.

Mid-The-Modder avatar Jun 15 '24 05:06 Mid-The-Modder