Xpra: Ticket #2326: capslock not detected

Broke at some point and I didn't notice.



Wed, 12 Jun 2019 07:52:09 GMT - Antoine Martin: status changed

That's because the keypress event no longer fires. (either something changed in jquery or chrome) Trivial fix in r22909.

Since event.getModifierState seems to work well, r22910 also switches to that for numlock and removes the keypress event handler hack completely.

Needs testing with all browsers... because the result matrix for this API call is "interesting", see MDN: getModifierState This fiddle can be used for quick testing: http://jsfiddle.net/Mottie/a6nhqvv0/


Fri, 14 Jun 2019 16:19:20 GMT - Antoine Martin: status changed; resolution set

Tested OK on all supported browsers, including old versions of Safari, Firefox and chrome on Linux and Windows.


Sat, 23 Jan 2021 05:48:19 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2326