novnc / noVNC

VNC client web application
https://novnc.com
Other
11.68k stars 2.31k forks source link

Make it easier to open the on screen keyboard on touch devices #1501

Open samhed opened 3 years ago

samhed commented 3 years ago

It would be useful to have a guesture that activates the keyboard view, or even through an icon that appears near the cursor as in the image that I am attaching.

guesture

Originally posted by @sportegioco in https://github.com/novnc/noVNC/issues/1414#issuecomment-745608292

samhed commented 3 years ago

I referenced your comment here @sportegioco for a better place to have a discussion.

I'm open to adding a gesture for this. Do you have any suggestions on which gesture might be fitting?

With regards to the button in your screenshot, it's worth noting that there's no way for noVNC to know where a textbox is or how the application you're running works. noVNC simply displays the image the VNC server sends us.

sportegioco commented 3 years ago

First I still want to say thank you for the outstanding work you have done!

I found it on this site: https://docs.oracle.com/cd/E37459_01/E37460/html/user-gestures-key-tablet.html Tap with three fingers, Display or hide the on-screen keyboard.

I don't know if you have already used this gesture for other commands, otherwise I think it would be better to use a gesture that others already use. I have also checked other sites, including apple ... but I have not found a gesture for the keyboard view.

If the Tap with three fingers gesture is not available, I don't know what to suggest but any other gesture is fine.

With regards to the button in my screenshot, I don't know how they did it, but on the site: https://www.rollapp.com/ it works exactly like that. If you have a chance to try, open an application with a touch device and you will see that the icon to activate the keyboard appears next to the cursor.

Thanks again and have a nice day.

Gianpaolo

samhed commented 3 years ago

I don't have the time to test rollapp for now. Is the keyboard icon always visible next to the cursor, or only when a text-field is selected?

sportegioco commented 3 years ago

Only when the text field is selected, ie only when the cursor is active inside the field, the keyboard icon appears after about half a second. ... but the most important thing is to activate a guesture that activates the keyboard view, the icon even if it is nice and very intuitive, it is not a priority

samhed commented 3 years ago

Ok, yeah I agree.