-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
This issue started appearing after upgrading to Flutter 2.2. I could only reproduce this issue on Android devices that use MicrosoftSwiftKey(only Flutter 2.2). IOS works fine. Android devices that use GBoard work fine as well.
Steps to Reproduce
- https://github.com/omchiii/swiftkey-crash clone repo.
- Switch to MicrosoftSwiftKey keyboard.
- Add a TextFormField widget inside a form with "FilteringTextInputFormatter.digitsOnly".
- Start quickly typing letters, then digits.
Expected results:
I wanted to be able to type again.
Actual results:
Form field is not responding to the input, even If a digit is typed.
Logs
Analyzing asdddd...
No issues found! (ran in 8.8s)
[ +1 ms] An Observatory debugger and profiler on sdk gphone x86 arm is available at:
http://127.0.0.1:59743/OEx14KC1Qng=/
[ +80 ms] Activating Dart DevTools...
[+7415 ms] E/SpannableStringBuilder(11195): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero
length
[ ] E/SpannableStringBuilder(11195): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero
length
[ ] W/ListenableEditingState(11195): a listener was added to EditingState while a batch
edit was in progress
[ +7 ms] W/IInputConnectionWrapper(11195): endBatchEdit on inactive InputConnection
[ +310 ms] W/IInputConnectionWrapper(11195): getExtractedText on inactive InputConnection
[ ] W/IInputConnectionWrapper(11195): getTextBeforeCursor on inactive InputConnection
[+1005 ms] E/SpannableStringBuilder(11195): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero
length
[ +271 ms] I/chatty (11195): uid=10159(com.example.asdddd) identical 2 lines
[ +37 ms] E/SpannableStringBuilder(11195): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero
length
[ +100 ms] Activating Dart DevTools... (completed in 9.1s)
[ +959 ms] The Flutter DevTools debugger and profiler on sdk gphone x86 arm is available at:
http://127.0.0.1:9101?uri=http%3A%2F%2F127.0.0.1%3A59743%2FOEx14KC1Qng%3D%2F
[✓] Flutter (Channel stable, 2.2.0, on macOS 11.2.3 20D91 darwin-x64, locale en-BA)
• Flutter version 2.2.0 at /Users/omerbayram/Documents/development/flutter
• Framework revision b227420 (8 days ago), 2021-05-14 19:12:57 -0700
• Engine revision a9d88a4d18
• Dart version 2.13.0
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/omerbayram/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.4, Build version 12D4e
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• 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 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.56.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.22.0
[✓] Connected device (2 available)
• sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 11 (API 30)
(emulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.212
• No issues found!