Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

☂️ Device-specific keyboard events should happen in the embedder #44918

Closed
gspencergoog opened this issue Nov 14, 2019 · 20 comments
Closed
Labels
a: desktop Running on desktop a: text input Entering text in a text field or keyboard related problems engine flutter/engine repository. See also e: labels. framework flutter/packages/flutter repository. See also f: labels. P1 High-priority issues at the top of the work list team-text-input Owned by Text Input team

Comments

@gspencergoog
Copy link
Contributor

In order to make implementing #33521 easier, and because it is a better factoring of the code, it makes sense to have the embedding side translate the local key events into a generic representation that the framework can then pass along.

This could be done by moving all of the keyboard key translation to the engine side, normalize it there, and just send a generic key event to the framework.

This would be a large breaking change on the framework side to remove the ability to look at the raw key event data on the framework side, but that is a fairly uncommon operation. We would have to make sure that we encoded all the relevant information in the generic key event (key repeat counts, left/right modifier information, etc.).

@gspencergoog gspencergoog added framework flutter/packages/flutter repository. See also f: labels. engine flutter/engine repository. See also e: labels. a: desktop Running on desktop labels Nov 14, 2019
@gspencergoog
Copy link
Contributor Author

cc @stuartmorgan

@gspencergoog
Copy link
Contributor Author

Here's the current design doc for this: https://flutter.dev/go/platform-based-key-events

@dkwingsmt
Copy link
Contributor

dkwingsmt commented Jan 6, 2021

Progress

Ask for recheck afterwards:

@edwardaux
Copy link
Contributor

Hating to be one of "those guys", but I'm curious if this ticket is still being actively pursued?

There's a bunch of other tickets that are being closed in favour of this one... but if this ticket isn't being worked on (or if the anticipated completion date is still months/years away), then there's a bit of a gap where genuine keyboard problems are impacting users in the meantime.

Not trying to be difficult... just trying to see how aggressively I should be pursuing workarounds to my existing keyboard problems vs. waiting for a fix.

@dkwingsmt
Copy link
Contributor

@edwardaux Yes I'm still fully focusing on the keyboard system, especially all the issues that were found recently.

@edwardaux
Copy link
Contributor

Ah, lovely. Thanks for the status update @dkwingsmt ... I appreciate that it is a big task 👍

@flutter-triage-bot
Copy link

This issue is assigned to @dkwingsmt but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks!

@flutter-triage-bot
Copy link

This issue was assigned to @dkwingsmt but has had no status updates in a long time. To remove any ambiguity about whether the issue is being worked on, the assignee was removed.

@flutter-triage-bot flutter-triage-bot bot removed the Bot is counting down the days until it unassigns the issue label Feb 3, 2024
@dkwingsmt
Copy link
Contributor

@gspencergoog has gone through the trouble of migrating everything in the Framework to KeyEvent and onKeyEvent and started a deprecation. Let's call this issue done!

Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 22, 2024
@cbracken cbracken added team-text-input Owned by Text Input team and removed team-desktop labels Jun 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: desktop Running on desktop a: text input Entering text in a text field or keyboard related problems engine flutter/engine repository. See also e: labels. framework flutter/packages/flutter repository. See also f: labels. P1 High-priority issues at the top of the work list team-text-input Owned by Text Input team
Projects
None yet
Development

Successfully merging a pull request may close this issue.