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

Add on-screen keyboard for desktop use. #1632

Open
M0E-lnx opened this issue Mar 10, 2022 · 11 comments
Open

Add on-screen keyboard for desktop use. #1632

M0E-lnx opened this issue Mar 10, 2022 · 11 comments
Labels

Comments

@M0E-lnx
Copy link

M0E-lnx commented Mar 10, 2022

Is your feature request related to a problem? Please describe.
Not as much of an issue as much of an annoyance. I have noticed when connecting from a mobile device, the noVNC toolbar presents a button to show the keyboard, but when connecting from a desktop (windows) it does not.

Describe the solution you'd like
Make the button visible so that the on-screen-keyboard can be launched from the noVNC toolbar

Describe alternatives you've considered
Physical hardware keyboard, but this is not always an option. For example, when connecting from a MS Surface device, the system has an OSK, but I see no option to launch it from the noVNC toolbar. As a workaround, i'm using osk apps on the server over vnc, which is not ideal depending on the desktop being served.

Additional context
The guacamole client offers similar functionality and it offers the OSK feature i'm looking for on noVNC

@CendioOssman
Copy link
Member

That button is not exclusive to mobile devices, but rather to touch devices. So it would seem your browser isn't advertising touch support.

Can you give more details about your setup?

@M0E-lnx
Copy link
Author

M0E-lnx commented Mar 13, 2022

Firefox browser running on Win 11 from a MS Surface Pro 7 device connecting to Debian server.
I stand half corrected. I do see the keyboard button on the toolbar, but clicking it does nothing.

@samhed
Copy link
Member

samhed commented Mar 15, 2022

Yeah, unfortunately, that's a known issue with the keyboard button in Firefox on Windows touch devices. I believe Edge and Chrome works.

@samhed samhed added the bug label Mar 15, 2022
@CendioOssman
Copy link
Member

@M0E-lnx, could you confirm that this only happens with Firefox on you system as well?

And just to be clear, Guacamole works fine with Firefox for you?

@M0E-lnx
Copy link
Author

M0E-lnx commented Mar 16, 2022

Your are correct @CendioOssman, This seems to be limited to Firefox. I dont have chrome, but I tried Edge (yuck!) and the OSK pops when I press the button there.

Also confirmed Guacamole works fine on Firefox. In all fairness though, the Guacamole client has it's own OSK, so it doesn't pop the system's OSK

@CendioOssman
Copy link
Member

Thanks for testing. The next step is putting together some test case so we can report this to Firefox.

@CendioOssman
Copy link
Member

Hmm... I just tested this on Windows 10 and Firefox 94 and Firefox 99. Works just fine.

Which version of Firefox are you using?

And I assume Firefox pops up the OSK when using the address bar or input fields?

@M0E-lnx
Copy link
Author

M0E-lnx commented Apr 20, 2022

Using Firefox 99.0.1 on Windows 11
FF does pop the OSK on input fields, but for whatever reason, not when I click the keyboard button on the NoVNC side toolbar (the vertical toolbar)

@CendioOssman
Copy link
Member

Could you check the browser console if there are any warnings or errors there that might give a clue?

@M0E-lnx
Copy link
Author

M0E-lnx commented Apr 24, 2022

I'm not seeing any errors on the browser console, but I think I found a clue.

This is a surface tablet, but I do have a wireless keyboard setup for when I'm at home. The dongle for the keyboard is so small that I normally just leave it plugged in at all times. I'm guessing Firefox is detecting that hardware keyboard and refusing to pop the OSK. Unplugging the dongle proves this theory. With the dongle unplugged, the toolbar does pop the OSK.

I guess Edge and chrome must just ignore the hardware keyboard and pop it anyway. I noticed on edge, if I pop the OSK, but start typing on the hardware keyboard, the OSK hides. This functionality must be either not there or reversed in firefox.

@CendioOssman
Copy link
Member

Thanks for the extra testing. So this still sounds like a Firefox issue rather than a noVNC one, so I'm doubtful we can do anything from our end.

Would you mind seeing if you can file a bug report with Firefox? They generally listen if Firefox behaves differently from the other browsers.

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

No branches or pull requests

3 participants