WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
137072
iOS Hardware Keyboard events have ctrlKey = true set when CapsLock is on
https://bugs.webkit.org/show_bug.cgi?id=137072
Summary
iOS Hardware Keyboard events have ctrlKey = true set when CapsLock is on
Alan
Reported
2014-09-24 12:40:44 PDT
When a hardware keyboard is connected to an iPad (Bluetooth or physically connected) and the keyboard has its CapsLock key on then keyboard events (keydown/keypress/keyup) detected via JavaScript all have the ctrlKey property as 'true'. This has been tested on several iPads/keyboards and I am told this worked ok in iOS 6.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2014-09-24 18:26:25 PDT
<
rdar://problem/18449540
>
Alexey Proskuryakov
Comment 2
2014-09-24 18:27:17 PDT
Could you please test on iOS 8?
Alan
Comment 3
2014-10-07 11:53:43 PDT
Was finally able to test this on iOS 8 (8.0.2) and the result was the same. When the Caps-Lock key is on the ctrl key flag comes through as true in the javascript event. When Caps-Lock is off and the Ctrl key is pressed the ctrl key flag comes through as false.
Piotrek Koszuliński (Reinmar)
Comment 4
2014-10-08 07:19:26 PDT
This issue affects CKEditor pretty badly (
http://dev.ckeditor.com/ticket/12477
). I guess that every application which has some keystrokes handling have the same problem.
Alan
Comment 5
2015-04-23 12:33:05 PDT
I just tried on iOS 8.2 and this is STILL broken. Also tried on iOS 6.1 and it doesn't work there either so perhaps STILL broken is wrong and this never worked. This is a major impediment to anyone trying to use a JavaScript based editor such as CKEditor on iOS. Any plans to fix this any time soon?
Daniel Bates
Comment 6
2018-09-27 14:26:28 PDT
Alan, are you still able to reproduce this issue? I am not seeing this behavior on iOS 12 when I disable "Switching Languages using Caps Lock" (*) and testing using <
https://unixpapa.com/js/testkey.html
> with showing modifiers checked. (*) Ensure a hardware keyboard is attached or paired and then open the Settings app and choose General > Keyboards > Hardware Keyboard. Then disable "Switching Languages using Caps Lock".
Daniel Bates
Comment 7
2019-06-14 21:08:22 PDT
I am unable to reproduce this issue. Closing Resolved Configuration Changed.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug