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

Start/Stop button says "Stop" while camera isn't allowed #56

Open
1j01 opened this issue May 15, 2024 · 0 comments
Open

Start/Stop button says "Stop" while camera isn't allowed #56

1j01 opened this issue May 15, 2024 · 0 comments
Labels
affects:web-library Affects usage of the tracky-mouse.js library bug Something isn't working

Comments

@1j01
Copy link
Owner

1j01 commented May 15, 2024

In the web UI, if "Start enabled" is checked, and the page is reloaded, before camera permissions are granted, the toggle button is showing as "Stop (F9)", whereas it should show "Start (F9)", as it's not actually able to start without the camera.
Or just "Start" if the keyboard shortcut doesn't allow it to prompt for the camera permission.

Does the "Start enabled" option make sense given the web's permissions model? Is the camera permission persistent, or can we request for it to be?

According to a 2016 StackOverflow answer:

  1. Localhost: In Localhost Chrome Browser asking permission only one time and Firefox every pageload.
  2. HTTPS: Both Browsers Chrome and Firefox asking permission only one time.

However, pressing F9 isn't working to activate the camera. Pressing the Start/Stop button with the keyboard (with space or enter, while the button is focused) does work.

@1j01 1j01 added bug Something isn't working affects:web-library Affects usage of the tracky-mouse.js library labels May 15, 2024
@1j01 1j01 mentioned this issue Oct 14, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects:web-library Affects usage of the tracky-mouse.js library bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant