Skip to content

Conversation

@jonahwilliams
Copy link
Contributor

Reverts #34062

On integration_ui:

2019-06-07T16:41:33.267: stderr: [ +14 ms] [trace] FlutterDriver: Waiting for service extension
2019-06-07T16:41:36.003163: stderr: [+2736 ms] [info ] FlutterDriver: Connected to Flutter application.
2019-06-07T16:41:36.009010: stdout: [ +6 ms] 00:03 �[32m+0�[0m: end-to-end test Ensure keyboard dismissal resizes the view to original size�[0m
2019-06-07T16:41:38.839062: stdout: [+2830 ms] 00:06 �[32m+0�[0m�[31m -1�[0m: end-to-end test Ensure keyboard dismissal resizes the view to original size �[1m�[31m[E]�[0m�[0m
2019-06-07T16:41:38.839228: stdout: [ ] Expected: '592.0'
2019-06-07T16:41:38.839351: stdout: [ ] Actual: '343.0'
2019-06-07T16:41:38.839612: stdout: [ ] Which: is different.
stdout: [ ] Expected: 592.0
2019-06-07T16:41:38.839819: stdout: [ ] Actual: 343.0
2019-06-07T16:41:38.840088: stdout: [ ] ^
2019-06-07T16:41:38.840184: stdout: [ ] Differ at offset 0
2019-06-07T16:41:38.860085: stdout: [ +19 ms] package:test_api/src/frontend/expect.dart 152:30 fail
2019-06-07T16:41:38.860424: stdout: [ ] package:test_api/src/frontend/expect.dart 146:3 _expect
stdout: [ ] package:test_api/src/frontend/expect.dart 59:3 expect
2019-06-07T16:41:38.860981: stdout: [ ] test_driver/keyboard_resize_test.dart 51:7 main..
stdout: [ ] ===== asynchronous gap ===========================
stdout: [ ] dart:async/future_impl.dart 22:43 _Completer.completeError
2019-06-07T16:41:38.861512: stdout: [ ] dart:async-patch/async_patch.dart 40:18 _AsyncAwaitCompleter.completeError
stdout: [ ] test_driver/keyboard_resize_test.dart main..
stdout: [ ] ===== asynchronous gap ===========================
2019-06-07T16:41:38.862435: stdout: [ ] dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback
stdout: [ ] dart:async-patch/async_patch.dart 77:23 _asyncThenWrapperHelper
stdout: [ ] test_driver/keyboard_resize_test.dart main..
stdout: [ ] package:test_api/src/backend/declarer.dart 168:27 Declarer.test...
stdout: [ ] ===== asynchronous gap ===========================
stdout: [ ] dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback

Copy link
Contributor

@GaryQian GaryQian left a comment

Choose a reason for hiding this comment

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

LGTM

@jonahwilliams jonahwilliams merged commit 6180a15 into master Jun 8, 2019
@jonahwilliams jonahwilliams deleted the revert-34062-manual_engine_roll_1234567 branch June 8, 2019 00:52
@jason-simmons
Copy link
Member

The integration_ui/keyboard_resize test regression started with flutter/engine@e80df36.

Prior to adding keyboard support for platform views TextInputPlugin.hide would always hide the keyboard. Now the hide only applies if the current client is the framework and not a platform view:
flutter/engine@e80df36#diff-64aff4d8c59b12147ac2b6c3b1560f34R239

However, the framework will call TextInputPlugin.clearClient before TextInputPlugin.hide. So hide thinks there is no client and does nothing.

@amirh @jonahwilliams

@amirh
Copy link
Contributor

amirh commented Jun 8, 2019

LGTM

amirh added a commit to flutter/engine that referenced this pull request Jun 10, 2019
#9203 broke the keyboard_resize integration test(see more details in flutter/flutter#34085 (comment)).

This re-lands @9203 and fixes the issue the integration test uncovered by always allowing to hide the keyboard.

The difference from the original change is 07d2598
huqiuser pushed a commit to huqiuser/engine that referenced this pull request Jun 12, 2019
…lutter#9257)

flutter#9203 broke the keyboard_resize integration test(see more details in flutter/flutter#34085 (comment)).

This re-lands @9203 and fixes the issue the integration test uncovered by always allowing to hide the keyboard.

The difference from the original change is 07d2598
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants