Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • W weston
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 388
    • Issues 388
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 106
    • Merge requests 106
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Admin message

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • waylandwayland
  • weston
  • Issues
  • #676

Weston with WPEWebkit on Touchscreen fails to focus correct element

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

weston_editor_touch_next_input.log

touch_next_element.log

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking