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 1, 2024

Description

This PR restricts the call to restartInput which was added in #49829.
The restart is called when input action is null, DONE, or NONE.

Related Issue

Fixes flutter/flutter#148673.

Tests

Updates 1 test, adds 3 tests.

@chinmaygarde
Copy link
Member

@justinmc: Do you have the cycles to take a look at this?

Copy link
Contributor

@justinmc justinmc left a comment

Choose a reason for hiding this comment

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

LGTM 👍 . Sorry for the delay here.

@bleroux Have you confirmed that flutter/flutter#51478 and flutter/flutter#70546 are still fixed after this change?

@bleroux
Copy link
Contributor Author

bleroux commented Jul 17, 2024

@justinmc Yes, I have check that the pointed issues are still fixed for their given code sample s. Nonetheless it will be possible to reproduce those issues by setting the text input actions to someone else than none and done.

@yaakovschectman
Copy link
Contributor

From triage: @bleroux Is this ready to merge?

@bleroux
Copy link
Contributor Author

bleroux commented Jul 18, 2024

From triage: @bleroux Is this ready to merge?

Yes, it is. I was out of the office this week. Let me add the auto submit label.

@bleroux bleroux added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 18, 2024
@auto-submit auto-submit bot merged commit 766f7be into flutter:main Jul 18, 2024
@bleroux bleroux deleted the android_restart_input_on_clear_for_some_input_actions branch July 18, 2024 20:35
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 18, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jul 18, 2024
…151998)

flutter/engine@564ded4...766f7be

2024-07-18 [email protected] [Android] Call restartInput selectively on clear (flutter/engine#53662)
2024-07-18 [email protected] Roll buildroot to 327906297b49980748ea1956019829e7c434a03e (flutter/engine#53994)

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] 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://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
auto-submit bot pushed a commit that referenced this pull request Aug 1, 2024
## Description

This PR reverts two commits #49829 and #53662.

The main change was in #49829. #53662 was a follow-up to mitigate the impact of #49829.

## Related Issue

Fixes flutter/flutter#148530
Fixes flutter/flutter#152620

Reopens flutter/flutter#70546.
Reopens flutter/flutter#51478
TytaniumDev pushed a commit to TytaniumDev/flutter that referenced this pull request Aug 7, 2024
…lutter#151998)

flutter/engine@564ded4...766f7be

2024-07-18 [email protected] [Android] Call restartInput selectively on clear (flutter/engine#53662)
2024-07-18 [email protected] Roll buildroot to 327906297b49980748ea1956019829e7c434a03e (flutter/engine#53994)

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] 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://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
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
…lutter#151998)

flutter/engine@564ded4...766f7be

2024-07-18 [email protected] [Android] Call restartInput selectively on clear (flutter/engine#53662)
2024-07-18 [email protected] Roll buildroot to 327906297b49980748ea1956019829e7c434a03e (flutter/engine#53994)

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] 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://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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App platform-android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keyboard disappears in landscape orientation (phone) on the next TextField focus (Broken since Flutter v3.22.0)

4 participants