Igalia / wolvic

A fast and secure browser for standalone virtual-reality and augmented-reality headsets.

Home Page:https://wolvic.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autocompletion misbehaviour when switching between text entries

svillar opened this issue · comments

Steps to Reproduce

  1. Open https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_test
  2. Add some text to First name
  3. Click on Last name field

Current Behavior

The text from First name is copied in Last name

Expected Behavior

Nothing should be added

This is a regression added in #1104

The problem is that the composing text which is stored in KeyboardWidget is not properly cleared and thus when getCandidates() is called in the newly focused text entry then the stored text is autocompleted.