Skip to content

Multi-step input candidate view position incorrect when using physical keyboard #9344

Closed
flutter-team-archive/engine
#19929

Description

@cbracken

Steps to Reproduce

  1. Open Flutter Gallery and open the Text Fields demo.
  2. Using an iPad with a physical keyboard attached, tap on the Name field.
  3. Switch to Japanese text input and enter some text (e.g., kannji).

The conversion candidates view is located at 0,0 instead of near the composing region.

Current Flutter behaviour

img_1484

Expected behaviour (Google Inbox)

img_1485

Flutter Doctor

Running a local engine with iOS text editing patches applied to enable multi-stage text entry. Base Flutter SDK is:

[✓] Flutter (on Mac OS X 10.12.4 16E195, channel master)
    • Flutter at /Users/cbracken/src/flutter/flutter
    • Framework revision c12c019bcc (6 hours ago), 2017-04-11 13:48:04 -0700
    • Engine revision 5d9a642257
    • Tools Dart version 1.23.0-dev.11.6

Activity

  1. added
    engineflutter/engine related. See also e: labels.
    a: fidelityMatching the OEM platforms better
    a: text inputEntering text in a text field or keyboard related problems
    platform-iosiOS applications specifically
    on Apr 12, 2017
  2. added this to the milestone on Apr 12, 2017
  3. modified the milestones: 3: Current Milestone, on Apr 11, 2018
  4. jlcool commented on Apr 29, 2020

    @jlcool

    Three years on

  5. added
    P2Important issues not at the top of the work list
    on May 29, 2020
  6. removed this from the milestone on Jun 2, 2020
  7. removed this from the milestone on Jun 2, 2020
  8. LongCatIsLooong commented on Jul 1, 2020

    @LongCatIsLooong
    Contributor

    Reporting the Rect of the currently marked text (or the current selection if there's no marked text) to the engine every time it changes seems to work reasonably well. It's still racy in theory and I don't know how well it works if there're RTL languages involved.

    japanese

  9. removed this from the milestone on Aug 17, 2020
  10. hatano0x06 commented on Aug 28, 2020

    @hatano0x06

    when does this solve?

  11. github-actions commented on Aug 12, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  12. locked as resolved and limited conversation to collaborators on Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P2Important issues not at the top of the work lista: fidelityMatching the OEM platforms bettera: internationalizationSupporting other languages or locales. (aka i18n)a: text inputEntering text in a text field or keyboard related problemsengineflutter/engine related. See also e: labels.platform-iosiOS applications specificallywaiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions