[ https://issues.apache.org/jira/browse/GUACAMOLE-1823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Miroslav Sedivy updated GUACAMOLE-1823: --------------------------------------- Description: Chrome on MacOS sends only a single {{keydown}} event when turning on caps-lock, and only a single {{keyup}} event when turning off caps-lock. In contract to firefox on MacOS, that sends always only a single {{keydown}} that is properly handled in quirks as {{capsLockKeyupUnreliable}}. h1. Steps to reproduce: In my tests I always clicked CapsLock twice, while initial state was not activated. So I activated and deactivated caps lock in Firefox and Chrome on MacOS while watching how [guacamole keybaord behaves|https://guacamole.apache.org/pub/tests/guac/keyboard-test.html] and also what [events|https://dvcs.w3.org/hg/d4e/raw-file/tip/key-event-test.html] are actually fired: h2. Firefox MacOS: !https://user-images.githubusercontent.com/7534274/248916544-d702aada-5ea7-4dad-85a4-cc6f97470c5a.png|width=367,height=111! !https://user-images.githubusercontent.com/7534274/248916580-ff169602-79a7-490a-8636-506ff67526e2.png|width=584,height=122! h2. Chrome MacOS: !https://user-images.githubusercontent.com/7534274/248916909-3fab3c74-9eb6-43bb-822d-bcd609e98fe2.png|width=396,height=88! !https://user-images.githubusercontent.com/7534274/248916922-a386a6ba-0094-4b8e-93d7-e5817f60e147.png|width=585,height=132! was: Chrome on MacOS sends only a single {{keydown}} event when turning on caps-lock, and only a single {{keyup}} event when turning off caps-lock. In contract to firefox on MacOS, that sends always only a single {{keydown}} that is properly handled in quirks as {{capsLockKeyupUnreliable}}. h1. Steps to reproduce: In my tests I always clicked CapsLock twice, while initial state was not activated. So I activated and deactivated caps lock in Firefox and Chrome on MacOS while watching how [guacamole keybaord behaves|https://guacamole.apache.org/pub/tests/guac/keyboard-test.html] and also what [events|https://dvcs.w3.org/hg/d4e/raw-file/tip/key-event-test.html] are actually fired: h2. Firefox MacOS: !https://user-images.githubusercontent.com/7534274/248916544-d702aada-5ea7-4dad-85a4-cc6f97470c5a.png|width=367,height=111!!https://user-images.githubusercontent.com/7534274/248916580-ff169602-79a7-490a-8636-506ff67526e2.png|width=584,height=122! h2. Chrome MacOS: !https://user-images.githubusercontent.com/7534274/248916909-3fab3c74-9eb6-43bb-822d-bcd609e98fe2.png|width=396,height=88! !https://user-images.githubusercontent.com/7534274/248916922-a386a6ba-0094-4b8e-93d7-e5817f60e147.png|width=585,height=132! > Unreliable CapsLock on MacOS Chrome > ----------------------------------- > > Key: GUACAMOLE-1823 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-1823 > Project: Guacamole > Issue Type: Bug > Components: guacamole-client > Reporter: Miroslav Sedivy > Priority: Major > > Chrome on MacOS sends only a single {{keydown}} event when turning on > caps-lock, and only a single {{keyup}} event when turning off caps-lock. In > contract to firefox on MacOS, that sends always only a single {{keydown}} > that is properly handled in quirks as {{capsLockKeyupUnreliable}}. > h1. Steps to reproduce: > In my tests I always clicked CapsLock twice, while initial state was not > activated. So I activated and deactivated caps lock in Firefox and Chrome on > MacOS while watching how [guacamole keybaord > behaves|https://guacamole.apache.org/pub/tests/guac/keyboard-test.html] and > also what > [events|https://dvcs.w3.org/hg/d4e/raw-file/tip/key-event-test.html] are > actually fired: > h2. Firefox MacOS: > !https://user-images.githubusercontent.com/7534274/248916544-d702aada-5ea7-4dad-85a4-cc6f97470c5a.png|width=367,height=111! > !https://user-images.githubusercontent.com/7534274/248916580-ff169602-79a7-490a-8636-506ff67526e2.png|width=584,height=122! > h2. Chrome MacOS: > !https://user-images.githubusercontent.com/7534274/248916909-3fab3c74-9eb6-43bb-822d-bcd609e98fe2.png|width=396,height=88! > !https://user-images.githubusercontent.com/7534274/248916922-a386a6ba-0094-4b8e-93d7-e5817f60e147.png|width=585,height=132! -- This message was sent by Atlassian Jira (v8.20.10#820010)