Bug 199187

Summary: When Caps Lock is enabled on the Smart Keyboard, can't scroll with space or arrow keys
Product: WebKit Reporter: Tim Horton <thorton>
Component: New BugsAssignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, commit-queue, simon.fraser, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Tim Horton 2019-06-25 01:45:33 PDT
When Caps Lock is enabled on the Smart Keyboard, can't scroll with space or arrow keys
Comment 1 Tim Horton 2019-06-25 01:45:38 PDT
Created attachment 372826 [details]
Patch
Comment 2 Tim Horton 2019-06-25 01:45:41 PDT
<rdar://problem/51521709>
Comment 3 Anders Carlsson 2019-06-25 06:44:46 PDT
Comment on attachment 372826 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=372826&action=review

> Source/WebKit/UIProcess/ios/WKKeyboardScrollingAnimator.mm:246
> +    auto relevantModifierFlags = WebEventFlagMaskOptionKey | WebEventFlagMaskCommandKey | WebEventFlagMaskShiftKey;

Looks like WebEventFlag should be an OptionSet.
Comment 4 Tim Horton 2019-06-25 10:00:02 PDT
Quite!
Comment 5 WebKit Commit Bot 2019-06-25 10:29:59 PDT
Comment on attachment 372826 [details]
Patch

Clearing flags on attachment: 372826

Committed r246795: <https://trac.webkit.org/changeset/246795>
Comment 6 WebKit Commit Bot 2019-06-25 10:30:01 PDT
All reviewed patches have been landed.  Closing bug.