[Webkit-unassigned] [Bug 202183] [Win] Update KeyboardEvent as per the latest specification

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 8 19:27:39 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=202183

--- Comment #9 from Fujii Hironori <Hironori.Fujii at sony.com> ---
If I set bit 2 of wFlags for ToUnicodeEx, it seems that ToUnicodeEx doesn't change the stored dead key.

https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-tounicodeex
> If bit 2 is set, keyboard state is not changed (Windows 10, version 1607 and newer)

Unfortunately, this behavior is supported only by Windows 10, version 1607 and newer.

And, it's not obvious to me how should I use this flag.
For example, If I type [^][a], TranslateMessage of [a] consumes the stored dead key.
So, calling ToUnicodeEx with [a] and the flag returns "a" rather than "â" because no dead key is stored.
Should I use ToUnicodeEx before TranslateMessage? Or, shouldn't I use TranslateMessage?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191009/3c6d6b8c/attachment.html>


More information about the webkit-unassigned mailing list