Skip to content

Outdated text received in a TextEditingDeltaNonTextUpdate #113253

@angelosilvestre

Description

@angelosilvestre

Steps to Reproduce

  1. Checkout the demo repo: https://github.com/angelosilvestre/ime_investigation
  2. Run the app on Android
  3. Tap "Attach to IME"
  4. Press the new line button on the software keyboard
  5. Type a
  6. Press Backspace quickly 3 times

Expected results: Flutter should send a TextEditingDeltaNonTextUpdate with the current text (Ab)

Actual results: Flutter sends a TextEditingDeltaNonTextUpdate with the previous text (Abc)

Code sample Available in the demo repo.
Logs
 [ +29 ms] I/ViewRootImpl@f8f1298[MainActivity](26103): MSG_WINDOW_FOCUS_CHANGED 1 1
[   +2 ms] D/InputMethodManager(26103): prepareNavigationBarInfo() DecorView@a6127ac[MainActivity]
[   +1 ms] D/InputMethodManager(26103): getNavigationBarColor() -16711423
[   +1 ms] D/InputMethodManager(26103): prepareNavigationBarInfo() DecorView@a6127ac[MainActivity]
[   +1 ms] D/InputMethodManager(26103): getNavigationBarColor() -16711423
[   +1 ms] V/InputMethodManager(26103): Starting input: tba=com.example.ime_investigation ic=null mNaviBarColor -16711423 mIsGetNaviBarColorSuccess true
, NavVisible : true , NavTrans : false
[   +1 ms] D/InputMethodManager(26103): startInputInner - Id : 0
[   +1 ms] I/InputMethodManager(26103): startInputInner - mService.startInputOrWindowGainedFocus
[   +2 ms] D/InputTransport(26103): Input channel constructed: 'ClientS', fd=103
[   +1 ms] D/InputMethodManager(26103): prepareNavigationBarInfo() DecorView@a6127ac[MainActivity]
[   +1 ms] D/InputMethodManager(26103): getNavigationBarColor() -16711423
[   +1 ms] V/InputMethodManager(26103): Starting input: tba=com.example.ime_investigation ic=null mNaviBarColor -16711423 mIsGetNaviBarColorSuccess true
, NavVisible : true , NavTrans : false
[   +1 ms] D/InputMethodManager(26103): startInputInner - Id : 0
[  +12 ms] D/SurfaceControl(26103): hide : mNativeObject = -5476376660464378576 - sc.mNativeObject = -5476376660464363792 -
Surface(name=Surface(name=ead764e InputMethod)/@0xea01505 - animation-leash)/@0x45d1f6a
[   +1 ms] D/SurfaceControl(26103): nativeSetFlags Done : Surface(name=Surface(name=ead764e InputMethod)/@0xea01505 - animation-leash)/@0x45d1f6a       
[   +2 ms] I/SurfaceControl(26103): release : mNativeObject = -5476376660464547360 - Surface(name=Surface(name=ce9abd2 NavigationBar0)/@0x6b7d0d -
animation-leash)/@0x134dc5b / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170
android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833 
[   +2 ms] I/SurfaceControl(26103): nativeRelease nativeObject s[-5476376660464547360]
[   +1 ms] I/SurfaceControl(26103): nativeRelease nativeObject e[-5476376660464547360]
[        ] I/SurfaceControl(26103): release : mNativeObject = -5476376660464550528 - Surface(name=Surface(name=fa14a8e StatusBar)/@0x2a6b35b -
animation-leash)/@0x807bcf8 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170
android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833 
[   +1 ms] I/SurfaceControl(26103): nativeRelease nativeObject s[-5476376660464550528]
[        ] I/SurfaceControl(26103): nativeRelease nativeObject e[-5476376660464550528]
[+10909 ms] I/ViewRootImpl@f8f1298[MainActivity](26103): ViewPostIme pointer 0
[  +69 ms] I/ViewRootImpl@f8f1298[MainActivity](26103): ViewPostIme pointer 1
[  +71 ms] I/flutter (26103): sending to the OS: TextEditingValue(text: ┤Abc├, selection: TextSelection.collapsed(offset: 3, affinity:
TextAffinity.downstream, isDirectional: false), composing: TextRange(start: -1, end: -1))
[   +4 ms] D/InputMethodManager(26103): SSI - flag : 0 Pid : 26103 view : com.example.ime_investigation
[   +1 ms] D/InputMethodManager(26103): view is not EditText
[   +2 ms] D/InputMethodManager(26103): prepareNavigationBarInfo() DecorView@a6127ac[MainActivity]
[   +2 ms] D/InputMethodManager(26103): getNavigationBarColor() -16711423
[   +1 ms] V/InputMethodManager(26103): Starting input: tba=com.example.ime_investigation ic=io.flutter.plugin.editing.InputConnectionAdaptor@dd13310   
mNaviBarColor -16711423 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
[   +2 ms] D/InputMethodManager(26103): startInputInner - Id : 0
[   +1 ms] I/InputMethodManager(26103): startInputInner - mService.startInputOrWindowGainedFocus
[   +1 ms] D/InputTransport(26103): Input channel constructed: 'ClientS', fd=106
[   +2 ms] D/InputTransport(26103): Input channel destroyed: 'ClientS', fd=103
[   +1 ms] D/InputMethodManager(26103): prepareNavigationBarInfo() DecorView@a6127ac[MainActivity]
[   +2 ms] D/InputMethodManager(26103): getNavigationBarColor() -16711423
[   +4 ms] D/InputMethodManager(26103): prepareNavigationBarInfo() DecorView@a6127ac[MainActivity]
[   +2 ms] D/InputMethodManager(26103): getNavigationBarColor() -16711423
[   +1 ms] V/InputMethodManager(26103): Starting input: tba=com.example.ime_investigation ic=io.flutter.plugin.editing.InputConnectionAdaptor@2983541   
mNaviBarColor -16711423 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
[   +3 ms] D/InputMethodManager(26103): startInputInner - Id : 0
[   +2 ms] I/InputMethodManager(26103): startInputInner - mService.startInputOrWindowGainedFocus
[   +3 ms] D/InputTransport(26103): Input channel constructed: 'ClientS', fd=103
[   +1 ms] D/InputTransport(26103): Input channel destroyed: 'ClientS', fd=106
[   +1 ms] W/IInputConnectionWrapper(26103): getTextBeforeCursor on inactive InputConnection
[   +2 ms] W/IInputConnectionWrapper(26103): getTextAfterCursor on inactive InputConnection
[   +2 ms] W/IInputConnectionWrapper(26103): getSelectedText on inactive InputConnection
[ +231 ms] W/IInputConnectionWrapper(26103): getTextBeforeCursor on inactive InputConnection
[   +1 ms] D/InsetsSourceConsumer(26103): setRequestedVisible: visible=true, type=13,
host=com.example.ime_investigation/com.example.ime_investigation.MainActivity, from=android.view.InsetsSourceConsumer.show:229
android.view.InsetsController.showDirectly:1437 android.view.InsetsController.controlAnimationUnchecked:1110
android.view.InsetsController.applyAnimation:1417 android.view.InsetsController.show:962 android.view.ViewRootImpl$ViewRootHandler.handleMessage:6098   
android.os.Handler.dispatchMessage:106 android.os.Looper.loop:246 android.app.ActivityThread.main:8506 java.lang.reflect.Method.invoke:-2 
[   +3 ms] W/IInputConnectionWrapper(26103): getTextAfterCursor on inactive InputConnection
[  +15 ms] D/SurfaceControl(26103): hide : mNativeObject = -5476376660464436480 - sc.mNativeObject = -5476376660464370304 -
Surface(name=Surface(name=ead764e InputMethod)/@0xea01505 - animation-leash)/@0x9750827
[   +1 ms] D/SurfaceControl(26103): nativeSetFlags Done : Surface(name=Surface(name=ead764e InputMethod)/@0xea01505 - animation-leash)/@0x9750827       
[   +2 ms] W/IInputConnectionWrapper(26103): getSelectedText on inactive InputConnection
[   +1 ms] I/ViewRootImpl@f8f1298[MainActivity](26103): MSG_RESIZED_REPORT: frame=(0,0,1080,2400) ci=(0,91,0,909) vi=(0,91,0,909) or=1
[  +16 ms] I/SurfaceControl(26103): release : mNativeObject = -5476376660464390368 -
Surface(name=com.example.ime_investigation/com.example.ime_investigation.MainActivity$_26103)/@0x271e47d /
android.view.SurfaceControl.assignNativeObject:567 android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1777 
android.view.ViewRootImpl.relayoutWindow:8953 
[   +6 ms] I/SurfaceControl(26103): nativeRelease nativeObject s[-5476376660464390368]
[   +1 ms] I/SurfaceControl(26103): nativeRelease nativeObject e[-5476376660464390368]
[   +1 ms] I/SurfaceControl(26103): assignNativeObject: nativeObject = 0 Surface(name=null)/@0x134cb3f / android.view.SurfaceControl.readFromParcel:1115
android.view.IWindowSession$Stub$Proxy.relayout:1787 android.view.ViewRootImpl.relayoutWindow:8953 android.view.ViewRootImpl.performTraversals:3312     
android.view.ViewRootImpl.doTraversal:2575 android.view.ViewRootImpl$TraversalRunnable.run:9910 android.view.Choreographer$CallbackRecord.run:1010      
android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
[   +2 ms] I/SurfaceControl(26103): release : mNativeObject = -5476376660464363792 - Surface(name=Surface(name=ead764e InputMethod)/@0xea01505 -        
animation-leash)/@0x45d1f6a / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170
android.view.InsetsSourceConsumer.setControl:202 android.view.ImeInsetsSourceConsumer.setControl:154 
[   +2 ms] I/SurfaceControl(26103): nativeRelease nativeObject s[-5476376660464363792]
[   +1 ms] I/SurfaceControl(26103): nativeRelease nativeObject e[-5476376660464363792]
[   +1 ms] I/SurfaceControl(26103): release : mNativeObject = -5476376660464360448 - Surface(name=Surface(name=ce9abd2 NavigationBar0)/@0x6b7d0d -      
animation-leash)/@0x3ca8f72 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170
android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833 
[   +1 ms] I/SurfaceControl(26103): nativeRelease nativeObject s[-5476376660464360448]
[   +1 ms] I/SurfaceControl(26103): nativeRelease nativeObject e[-5476376660464360448]
[        ] I/SurfaceControl(26103): release : mNativeObject = -5476376660464364496 - Surface(name=Surface(name=fa14a8e StatusBar)/@0x2a6b35b -
animation-leash)/@0x91fffc3 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170
android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833 
[   +1 ms] I/SurfaceControl(26103): nativeRelease nativeObject s[-5476376660464364496]
[        ] I/SurfaceControl(26103): nativeRelease nativeObject e[-5476376660464364496]
[   +1 ms] I/ViewRootImpl@f8f1298[MainActivity](26103): Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)0 dur=11 res=0x1      
s={true -5476376656169646000} ch=false fn=4
[   +1 ms] D/SurfaceControl(26103): hide : mNativeObject = -5476376660464552640 - sc.mNativeObject = -5476376660464370304 -
Surface(name=Surface(name=ead764e InputMethod)/@0xea01505 - animation-leash)/@0x9750827
[   +1 ms] D/SurfaceControl(26103): nativeSetFlags Done : Surface(name=Surface(name=ead764e InputMethod)/@0xea01505 - animation-leash)/@0x9750827       
[   +1 ms] W/IInputConnectionWrapper(26103): getTextBeforeCursor on inactive InputConnection
[  +70 ms] I/flutter (26103): IME: received delta Instance of 'TextEditingDeltaNonTextUpdate'
[   +1 ms] I/flutter (26103): IME: Non-text change:
[   +1 ms] I/flutter (26103): IME: OS-side text      - Abc
[        ] I/flutter (26103): IME: OS-side selection - TextSelection.collapsed(offset: 3, affinity: TextAffinity.downstream, isDirectional: false)      
[        ] I/flutter (26103): IME: OS-side composing - TextRange(start: -1, end: -1)
[        ] I/flutter (26103): IME: received delta Instance of 'TextEditingDeltaNonTextUpdate'
[        ] I/flutter (26103): IME: Non-text change:
[        ] I/flutter (26103): IME: OS-side text      - Abc
[        ] I/flutter (26103): IME: OS-side selection - TextSelection.collapsed(offset: 3, affinity: TextAffinity.downstream, isDirectional: false)      
[        ] I/flutter (26103): IME: OS-side composing - TextRange(start: -1, end: -1)
[        ] I/flutter (26103): IME: received delta Instance of 'TextEditingDeltaNonTextUpdate'
[        ] I/flutter (26103): IME: Non-text change:
[        ] I/flutter (26103): IME: OS-side text      - Abc
[        ] I/flutter (26103): IME: OS-side selection - TextSelection.collapsed(offset: 3, affinity: TextAffinity.downstream, isDirectional: false)      
[        ] I/flutter (26103): IME: OS-side composing - TextRange(start: 0, end: 3)
[   +1 ms] I/flutter (26103): sending to the OS: TextEditingValue(text: ┤Abc├, selection: TextSelection.collapsed(offset: 3, affinity:
TextAffinity.downstream, isDirectional: false), composing: TextRange(start: 0, end: 3))
[ +183 ms] I/SurfaceControl(26103): release : mNativeObject = -5476376660464370304 - Surface(name=Surface(name=ead764e InputMethod)/@0xea01505 -
animation-leash)/@0x9750827 / android.view.ViewRootInsetsControllerHost.lambda$releaseSurfaceControlFromRt$0:216
android.view.-$$Lambda$ViewRootInsetsControllerHost$3v_KSpxQXUSxSM3D_S6T5-aZKoQ.onFrameDraw:2
android.view.ViewRootImpl.lambda$registerRtFrameCallback$0:1673 android.view.-$$Lambda$ViewRootImpl$IReiNMSbDakZSGbIZuL_ifaFWn8.onFrameDraw:2 
[   +4 ms] I/SurfaceControl(26103): nativeRelease nativeObject s[-5476376660464370304]
[   +2 ms] I/SurfaceControl(26103): nativeRelease nativeObject e[-5476376660464370304]
[+1013 ms] I/flutter (26103): IME: received delta Instance of 'TextEditingDeltaInsertion'
[   +6 ms] I/flutter (26103): User pressed newLine - creating a new paragraph.
[   +2 ms] I/flutter (26103): sending to the OS: TextEditingValue(text: ┤. ├, selection: TextSelection.collapsed(offset: 2, affinity:
TextAffinity.downstream, isDirectional: false), composing: TextRange(start: -1, end: -1))
[ +905 ms] I/flutter (26103): IME: received delta Instance of 'TextEditingDeltaInsertion'
[   +2 ms] I/flutter (26103): User typed in an empty paragraph.
[   +1 ms] I/flutter (26103): sending to the OS: TextEditingValue(text: ┤a├, selection: TextSelection.collapsed(offset: 1, affinity:
TextAffinity.downstream, isDirectional: false), composing: TextRange(start: 0, end: 1))
[ +756 ms] I/flutter (26103): IME: received delta Instance of 'TextEditingDeltaNonTextUpdate'
[   +1 ms] I/flutter (26103): IME: Non-text change:
[   +1 ms] I/flutter (26103): IME: OS-side text      - a
[   +1 ms] I/flutter (26103): IME: OS-side selection - TextSelection.collapsed(offset: 1, affinity: TextAffinity.downstream, isDirectional: false)      
[   +1 ms] I/flutter (26103): IME: OS-side composing - TextRange(start: -1, end: -1)
[   +1 ms] I/flutter (26103): IME: received delta Instance of 'TextEditingDeltaNonTextUpdate'
[        ] I/flutter (26103): IME: Non-text change:
[        ] I/flutter (26103): IME: OS-side text      - a
[        ] I/flutter (26103): IME: OS-side selection - TextSelection.collapsed(offset: 1, affinity: TextAffinity.downstream, isDirectional: false)      
[        ] I/flutter (26103): IME: OS-side composing - TextRange(start: 0, end: 1)
[   +1 ms] I/flutter (26103): IME: received delta Instance of 'TextEditingDeltaDeletion'
[        ] I/flutter (26103): sending to the OS: TextEditingValue(text: ┤. ├, selection: TextSelection.collapsed(offset: 2, affinity:
TextAffinity.downstream, isDirectional: false), composing: TextRange(start: -1, end: -1))
[ +178 ms] I/flutter (26103): IME: received delta Instance of 'TextEditingDeltaDeletion'
[   +2 ms] I/flutter (26103): User pressed backspace in an empty paragraph.
[   +2 ms] I/flutter (26103): sending to the OS: TextEditingValue(text: ┤Abc├, selection: TextSelection.collapsed(offset: 3, affinity:
TextAffinity.downstream, isDirectional: false), composing: TextRange(start: -1, end: -1))
[ +187 ms] I/flutter (26103): IME: received delta Instance of 'TextEditingDeltaNonTextUpdate'
[   +2 ms] I/flutter (26103): IME: Non-text change:
[   +2 ms] I/flutter (26103): IME: OS-side text      - Abc
[   +2 ms] I/flutter (26103): IME: OS-side selection - TextSelection.collapsed(offset: 3, affinity: TextAffinity.downstream, isDirectional: false)      
[   +1 ms] I/flutter (26103): IME: OS-side composing - TextRange(start: -1, end: -1)
[   +2 ms] I/flutter (26103): IME: received delta Instance of 'TextEditingDeltaNonTextUpdate'
[   +1 ms] I/flutter (26103): IME: Non-text change:
[   +1 ms] I/flutter (26103): IME: OS-side text      - Abc
[   +1 ms] I/flutter (26103): IME: OS-side selection - TextSelection.collapsed(offset: 3, affinity: TextAffinity.downstream, isDirectional: false)      
[   +1 ms] I/flutter (26103): IME: OS-side composing - TextRange(start: 0, end: 3)
[   +1 ms] I/flutter (26103): sending to the OS: TextEditingValue(text: ┤Abc├, selection: TextSelection.collapsed(offset: 3, affinity:
TextAffinity.downstream, isDirectional: false), composing: TextRange(start: 0, end: 3))
[   +2 ms] I/flutter (26103): IME: received delta Instance of 'TextEditingDeltaDeletion'
[   +1 ms] I/flutter (26103): sending to the OS: TextEditingValue(text: ┤Ab├, selection: TextSelection.collapsed(offset: 2, affinity:
TextAffinity.downstream, isDirectional: false), composing: TextRange(start: 0, end: 2))
[   +2 ms] I/TextInputPlugin(26103): Composing region changed by the framework. Restarting the input method.
[   +1 ms] D/InputMethodManager(26103): prepareNavigationBarInfo() DecorView@a6127ac[MainActivity]
[   +1 ms] D/InputMethodManager(26103): getNavigationBarColor() -16711423
[   +1 ms] V/InputMethodManager(26103): Starting input: tba=com.example.ime_investigation ic=io.flutter.plugin.editing.InputConnectionAdaptor@cae30be   
mNaviBarColor -16711423 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
[   +2 ms] D/InputMethodManager(26103): startInputInner - Id : 0
[   +1 ms] I/InputMethodManager(26103): startInputInner - mService.startInputOrWindowGainedFocus
[   +3 ms] D/InputTransport(26103): Input channel constructed: 'ClientS', fd=98
[   +1 ms] D/InputTransport(26103): Input channel destroyed: 'ClientS', fd=103
[   +1 ms] W/IInputConnectionWrapper(26103): getTextBeforeCursor on inactive InputConnection
[   +1 ms] W/IInputConnectionWrapper(26103): getTextAfterCursor on inactive InputConnection
[   +1 ms] W/IInputConnectionWrapper(26103): getSelectedText on inactive InputConnection
[   +1 ms] W/IInputConnectionWrapper(26103): getTextBeforeCursor on inactive InputConnection
[   +1 ms] I/flutter (26103): IME: received delta Instance of 'TextEditingDeltaNonTextUpdate'
[   +1 ms] I/flutter (26103): Out of sync with IME
[   +1 ms] I/flutter (26103): OS text - Abc
[   +1 ms] I/flutter (26103): OS selection - TextSelection.collapsed(offset: 3, affinity: TextAffinity.downstream, isDirectional: false)
[   +1 ms] I/flutter (26103): OS composing - TextRange(start: 0, end: 3)
[   +1 ms] I/flutter (26103): App text - Ab
[        ] I/flutter (26103): App selection - TextSelection.collapsed(offset: 2, affinity: TextAffinity.downstream, isDirectional: false)
[        ] I/flutter (26103): App composing - TextRange(start: 0, end: 2)
[   +1 ms] I/flutter (26103): IME: Non-text change:
[   +1 ms] I/flutter (26103): IME: OS-side text      - Abc
[   +1 ms] I/flutter (26103): IME: OS-side selection - TextSelection.collapsed(offset: 3, affinity: TextAffinity.downstream, isDirectional: false)      
[   +1 ms] I/flutter (26103): IME: OS-side composing - TextRange(start: 0, end: 3)
[   +2 ms] I/flutter (26103): sending to the OS: TextEditingValue(text: ┤Ab├, selection: TextSelection.collapsed(offset: 2, affinity:
TextAffinity.downstream, isDirectional: false), composing: TextRange(start: 0, end: 3))
[   +2 ms] W/IInputConnectionWrapper(26103): getTextBeforeCursor on inactive InputConnection
[   +2 ms] W/IInputConnectionWrapper(26103): getTextAfterCursor on inactive InputConnection
[   +1 ms] W/IInputConnectionWrapper(26103): getSelectedText on inactive InputConnection
[   +1 ms] E/flutter (26103): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'package:flutter/src/services/text_input.dart':   
Failed assertion: line 970 pos 12: 'range.end >= 0 && range.end <= text.length': Range end 3 is out of text of length 2
[   +1 ms] E/flutter (26103): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61)
[   +1 ms] E/flutter (26103): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
[   +1 ms] E/flutter (26103): #2      TextEditingValue._textRangeIsValid (package:flutter/src/services/text_input.dart:970:12)
[   +2 ms] E/flutter (26103): #3      TextEditingValue.toJSON (package:flutter/src/services/text_input.dart:924:12)
[   +1 ms] E/flutter (26103): #4      TextInput._setEditingState (package:flutter/src/services/text_input.dart:1889:13)
[   +1 ms] E/flutter (26103): #5      TextInputConnection.setEditingState (package:flutter/src/services/text_input.dart:1336:25)
[   +1 ms] E/flutter (26103): #6      _TextInputExampleState._syncWithOS (package:ime_investigation/main.dart:72:23)
[   +1 ms] E/flutter (26103): #7      _TextInputExampleState.updateEditingValueWithDeltas (package:ime_investigation/main.dart:64:5)
[        ] E/flutter (26103): #8      TextInput._handleTextInputInvocation (package:flutter/src/services/text_input.dart:1814:63)
[        ] E/flutter (26103): #9      TextInput._loudlyHandleTextInputInvocation (package:flutter/src/services/text_input.dart:1701:20)
[        ] E/flutter (26103): #10     MethodChannel._handleAsMethodCall (package:flutter/src/services/platform_channel.dart:536:55)
[   +1 ms] E/flutter (26103): #11     MethodChannel.setMethodCallHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:529:34)
[   +1 ms] E/flutter (26103): #12     _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:387:35)  
[   +1 ms] E/flutter (26103): #13     _invoke2 (dart:ui/hooks.dart:186:13)
[   +1 ms] E/flutter (26103): #14     _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42:5)
[        ] E/flutter (26103): #15     _Channel.push (dart:ui/channel_buffers.dart:132:31)
[        ] E/flutter (26103): #16     ChannelBuffers.push (dart:ui/channel_buffers.dart:329:17)
[        ] E/flutter (26103): #17     PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:599:22)
[        ] E/flutter (26103): #18     _dispatchPlatformMessage (dart:ui/hooks.dart:89:31)
[   +1 ms] E/flutter (26103): 
No relevant info on flutter analyze
[✓] Flutter (Channel stable, 3.3.4, on Microsoft Windows [versÆo 10.0.22000.978], locale pt-BR)
    • Flutter version 3.3.4 on channel stable at c:\git\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision eb6d86ee27 (6 days ago), 2022-10-04 22:31:45 -0700
    • Engine revision c08d7d5efc
    • Dart version 2.18.2
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\angelo\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.2.32602.215
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[✓] VS Code (version 1.72.0)
    • VS Code at C:\Users\angelo\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.50.0

[✓] Connected device (4 available)
    • SM M515F (mobile) • 192.168.0.135:5555 • android-arm64  • Android 11 (API 30)
    • Windows (desktop) • windows            • windows-x64    • Microsoft Windows [versÆo 10.0.22000.978]
    • Chrome (web)      • chrome             • web-javascript • Google Chrome 105.0.5195.127
    • Edge (web)        • edge               • web-javascript • Microsoft Edge 106.0.1370.37

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: text inputEntering text in a text field or keyboard related problemsc: crashStack traces logged to the consolefound in release: 3.3Found to occur in 3.3found in release: 3.5Found to occur in 3.5has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyteam-text-inputOwned by Text Input teamtriaged-text-inputTriaged by Text Input team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions