You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
watch: viewer can get one cursor shape update on connect #486
The watch viewer can show one stray cursor shape when it connects. Found while fixing #481.
x11vnc applies -nocursorshape by polling. libvncserver turns on cursor shape updates when it reads the client's SetEncodings. x11vnc turns them off on its next main loop pass (screen.c in x11vnc 0.9.17). The first framebuffer update can therefore carry one cursor shape. No x11vnc option prevents this.
The bundled noVNC client (packages/cli/src/viewer/page/viewer.js) offers the cursor pseudo-encodings. packages/cli/src/viewer/bridge.ts forwards client bytes to x11vnc unchanged. In the #481 test, 1 to 3 connections in 100 got one shape under load. In a real viewer this could show a client-drawn cursor next to the cursor painted into the pixels, until the next update.
Not seen by a user yet. The #481 test fix covers only the test.
Confirm whether a real viewer shows the stray shape
If it does, stop offering the cursor pseudo-encodings, in the page or the bridge
Add a test that the viewer gets no cursor shape on connect
Activity