chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.38k stars 467 forks source link

In off-screen rendering mode, the code value of keyevent is none #3809

Closed EndoSakura closed 1 month ago

EndoSakura commented 1 month ago

Describe the bug In off-screen rendering mode, the code value of keyevent is none

To Reproduce Steps to reproduce the behavior:

  1. Start cefclient.exe with --off-screen-rendering-enabled
  2. Load the file in test_keycode.zip below
  3. Press any Key
  4. Code is empty

Screenshots image

Versions (please complete the following information):

test_keycode.zip

magreenblatt commented 1 month ago

For reference, the output when pressing the 'a' key should be:

Key Down: a (Code: KeyA)

Key Up: a (Code: KeyA)
magreenblatt commented 1 month ago

Does not reproduce on MacOS. Looks like a duplicate of #2597.