Change information
Commit message:
[M129] Wayland text-input-v3: Do not call enable in ShowInputPanel
Due to no specified request in the protocol to show input panel, it was
implemented using `enable` as a workaround, which can be problematic in
input field where the ShowInputPanel gets called after the cursor
position is sent in which case the cursor position is no longer retained
leading to the popup being shown in the top-left corner of the window.
So simply remove the workaround to avoid unexpected potential state
resets, as the keyboard does show up when the input is activated.
(cherry picked from commit 5e2b8185c684ae6d155e93ba3eeedef7469b222c)
Fixed: 362191728
Change-Id: I86ec50f842b6c81939acab237e0bcb6ec9628833
Cr-Original-Commit-Position: refs/heads/main@{#1347398}
Cr-Commit-Position: refs/branch-heads/6668@{#772}
Cr-Branched-From: 05bc664984ca075216b7f2198c88b9725bfa1b9b-refs/heads/main@{#1343869}
Files:
- M ui/ozone/platform/wayland/host/zwp_text_input_wrapper_v3.cc
- M ui/ozone/platform/wayland/host/zwp_text_input_wrapper_v3_unittest.cc
Change size: S
Delta: 2 files changed, 17 insertions(+), 11 deletions(-)
Branch: refs/branch-heads/6668
Submit Requirements:
- Code-Review: +1 by Nick Yamane