-
Notifications
You must be signed in to change notification settings - Fork 6k
[macOS] Return keyboard pressed state #42878
[macOS] Return keyboard pressed state #42878
Conversation
cc @dkwingsmt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Is it possible for this one to have the similar issue as Android (message received when the handler is not registered yet)? |
This won't have the similar issue as my first Android PR. The first Android PR (the one reverted) might creates the |
@dkwingsmt Before merging this, I think it would be great that we discuss further flutter/flutter#125975. This PR will fix some of the error messages related to keyboard events received by the engine while the framework side is initializing. But it won't fix all cases and it will be common to still get the error message by pressing and releasing a key before the framework initialization is done because the up event is buffered at the channel level (see flutter/flutter#125975). |
Triage: Are we closer to land this? If not, perhaps we can mark this as WIP? |
Sorry, I forgot about this. I should discuss with bleroux about the overall design on keyboard state. I'll do it as soon as I have time. |
Back from vacation. |
…131317) flutter/engine@4bdcecc...b3cd1c5 2023-07-26 [email protected] [macOS] Return keyboard pressed state (flutter/engine#42878) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…lutter#131317) flutter/engine@4bdcecc...b3cd1c5 2023-07-26 [email protected] [macOS] Return keyboard pressed state (flutter/engine#42878) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…lutter#131317) flutter/engine@4bdcecc...b3cd1c5 2023-07-26 [email protected] [macOS] Return keyboard pressed state (flutter/engine#42878) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
## Description This PR updates the Windows engine in order to answer to keyboard pressed state queries from the framework (as implemented in flutter/flutter#122885). ## Related Issue Windows engine implementation for flutter/flutter#87391. Similar to: - Linux: #42346 - Android: #42758 - macOS: #42878 ## Tests Adds 2 tests.
## Description This PR updates the macOS engine in order to answer to keyboard pressed state queries from the framework (as implemented in flutter/flutter#122885). ## Related Issue macOS engine implementation for flutter/flutter#87391 Similar to: - Linux: flutter#42346 - Android: flutter#42758 ## Tests Adds 2 tests.
## Description This PR updates the Windows engine in order to answer to keyboard pressed state queries from the framework (as implemented in flutter/flutter#122885). ## Related Issue Windows engine implementation for flutter/flutter#87391. Similar to: - Linux: flutter#42346 - Android: flutter#42758 - macOS: flutter#42878 ## Tests Adds 2 tests.
Description
This PR updates the macOS engine in order to answer to keyboard pressed state queries from the framework (as implemented in flutter/flutter#122885).
Related Issue
macOS engine implementation for flutter/flutter#87391
Similar to:
Tests
Adds 2 tests.