IME turns to Capital mode when word entered has same length as suggestion text
Bug #1591100 reported by
Santosh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Oxide |
New
|
Low
|
Unassigned |
Bug Description
Steps to reproduce :
Load www.google.com or any page having textfield
Tap on textfield and launch keyboard
Make sure Word Suggestion and Auto capitalization is ON
Now type complete word Google. This time word suggestion will be same.
Tap on suggestion to commit the word Google.
At this point IME is again capitalized which is bug.
Correct behavior : IME should not be capitalized
Above issue always happens when preedit string == commit string
To post a comment you must log in.
This issue is due to oxide setting wrong cursor position in IME. dChange notification after commiting word from blink since this time bounds has not been changed relative to preedit string dsChanged in this case updated cursor position calculation doesn't happen.
Inside oxide, when preedit_string == commit_string then we don't get
OnSelectionBoun
since we make cursor position calculation in OnSelectionBoun
We need to think here how to make cursor position calculation fullproof inside oxide