Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Ctrl key/Record mode gets stuck sometimes #86

Open
jeremyredhead opened this issue Jan 10, 2024 · 1 comment
Open

Bug: Ctrl key/Record mode gets stuck sometimes #86

jeremyredhead opened this issue Jan 10, 2024 · 1 comment

Comments

@jeremyredhead
Copy link

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

@Mid-The-Modder
Copy link

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.

DogeisCut pushed a commit to DogeisCut/dogebox2_typescript_old that referenced this issue Aug 20, 2024
Fixed crackling issues and added temporary url storage

Also edited the competition index.htmls ig

Fixes johnnesky#86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants