qt-openzwave icon indicating copy to clipboard operation
qt-openzwave copied to clipboard

Mouse doesn't show up when using novnc

Open mew1033 opened this issue 5 years ago • 12 comments

When I use the allinone container and connect to the novnc port, I can use ozw-admin, but I can't see the cursor at all. If I can figure out where I am, things work alright, but it's very difficult to use. No mouse

mew1033 avatar Jun 10 '20 22:06 mew1033

This seems to be a issue with some combinations of Browsers and NoVNC. I've tried to force it to update the Cursor on start - Can you try our the allinone-21 when it appears in a hour or so?

Fishwaldo avatar Jun 11 '20 18:06 Fishwaldo

Can do. I still don't see a build 21 though. Looking here: https://hub.docker.com/r/openzwave/ozwdaemon/tags

mew1033 avatar Jun 12 '20 16:06 mew1033

+1. Same issue. However, it seems if I have quickly previously had a real vnc connection and then go to browser it sometimes does work.

sanderlv avatar Jun 14 '20 21:06 sanderlv

Sorry - Please try build 23. Not sure what happened to 21

Fishwaldo avatar Jun 15 '20 15:06 Fishwaldo

Just tried it, doesn't look like it helped.

mew1033 avatar Jun 15 '20 16:06 mew1033

This is probably (?) a bug in the QT vnc plugin and how it enables (or doesn't enable) the cursor. Not sure if there's a solution there. QT vnc doesn't seem to an important component. There is not even any official documentation.

Debian ships an out of date version of NoVNC. In the latest release, v1.1.0 (released over a year ago), there is an option in the client to show a dot when no cursor is enabled. This is what clients like TightVNC do, which seems like an acceptable workaround, because apparently other servers have the same bad behavior. Using the new version would probably require compiling NoVNC from source.

kpine avatar Jun 17 '20 17:06 kpine

Well, there is definitely code to enable a cursor. I wonder if it's disabled by default?

kpine avatar Jun 17 '20 18:06 kpine

Not sure what changed, but there is now a mouse. Works great!

mew1033 avatar Jul 03 '20 06:07 mew1033

I think you just got lucky. I sometimes see a cursor, sometimes not. If the application is already running and I make the cursor appear, reconnecting later it will be visible, but not from a brand new start. Using build 150.

kpine avatar Jul 03 '20 06:07 kpine

FYI, in the latest builds using the Standard Client, you can go to Settings -> Advanced and turn on "Show Dot when No Cursor". It will enable a (very tiny) dot, in the same way as a normal VNC client, that will show where the cursor is. Not perfect, but certainly helps.

kpine avatar Aug 06 '20 15:08 kpine

I was having the same problem. When I click the File menu at the top, my cursor appears, and works from then on. Seems like Xorg needs the focus and then the mouse will display over the app,.

adamoutler avatar Aug 21 '20 22:08 adamoutler

I'm having the same problem, using Chrome, Firefox or Edge on Win 10.

Using Firefox on an Ubuntu 18.04 box shows a normal cursor.

Switching to the TightVNC Viewer on the same Win 10 desktop, I do see the dot for a cursor.

psgcooldog avatar Nov 18 '20 19:11 psgcooldog