Skip to content

macOS: Accent selection menu in wrong position #77545

@knopp

Description

@knopp

The accent selection menu, displayed after long pressing keys is currently displayed in wrong position (bottom left corner of screen)

Screen Shot 2021-03-08 at 12 38 36 AM

This is likely due to FlutterTextInputPlugin firstRectForCharacterRange:actualRange: not being implemented. Getting this method returning proper position for any range would likely be quite tricky, but for the purpose of positioning the popup just returning current caret location (could be provided through flutter/textinput channel) should be enough.

I also noticed that while the accent selection menu is visible, left/right arrow events are swallowed by flutter and not delivered to textInputContext, which means that keyboard navigation in the accent selection popup is not possible.

cc @cbracken

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: desktopRunning on desktopa: text inputEntering text in a text field or keyboard related problemsplatform-macBuilding on or for macOS specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions