kanaka/noVNC — Issue #104: keyboard issues
Author: jonosterman
Created: 2011-11-17 10:41:00+00:00
State: open

Hi,

Keyboard does not work as expected. I read about the different issues with key event in javascript. I tried to switch to other keyboard layout but did not success.

tested in Firefox nightly or chrome.

Most of the time the remote system get all CAPS characters like the shift key get stuck (and sometime the CTRL).

the following dump is when I press the 'a' key :

Regards,

[11:30:40.788] xxx/noVNC/vnc_auto.html?host=1.2.3.4&port=8906&logging=debug
[11:30:40.803] The connection to ws://1.2.3.4:8906/ was interrupted while the page was loading. @ xxx/noVNC/include/websock.js:264
[11:30:40.838] xxx/noVNC/include/base.css
[11:30:40.841] xxx/noVNC/include/vnc.js
[11:30:40.851] xxx/noVNC/include/util.js
[11:30:40.853] xxx/noVNC/include/webutil.js
[11:30:40.855] xxx/noVNC/include/base64.js
[11:30:40.857] xxx/noVNC/include/websock.js
[11:30:40.859] xxx/noVNC/include/des.js
[11:30:40.862] xxx/noVNC/include/input.js
[11:30:40.865] xxx/noVNC/include/display.js
[11:30:40.867] xxx/noVNC/include/rfb.js
[11:30:40.880] Error in parsing value for 'background'. Declaration dropped. @ xxx/noVNC/include/base.css:198
[11:30:40.915] Error in parsing value for 'filter'. Declaration dropped. @ xxx/noVNC/include/base.css:225
[11:30:40.986] >> RFB.constructor @ xxx/noVNC/include/util.js:70
[11:30:40.990] >> Display.constructor @ xxx/noVNC/include/util.js:70
[11:30:40.993] User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0a1) Gecko/20111116 Firefox/11.0a1 @ xxx/noVNC/include/util.js:70
[11:30:40.995] Browser: gecko 19 @ xxx/noVNC/include/util.js:70
[11:30:40.996] Browser: webkit 525 @ xxx/noVNC/include/util.js:70
[11:30:40.998] Setting viewport to full display region @ xxx/noVNC/include/util.js:70
[11:30:41.002] Prefering javascript operations @ xxx/noVNC/include/util.js:71
[11:30:41.020] Data URI scheme cursor supported @ xxx/noVNC/include/util.js:71
[11:30:41.025] << Display.constructor @ xxx/noVNC/include/util.js:70
[11:30:41.028] Using native WebSockets @ xxx/noVNC/include/util.js:71
[11:30:41.031] Setting viewport to full display region @ xxx/noVNC/include/util.js:70
[11:30:41.034] New state 'loaded', was 'disconnected'. Msg: noVNC ready: native WebSockets, canvas rendering @ xxx/noVNC/include/util.js:72
[11:30:41.036] << RFB.constructor @ xxx/noVNC/include/util.js:70
[11:30:41.039] New state 'connect', was 'loaded'. @ xxx/noVNC/include/util.js:72
[11:30:41.042] >> RFB.connect @ xxx/noVNC/include/util.js:70
[11:30:41.043] connecting to ws://1.2.3.4:8906/ @ xxx/noVNC/include/util.js:71
[11:30:41.050] << RFB.connect @ xxx/noVNC/include/util.js:70
[11:30:41.088] GET http://1.2.3.4:8906/ [HTTP/1.1 101 Switching Protocols 89ms]
[11:30:41.178] >> WebSock.onopen @ xxx/noVNC/include/util.js:70
[11:30:41.185] Server chose sub-protocol: base64 @ xxx/noVNC/include/util.js:71
[11:30:41.190] New state 'ProtocolVersion', was 'connect'. Msg: Starting VNC handshake @ xxx/noVNC/include/util.js:72
[11:30:41.192] Clearing connect timer @ xxx/noVNC/include/util.js:70
[11:30:41.194] << WebSock.onopen @ xxx/noVNC/include/util.js:70
[11:30:41.218] Server ProtocolVersion: 003.008 @ xxx/noVNC/include/util.js:71
[11:30:41.222] New state 'Security', was 'ProtocolVersion'. Msg: Sent ProtocolVersion: 003.008 @ xxx/noVNC/include/util.js:72
[11:30:41.264] Server security types: 1 @ xxx/noVNC/include/util.js:70
[11:30:41.267] New state 'Authentication', was 'Security'. Msg: Authenticating using scheme: 1 @ xxx/noVNC/include/util.js:72
[11:30:41.269] New state 'SecurityResult', was 'Authentication'. @ xxx/noVNC/include/util.js:72
[11:30:41.310] New state 'ClientInitialisation', was 'SecurityResult'. Msg: Authentication OK @ xxx/noVNC/include/util.js:72
[11:30:41.316] New state 'ServerInitialisation', was 'ClientInitialisation'. Msg: Authentication OK @ xxx/noVNC/include/util.js:72
[11:30:41.339] bufferedAmount: 4 @ xxx/noVNC/include/util.js:70
[11:30:41.358] Screen: 800x599, bpp: 32, depth: 24, big_endian: 0, true_color: 1, red_max: 255, green_max: 255, blue_max: 255, red_shift: 16, green_shift: 8, blue_shift: 0 @ xxx/noVNC/include/util.js:71
[11:30:41.361] Setting viewport to full display region @ xxx/noVNC/include/util.js:70
[11:30:41.367] New state 'normal', was 'ServerInitialisation'. Msg: Connected (unencrypted) to: QEMU (one-6) @ xxx/noVNC/include/util.js:72
[11:30:41.394] bufferedAmount: 96 @ xxx/noVNC/include/util.js:70
[11:30:41.693] First FBU latency: 325 @ xxx/noVNC/include/util.js:71
[11:30:41.701] Timing of full FBU, cur: 0, total: 0, cnt: 1, avg: 0 @ xxx/noVNC/include/util.js:71
[11:30:41.706] full FBU round-trip, cur: 333, total: 333, cnt: 1, avg: 333 @ xxx/noVNC/include/util.js:71
[11:30:42.479] bufferedAmount: 136 @ xxx/noVNC/include/util.js:70
[11:30:42.580] onMouseButton down, x: 357, y: 130, bmask: 1 @ xxx/noVNC/include/util.js:70
[11:30:42.586] bufferedAmount: 8 @ xxx/noVNC/include/util.js:70
[11:30:42.693] onMouseButton up, x: 357, y: 130, bmask: 1 @ xxx/noVNC/include/util.js:70
[11:30:42.701] bufferedAmount: 8 @ xxx/noVNC/include/util.js:70
[11:30:44.028] onKeyDown kC:65 cC:0 w:65 @ xxx/noVNC/include/util.js:70
[11:30:44.035] onKeyPress down, keysym: 97 (onKeyPress key: 0, which: 97) @ xxx/noVNC/include/util.js:70
[11:30:44.040] bufferedAmount: 24 @ xxx/noVNC/include/util.js:70
[11:30:44.124] onKeyPress up, keysym: 97 (onKeyPress key: 65, which: 65) @ xxx/noVNC/include/util.js:70
[11:30:44.146] bufferedAmount: 24 @ xxx/noVNC/include/util.js:70
[11:30:44.919] onKeyDown kC:65 cC:0 w:65 @ xxx/noVNC/include/util.js:70
[11:30:44.926] onKeyPress down, keysym: 97 (onKeyPress key: 0, which: 97) @ xxx/noVNC/include/util.js:70
[11:30:44.931] bufferedAmount: 24 @ xxx/noVNC/include/util.js:70
[11:30:45.006] onKeyPress up, keysym: 97 (onKeyPress key: 65, which: 65) @ xxx/noVNC/include/util.js:70
[11:30:45.406] onKeyDown kC:65 cC:0 w:65 @ xxx/noVNC/include/util.js:70
[11:30:45.412] onKeyPress down, keysym: 97 (onKeyPress key: 0, which: 97) @ xxx/noVNC/include/util.js:70
[11:30:45.475] onKeyPress up, keysym: 97 (onKeyPress key: 65, which: 65) @ xxx/noVNC/include/util.js:70
[11:30:45.485] bufferedAmount: 24 @ xxx/noVNC/include/util.js:70