Open WonyoungChoi opened 2 years ago
I can't reproduce the problem. We're already taking repeated key events into account.
Which device did you use?
RPI4 34bit :(
Some keys (return, arrow keys, numbers, etc) do not constantly generate ECORE_EVENT_KEY_DOWN
event.
https://github.com/flutter-tizen/engine/blob/06ddbce069b64d4e5471665eceb36292bb38cb8f/shell/platform/tizen/tizen_window_ecore_wl2.cc#L314-L336
Maybe there's an API that can change which keys should be keep generating ECORE_EVENT_KEY_DOWN
events?
To share findings so far, ecore_wayland
module listens a single keyboard press down event and determines if it should generate repeating ECORE_EVENT_KEY_DOWN
events. The module determines this internally by calling xkb_keymap_key_repeats
which returns whether the given key should be repeated or not (https://github.com/xkbcommon/libxkbcommon/blob/57af9cb71f19f37394399b549f7cb7b0d9fe3988/include/xkbcommon/xkbcommon.h#L1263-L1279).
When keep pressing an arrow key (up, down, left, right) of keyboard, the key event seems to occur only once.
Repro
Expected The cursor should be moved continuously like typing any other characters.
This isn't limited to TextField, it happens in general, like moving a Widget's focus.
Environment