Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

bleroux
Copy link
Contributor

@bleroux bleroux commented Jul 25, 2023

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:

Tests

Adds 2 tests.

@bleroux bleroux marked this pull request as draft July 25, 2023 14:28
@bleroux bleroux closed this Jul 25, 2023
@bleroux bleroux force-pushed the windows_return_keyboard_pressed_state branch from 4adc525 to 036c58f Compare July 25, 2023 14:54
@bleroux
Copy link
Contributor Author

bleroux commented Jul 25, 2023

Reopening after a wrong push.

@bleroux bleroux reopened this Jul 25, 2023
@bleroux bleroux force-pushed the windows_return_keyboard_pressed_state branch from 7ad07f6 to 3cb7b59 Compare July 25, 2023 20:05
@bleroux bleroux marked this pull request as ready for review July 26, 2023 06:20
@bleroux bleroux requested review from loic-sharma and dkwingsmt July 26, 2023 06:20
Comment on lines 117 to 118
std::map<uint64_t, uint64_t> Empty_State;
return Empty_State;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
std::map<uint64_t, uint64_t> Empty_State;
return Empty_State;
std::map<uint64_t, uint64_t> empty_state;
return empty_state;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add some doc explaining why this function targets KeyboardKeyEmbedderHandler only so that this implementation is ok?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I push an update to fix the variable name and to add a comment.

@bleroux bleroux force-pushed the windows_return_keyboard_pressed_state branch from 3cb7b59 to c4ec7d4 Compare August 7, 2023 07:01
@bleroux bleroux force-pushed the windows_return_keyboard_pressed_state branch from c4ec7d4 to 64f1271 Compare August 7, 2023 09:07
@bleroux bleroux requested a review from dkwingsmt August 7, 2023 09:47
Copy link
Contributor

@dkwingsmt dkwingsmt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bleroux bleroux added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 9, 2023
@auto-submit auto-submit bot merged commit b291a8e into flutter:main Aug 9, 2023
@bleroux bleroux deleted the windows_return_keyboard_pressed_state branch August 9, 2023 06:52
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 9, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 9, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 9, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 9, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 9, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 9, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 9, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 9, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 9, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Aug 9, 2023
…132233)

flutter/engine@3d3fb4f...30e7780

2023-08-09 [email protected] Roll Skia from 3e85749702f4 to 17ba2122707b (2 revisions) (flutter/engine#44540)
2023-08-09 [email protected] Roll Skia from e892c300a7c4 to 3e85749702f4 (1 revision) (flutter/engine#44539)
2023-08-09 [email protected] Roll Skia from ff6d82573f69 to e892c300a7c4 (1 revision) (flutter/engine#44538)
2023-08-09 [email protected] Roll Skia from e2885a01f134 to ff6d82573f69 (3 revisions) (flutter/engine#44536)
2023-08-09 [email protected] Remove GFX and Scenic dependencies from Fuchsia integration tests (flutter/engine#44498)
2023-08-09 [email protected] Roll Skia from ac2b25fec6eb to e2885a01f134 (1 revision) (flutter/engine#44534)
2023-08-09 [email protected] Roll Skia from d097852dc928 to ac2b25fec6eb (3 revisions) (flutter/engine#44533)
2023-08-09 [email protected] [Windows] Return keyboard pressed state (flutter/engine#43998)

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
@reidbaker reidbaker mentioned this pull request Aug 15, 2023
14 tasks
gaaclarke pushed a commit to gaaclarke/engine that referenced this pull request Aug 30, 2023
## 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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects: desktop autosubmit Merge PR when tree becomes green via auto submit App platform-windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants