Open Jefisovas opened 2 years ago
Hi @Jefisovas, I have the exact same behavior as you in the same setup with a touchscreen and Weston. Did you find something ? I'm currently trying to understand what is going on.
I think this is the same issue: https://github.com/Igalia/cog/issues/413
Still same issue with:
WPE Webkit 2.42.5 Cog 0.18.2 Weston 10.0
Other than Tab, also pressing Enter on virtual keyboard works as it moves the focus on next element.
Are you sure you're using this downstream WPE fork? The upstream is hosted at wpewebkit.org (releases) and github.com/webkit/webkit (repo).
You're right, I'm building the upstream version from meta-webkit.
Hi, Having a bit of issue here when using Weston + WPEWebkit + Touch screen. When editing text inputs with a touchscreen keyboard, after selecting next element, webkit thinks it selected next one, but as soon as typing a letter on virtual keyboard, the focus jumps backs to previous element, and adds new letter to that.
When selecting next input, webkit thinks it did select, as focus style changes, events are raised etc. But input subsystem thinks it is still on same element. The only workaround I've so far found is to use button "->" on virtual keyboard, it raises a Tab key click event, and only then the focus jumps correctly.
Inspecting logs, I can see that focus enter element correctly: zwp_text_input_v1@17.show_input_panel() But it never leaves.
Doing similar test to a weston-editor there are no issues there. Focus enter correct control, and using virtual keyboard is working correctly. As log contains these entries: zwp_text_input_v1@19.leave()
Doesn't what I try to do in javascript, it fails exactly the same. Focusing element manually etc etc. Another point is that manually changed input value from the javascript, it totally fails virtual keyboard, but that's another issue I guess.
Any tips?
Details: weston 10.0.1 cog 0.10.1 (WPE WebKit 2.32.4) [js_deletes_element.log](https://github.com/WebPlatformForEmbedded/WPEWebKit/files/9716764/js_deletes_element.log) [weston_editor_touch_next_input.log](https://github.com/WebPlatformForEmbedded/WPEWebKit/files/9716765/weston_editor_touch_next_input.log) [touch_next_element.log](https://github.com/WebPlatformForEmbedded/WPEWebKit/files/9716767/touch_next_element.log)