Skip to content

Conversation

@justinmc
Copy link
Contributor

Looks like we forgot to reset _keyHandler in TestTextInput.

Fixes #171491

justinmc added 2 commits July 17, 2025 15:20
Runs two tests back-to-back that try to receive a keyboard shortcut
selector. Without this fix, the first run passes and second run fails.
@justinmc justinmc self-assigned this Jul 17, 2025
@github-actions github-actions bot added a: tests "flutter test", flutter_test, or one of our tests a: text input Entering text in a text field or keyboard related problems framework flutter/packages/flutter repository. See also f: labels. labels Jul 17, 2025
Copy link
Member

@loic-sharma loic-sharma left a comment

Choose a reason for hiding this comment

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

Looks good!

@justinmc justinmc added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 18, 2025
@auto-submit auto-submit bot added this pull request to the merge queue Jul 18, 2025
Merged via the queue into flutter:master with commit b327336 Jul 18, 2025
73 checks passed
@flutter-dashboard flutter-dashboard bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jul 18, 2025
@justinmc justinmc deleted the test-text-input-clear branch July 18, 2025 20:31
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Jul 20, 2025
flutter/flutter@440713c...70a3c3c

2025-07-20 [email protected] Add optional splashColor property to ExpansionTile (flutter/flutter#172224)
2025-07-20 [email protected] Roll Fuchsia Linux SDK from 6agRTm-nf09sDmfQG... to 8MyOdk7FEK-MqkzIF... (flutter/flutter#172420)
2025-07-19 [email protected] Roll Dart SDK from ca7224f7dfd7 to a821b47e7a4d (1 revision) (flutter/flutter#172407)
2025-07-19 [email protected] Roll Dart SDK from 9982ab49440a to ca7224f7dfd7 (2 revisions) (flutter/flutter#172401)
2025-07-19 [email protected] fix: produce pom/jar files with content_hash (flutter/flutter#172378)
2025-07-18 [email protected] Roll Dart SDK from fe2232bd5b9f to 9982ab49440a (2 revisions) (flutter/flutter#172393)
2025-07-18 [email protected] Roll Fuchsia Linux SDK from HXdm7P0a4ZJVm_TE-... to 6agRTm-nf09sDmfQG... (flutter/flutter#172392)
2025-07-18 [email protected] Adopt Null-Aware Elements in `packages/flutter/lib/src/material` (flutter/flutter#172285)
2025-07-18 [email protected] Recommend using Flutter feature flags over platform-specific configs (flutter/flutter#172324)
2025-07-18 [email protected] TestTextInput should reset its key handler between tests (flutter/flutter#172323)
2025-07-18 [email protected] Mark Mac_* tool_tests_commands as bringup to unblock tree (flutter/flutter#172388)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
azatech pushed a commit to azatech/flutter that referenced this pull request Jul 28, 2025
)

Looks like we forgot to reset _keyHandler in TestTextInput.

Fixes flutter#171491
vashworth pushed a commit to vashworth/packages that referenced this pull request Jul 30, 2025
…r#9653)

flutter/flutter@440713c...70a3c3c

2025-07-20 [email protected] Add optional splashColor property to ExpansionTile (flutter/flutter#172224)
2025-07-20 [email protected] Roll Fuchsia Linux SDK from 6agRTm-nf09sDmfQG... to 8MyOdk7FEK-MqkzIF... (flutter/flutter#172420)
2025-07-19 [email protected] Roll Dart SDK from ca7224f7dfd7 to a821b47e7a4d (1 revision) (flutter/flutter#172407)
2025-07-19 [email protected] Roll Dart SDK from 9982ab49440a to ca7224f7dfd7 (2 revisions) (flutter/flutter#172401)
2025-07-19 [email protected] fix: produce pom/jar files with content_hash (flutter/flutter#172378)
2025-07-18 [email protected] Roll Dart SDK from fe2232bd5b9f to 9982ab49440a (2 revisions) (flutter/flutter#172393)
2025-07-18 [email protected] Roll Fuchsia Linux SDK from HXdm7P0a4ZJVm_TE-... to 6agRTm-nf09sDmfQG... (flutter/flutter#172392)
2025-07-18 [email protected] Adopt Null-Aware Elements in `packages/flutter/lib/src/material` (flutter/flutter#172285)
2025-07-18 [email protected] Recommend using Flutter feature flags over platform-specific configs (flutter/flutter#172324)
2025-07-18 [email protected] TestTextInput should reset its key handler between tests (flutter/flutter#172323)
2025-07-18 [email protected] Mark Mac_* tool_tests_commands as bringup to unblock tree (flutter/flutter#172388)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
ksokolovskyi pushed a commit to ksokolovskyi/flutter that referenced this pull request Aug 19, 2025
)

Looks like we forgot to reset _keyHandler in TestTextInput.

Fixes flutter#171491
mboetger pushed a commit to mboetger/flutter that referenced this pull request Sep 18, 2025
)

Looks like we forgot to reset _keyHandler in TestTextInput.

Fixes flutter#171491
lucaantonelli pushed a commit to lucaantonelli/flutter that referenced this pull request Nov 21, 2025
)

Looks like we forgot to reset _keyHandler in TestTextInput.

Fixes flutter#171491
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: tests "flutter test", flutter_test, or one of our tests a: text input Entering text in a text field or keyboard related problems framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TestTextInput does not clear _keyHandler on reset

2 participants