Open GoogleCodeExporter opened 9 years ago
[deleted comment]
[deleted comment]
[deleted comment]
[deleted comment]
[deleted comment]
Attaching log info when pressing F5 or 'a' for all platforms.
For VKEY_ codes for Linux/Mac see keyboard_codes_posix.h in
Chromium/src/ui/events/keycodes/:
https://code.google.com/p/chromium/codesearch#chromium/src/ui/events/keycodes/keyboard_codes_posix.h
For VKEY_ codes for Windows see keyboard_codes_win.h:
https://code.google.com/p/chromium/codesearch#chromium/src/ui/events/keycodes/keyboard_codes_win.h
Original comment by czarek.t...@gmail.com
on 23 Jan 2015 at 5:26
Attachments:
Summary for the log files attached in previous comment:
* F5 has 2 calls to OnPreKeyEvent and OnKeyEvent on all platforms with types: KEYEVENT_RAWKEYDOWN and KEYEVENT_KEYUP.
* 'a' on Linux generates 1 call to OnPreKeyEvent and 1 call to OnKeyEvent with type: KEYEVENT_KEYUP.
* 'a' on Mac generates 2 calls to OnPreKeyEvent and 2 calls to OnKeyEvent with types: KEYEVENT_RAWKEYDOWN and KEYEVENT_KEYUP
* 'a' on Windows generates:
* 2x OnPreKeyEvent with types: KEYEVENT_RAWKEYDOWN and KEYEVENT_CHAR (modifiers 0 and 512)
* Next 2x OnKeyEvent with types: KEYEVENT_RAWKEYDOWN and KEYEVENT_CHAR (modifiers 0 and 512)
* Next OnPreKeyEvent and OnKeyEvent with type: KEYEVENT_KEYUP (modifiers 0)
* Next OnPreKeyEvent and OnKeyEvent with type: KEYEVENT_RAWKEYDOWN (modifiers 8)
The 'type' can be one of:
KEYEVENT_RAWKEYDOWN = 0,
KEYEVENT_KEYDOWN = 1,
KEYEVENT_KEYUP = 2,
KEYEVENT_CHAR = 3
Original comment by czarek.t...@gmail.com
on 23 Jan 2015 at 5:40
See also CEF unittests/os_rendering_unittest.cc > OSR_TEST_KEY_EVENTS:
https://code.google.com/p/chromiumembedded/source/browse/trunk/cef3/tests/unittests/os_rendering_unittest.cc?r=r1987#548
Original comment by czarek.t...@gmail.com
on 23 Jan 2015 at 5:43
Original issue reported on code.google.com by
czarek.t...@gmail.com
on 21 Jan 2015 at 9:04