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

Keyboard Lock isn't properly working on MacOS Host using either Chrome or Edge. #1377

Closed
rudironsonijr opened this issue Jul 31, 2024 · 3 comments
Assignees
Labels

Comments

@rudironsonijr
Copy link

rudironsonijr commented Jul 31, 2024

Describe the bug
Keyboard Lock isn't properly working on MacOS Host using either Chrome or Edge.

To Reproduce
Steps to reproduce the behavior, like:

  1. Setup Keyboard Lock on Chrome or Edge flags
  2. Install PiKVM as an App (Chrome or Edge)
  3. Open the app
  4. Put your KVM window in full screen
  5. Test the Key Combos

Expected behavior
Key combinations like Cmd+Tab, Cmd+Space and other MacOS specific combos aren't being grabber by PiKVM Web Interface.

Screenshots
CleanShot 2024-07-31 at 14 16 08@2x

CleanShot 2024-07-31 at 14 17 45@2x

CleanShot 2024-07-31 at 14 21 11@2x

image

image

Desktop (please complete the following information):

  • OS: MacOS Sonoma and MacOS Sequoia
  • Browser: Chrome and Edge
  • Version 127.0.2651.74
  • VNC client (if used)

PiKVM info:

  • Raspberry Pi 4 Model B Rev 1.5
  • PiKVM platform v3 (official)
  • kvmd 4.3-1
  • kvmd-fan 0.31-1
  • kvmd-oled 0.27-1
  • kvmd-platform-v3-hdmi-rpi4 4.3-1
  • kvmd-webterm 0.50-1
  • ustreamer 6.12-1
  • Linux kernel: Linux pikvm 6.6.21-4-rpi SMP Wed Mar 13 20:36:42 UTC 2024 armv7l GNU/Linux

Additional context
Add any other context about the problem here.

@rudironsonijr rudironsonijr changed the title Keyboard Lock aren't properly working on MacOS Host using either Chrome or Edge. Keyboard Lock isn't properly working on MacOS Host using either Chrome or Edge. Jul 31, 2024
@rudironsonijr
Copy link
Author

@mdevaev, may you please help with this?

@mdevaev
Copy link
Member

mdevaev commented Aug 5, 2024

The browser code has very limited functions for controlling the keyboard. I'm already using keyboard.lock() if it's available. You can see that this feature for Mac is experimental. If individual keyboard shortcuts are not intercepted, then I can't do anything about it, it's a problem in the browser and/or macOS.

@mdevaev
Copy link
Member

mdevaev commented Nov 7, 2024

Found a similar problem: novnc/noVNC#1799

Yeah, it can't be fixed on our side properly, we will have to wait for the fix in the browsers.

@mdevaev mdevaev closed this as completed Nov 7, 2024
@mdevaev mdevaev self-assigned this Nov 7, 2024
@mdevaev mdevaev added resolution:fixed Fixed type:question User question labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants