-
Notifications
You must be signed in to change notification settings - Fork 79
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 does not open when accessing a VM console on Android (Chrome & Firefox) #1847
Comments
This would be tricky, if not impossible to fully implement. The onscreen virtual keyboard is active when an input has focus. However, the VNC widget is not a text area or a contenteditable and it wants mouse focus, not just keyboard focus. We could add a button for popping up the keyboard in some circumstances, but there isn't an API to do so. There is an experimental virtual keyboard API we might be able to use, but it's only supported in Chrome (and some other Chromium derived), not Firefox or Safari:
Specifically, |
Presumably at some point the virtual keyboard API will become a fully fleshed w3c standard and all major browsers will eventually pick it up. For now, Chrome/Chrome-derived support would be a great help. Coming from VMware (which has a native Android app), having the ability to interact with a VM console from a mobile device is sorely missed. |
I agree with you, it would be nice, and I hope browsers all add it soon. It's a shame it's a Chromium-only thing for now, as it's sorely needed on all browsers on mobile devices (both in phone and tablet form), and would even be useful on desktops/laptops with touchscreens that have on-screen keyboards too. The WebKit and Mozilla organizations both have standards tracking for this API:
We do have designs for changing the console part of Cockpit Machines. When someone eventually picks up the implementation, then it would be nice to include support for this API, even if it's Chromium-only for now. Hopefully the other browser engines will eventually pick it up and it'll "just work" to spec. |
cockpit: 311.2
cockpit-machines: 308.3
Phone: Pixel 8 Pro
OS: Android 14
When accessing Cockpit from an Android device I am unable to interact with VMs as the keyboard does not open when tapping on the console session. This is the case for both the small and expanded consoles. Tested with both Firefox and Chrome.
The text was updated successfully, but these errors were encountered: