Skip to content

Holding backspace in textfield stops sporadically on Samsung devices #73433

Description

@wardy484

Steps to Reproduce

  1. Run flutter create bug.
  2. Update main.dart as follows : .
code sample
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  TextEditingController _controller;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: TextField(
        controller: _controller,
      ),
    );
  }
}
  1. Run app on a Samsung S8 or Samsung A8 - potentially oher devices or just the samsung keyboard.
  2. Type the phrase "fire crystal", hold the backspace key. (seems to happen with any text that has multiple words though)

Expected results:
Text should continue get deleted until the field is empty or the users lets go out the backspace key.

Actual results:
Sometimes it will only delete a single character, other times it has deleted back as far as "fir" in the case of the phrase "fire crystal".

Logs
Microsoft Windows [Version 10.0.19041.685]
(c) 2020 Microsoft Corporation. All rights reserved.

C:\Users\wardy\bug>flutter run --verbose 
[  +84 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +82 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +3 ms] 63062a64432cce03315d6b5196fda7912866eb37
[   +1 ms] executing: [C:\flutter/] git tag --points-at 63062a64432cce03315d6b5196fda7912866eb37
[  +67 ms] Exit code 0 from: git tag --points-at 63062a64432cce03315d6b5196fda7912866eb37
[        ] 1.26.0-1.0.pre
[  +45 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +56 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/dev
[        ] executing: [C:\flutter/] git ls-remote --get-url origin
[  +42 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +84 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[  +49 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] dev
[  +67 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +63 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[  +21 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +67 ms] executing: C:\Users\wardy\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +48 ms] List of devices attached
           192.168.10.64:5555     device product:dreamltexx model:SM_G950F device:dreamlte transport_id:1
[   +9 ms] C:\Users\wardy\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.10.64:5555 shell getprop
[ +137 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[  +13 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[  +30 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[  +35 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[  +24 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +101 ms] Skipping pub get: version match.
[  +89 ms] Found plugin integration_test at C:\flutter\packages\integration_test\
[ +149 ms] Found plugin integration_test at C:\flutter\packages\integration_test\
[  +19 ms] Generating C:\Users\wardy\bug\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +86 ms] ro.hardware = samsungexynos8895
[  +47 ms] Initializing file store
[  +11 ms] Skipping target: gen_localizations
[  +12 ms] complete
[   +6 ms] Launching lib\main.dart on SM G950F in debug mode...
[  +19 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata --output-dill
C:\Users\wardy\AppData\Local\Temp\flutter_tools.ee28c7f6\flutter_tool.a4a84d63\app.dill --packages C:\Users\wardy\bug\.dart_tool\package_config.json -Ddart.vm.profile=false
-Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\cache.dill.track.dill
[  +31 ms] executing: C:\Users\wardy\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree C:\Users\wardy\bug\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +24 ms] Exit code 0 from: C:\Users\wardy\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree C:\Users\wardy\bug\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[   +8 ms] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.bug" (Raw: "com.example.bug")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="bug" (Raw: "bug")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.bug.MainActivity" (Raw: "com.example.bug.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[  +27 ms] executing: C:\Users\wardy\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.10.64:5555 shell -x logcat -v time -t 1
[  +22 ms] <- compile package:bug/main.dart
[ +240 ms] --------- beginning of main
                    01-06 21:48:06.741 I/libsuspend( 3763): !@suspend_thread_func: write mem to /sys/power/state -
[  +15 ms] executing: C:\Users\wardy\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +30 ms] Android Debug Bridge version 1.0.41
           Version 30.0.4-6686687
           Installed as C:\Users\wardy\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +8 ms] executing: C:\Users\wardy\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +33 ms] Building APK
[  +29 ms] Running Gradle task 'assembleDebug'...
[   +6 ms] Using gradle from C:\Users\wardy\bug\android\gradlew.bat.
[  +14 ms] C:\Users\wardy\bug\android\gradlew.bat mode: 33279 rwxrwxrwx.
[  +29 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +109 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
           OpenJDK 64-Bit Server VM (build 25.242-b01, mixed mode)
[   +2 ms] executing: [C:\Users\wardy\bug\android/] C:\Users\wardy\bug\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=C:\Users\wardy\bug\lib\main.dart
-Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +766 ms] Welcome to Gradle 6.7!
[   +1 ms] Here are the highlights of this release:
[   +1 ms]  - File system watching is ready for production use
[  +21 ms]  - Declare the version of Java your build requires
[   +8 ms]  - Java 15 support
[  +31 ms] For more details see https://docs.gradle.org/6.7/release-notes.html
[+2723 ms] > Task :app:compileFlutterBuildDebug
[   +1 ms] [  +87 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +22 ms] [ +108 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [   +1 ms] 63062a64432cce03315d6b5196fda7912866eb37
[        ] [        ] executing: [C:\flutter/] git tag --points-at 63062a64432cce03315d6b5196fda7912866eb37
[        ] [  +72 ms] Exit code 0 from: git tag --points-at 63062a64432cce03315d6b5196fda7912866eb37
[        ] [        ] 1.26.0-1.0.pre
[        ] [  +49 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +43 ms] [  +49 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[  +33 ms] [        ] origin/dev
[  +20 ms] [        ] executing: [C:\flutter/] git ls-remote --get-url origin
[   +1 ms] [  +51 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +88 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +47 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[  +54 ms] [        ] dev
[  +48 ms] [  +52 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[  +24 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] [   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[  +27 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +3 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +20 ms] [  +79 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[  +21 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[  +22 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[  +19 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +75 ms] Initializing file store
[  +42 ms] [  +15 ms] Skipping target: gen_localizations
[  +22 ms] [   +8 ms] kernel_snapshot: Starting due to {}
[   +2 ms] [  +14 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts     
--track-widget-creation --no-link-platform --packages C:\Users\wardy\bug\.dart_tool\package_config.json --output-dill
C:\Users\wardy\bug\.dart_tool\flutter_build\09c561b87d5f40b9a62fa5d07e75a2e6\app.dill --depfile
C:\Users\wardy\bug\.dart_tool\flutter_build\09c561b87d5f40b9a62fa5d07e75a2e6\kernel_snapshot.d package:bug/main.dart
[+8329 ms] [+8993 ms] kernel_snapshot: Complete
[ +498 ms] [ +472 ms] debug_android_application: Starting due to {}
[ +201 ms] [ +228 ms] debug_android_application: Complete
[ +497 ms] [ +505 ms] Persisting file store
[ +108 ms] [  +16 ms] Done persisting file store
[   +1 ms] [  +13 ms] build succeeded.
[        ] [  +22 ms] "flutter assemble" took 10,469ms.
[        ] [   +4 ms] ensureAnalyticsSent: 0ms
[  +17 ms] [   +1 ms] Running shutdown hooks
[   +1 ms] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +181 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[   +1 ms] > Task :app:preBuild UP-TO-DATE
[   +1 ms] > Task :app:preDebugBuild UP-TO-DATE
[  +24 ms] > Task :integration_test:preBuild UP-TO-DATE
[   +2 ms] > Task :integration_test:preDebugBuild UP-TO-DATE
[  +20 ms] > Task :integration_test:compileDebugAidl NO-SOURCE
[   +1 ms] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :integration_test:packageDebugRenderscript NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[  +29 ms] > Task :integration_test:writeDebugAarMetadata UP-TO-DATE
[   +1 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[  +14 ms] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[   +1 ms] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :integration_test:mergeDebugShaders UP-TO-DATE
[        ] > Task :integration_test:compileDebugShaders NO-SOURCE
[        ] > Task :integration_test:generateDebugAssets UP-TO-DATE
[  +12 ms] > Task :integration_test:packageDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +272 ms] > Task :app:copyFlutterAssetsDebug
[   +1 ms] > Task :app:generateDebugResValues UP-TO-DATE
[   +1 ms] > Task :app:generateDebugResources UP-TO-DATE
[  +29 ms] > Task :integration_test:compileDebugRenderscript NO-SOURCE
[   +1 ms] > Task :integration_test:generateDebugResValues UP-TO-DATE
[        ] > Task :integration_test:generateDebugResources UP-TO-DATE
[   +1 ms] > Task :integration_test:packageDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[  +28 ms] > Task :integration_test:extractDeepLinksDebug UP-TO-DATE
[   +2 ms] > Task :integration_test:processDebugManifest UP-TO-DATE
[   +2 ms] > Task :app:processDebugMainManifest UP-TO-DATE
[  +21 ms] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[        ] > Task :integration_test:compileDebugLibraryResources UP-TO-DATE
[        ] > Task :integration_test:parseDebugLocalResources UP-TO-DATE
[  +25 ms] > Task :integration_test:generateDebugRFile UP-TO-DATE
[  +63 ms] > Task :app:processDebugResources UP-TO-DATE
[   +1 ms] > Task :integration_test:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :integration_test:javaPreCompileDebug UP-TO-DATE
[        ] > Task :integration_test:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :integration_test:bundleLibCompileToJarDebug UP-TO-DATE
[  +28 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[   +1 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[   +1 ms] > Task :app:compileDebugSources UP-TO-DATE
[   +9 ms] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[  +42 ms] > Task :app:processDebugJavaRes NO-SOURCE
[  +13 ms] > Task :integration_test:processDebugJavaRes NO-SOURCE
[        ] > Task :integration_test:bundleLibResDebug NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :integration_test:bundleLibRuntimeToJarDebug UP-TO-DATE
[ +321 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[   +3 ms] > Task :app:dexBuilderDebug UP-TO-DATE
[   +2 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[  +96 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[   +1 ms] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[   +1 ms] > Task :integration_test:mergeDebugJniLibFolders UP-TO-DATE
[  +15 ms] > Task :integration_test:mergeDebugNativeLibs NO-SOURCE
[        ] > Task :integration_test:stripDebugDebugSymbols NO-SOURCE
[   +1 ms] > Task :integration_test:copyDebugJniLibsProjectOnly UP-TO-DATE
[  +14 ms] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :integration_test:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[  +15 ms] > Task :integration_test:extractDebugAnnotations UP-TO-DATE
[        ] > Task :integration_test:mergeDebugGeneratedProguardFiles UP-TO-DATE
[   +1 ms] > Task :integration_test:mergeDebugConsumerProguardFiles UP-TO-DATE
[  +15 ms] > Task :integration_test:prepareLintJarForPublish UP-TO-DATE
[  +30 ms] > Task :integration_test:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :integration_test:syncDebugLibJars UP-TO-DATE
[   +1 ms] > Task :integration_test:bundleDebugAar UP-TO-DATE
[        ] > Task :integration_test:compileDebugSources UP-TO-DATE
[  +27 ms] > Task :integration_test:assembleDebug UP-TO-DATE
[ +365 ms] > Task :app:compressDebugAssets
[ +698 ms] > Task :app:packageDebug
[ +193 ms] > Task :app:assembleDebug
[   +1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[  +13 ms] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[   +1 ms] BUILD SUCCESSFUL in 16s
[        ] 57 actionable tasks: 7 executed, 50 up-to-date
[ +519 ms] Running Gradle task 'assembleDebug'... (completed in 17.0s)
[  +61 ms] calculateSha: LocalDirectory: 'C:\Users\wardy\bug\build\app\outputs\flutter-apk'/app.apk
[  +31 ms] calculateSha: reading file took 29us
[ +681 ms] calculateSha: computing sha took 680us
[   +9 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[  +10 ms] executing: C:\Users\wardy\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree C:\Users\wardy\bug\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +23 ms] Exit code 0 from: C:\Users\wardy\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree C:\Users\wardy\bug\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.bug" (Raw: "com.example.bug")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="bug" (Raw: "bug")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.bug.MainActivity" (Raw: "com.example.bug.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[  +51 ms] Stopping app 'app.apk' on SM G950F.
[   +2 ms] executing: C:\Users\wardy\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.10.64:5555 shell am force-stop com.example.bug
[ +257 ms] executing: C:\Users\wardy\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.10.64:5555 shell pm list packages com.example.bug
[+1065 ms] package:com.example.bug
[   +3 ms] executing: C:\Users\wardy\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.10.64:5555 shell cat /data/local/tmp/sky.com.example.bug.sha1
[  +91 ms] 032a7d054a30084fef904b382b1648e44cf45df9
[   +1 ms] Installing APK.
[   +2 ms] Installing build\app\outputs\flutter-apk\app.apk...
[  +12 ms] executing: C:\Users\wardy\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.10.64:5555 install -t -r C:\Users\wardy\bug\build\app\outputs\flutter-apk\app.apk
[+22655 ms] Performing Streamed Install
                     Success
[   +1 ms] Installing build\app\outputs\flutter-apk\app.apk... (completed in 22.7s)
[   +1 ms] executing: C:\Users\wardy\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.10.64:5555 shell echo -n 6ff0f206a6b0e1038545556038a3bbca159ee71c >
/data/local/tmp/sky.com.example.bug.sha1
[ +202 ms] executing: C:\Users\wardy\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.10.64:5555 shell -x logcat -v time -t 1
[ +287 ms] --------- beginning of main
                    01-06 21:48:49.200 D/RegisteredComponentCache( 4560): Collect Tech packages for Knox
[   +7 ms] executing: C:\Users\wardy\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.10.64:5555 shell am start -a android.intent.action.RUN -f 0x20000000 --ez
enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.example.bug/com.example.bug.MainActivity
[ +344 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.bug/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[+1390 ms] Observatory URL on device: http://127.0.0.1:40676/RxTa00LHCrI=/
[   +1 ms] executing: C:\Users\wardy\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.10.64:5555 forward tcp:0 tcp:40676
[  +24 ms] 57014
[  +13 ms] Forwarded host port 57014 to device port 40676 for Observatory
[   +7 ms] Caching compiled dill
[  +50 ms] Connecting to service protocol: http://127.0.0.1:57014/RxTa00LHCrI=/
[  +15 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:57014/RxTa00LHCrI=/.
[ +982 ms] DDS is listening at http://127.0.0.1:57018/sUTE60bP74c=/.
[  +69 ms] Successfully connected to service protocol: http://127.0.0.1:57014/RxTa00LHCrI=/
[  +32 ms] DevFS: Creating new filesystem on the device (null)
[  +58 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.bug/code_cache/bugOLVGFR/bug/)
[   +2 ms] Updating assets
[ +123 ms] Syncing files to device SM G950F...
[   +2 ms] <- reset
[  +12 ms] Compiling dart to kernel with 0 updated files
[   +3 ms] <- recompile package:bug/main.dart 0353cf52-42b6-4ce3-98f2-a4c107a3494f
[  +14 ms] <- 0353cf52-42b6-4ce3-98f2-a4c107a3494f
[  +80 ms] Updating files.
[        ] DevFS: Sync finished
[   +1 ms] Syncing files to device SM G950F... (completed in 114ms)
[  +14 ms] Synced 0.0MB.
[   +1 ms] <- accept
[ +128 ms] Connected to _flutterView/0x77caf0a020.
[   +2 ms] Flutter run key commands.
[  +12 ms] r Hot reload. 
[   +1 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[  +14 ms] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on SM G950F is available at: http://127.0.0.1:57018/sUTE60bP74c=/
[        ] Running with unsound null safety
[  +12 ms] For more information see https://dart.dev/null-safety/unsound-null-safety
[+1298 ms] W/System.err( 7425): java.lang.SecurityException: Permission Denial: getCurrentUser() from pid=7425, uid=10230 requires android.permission.INTERACT_ACROSS_USERS
[   +1 ms] W/System.err( 7425):         at android.os.Parcel.readException(Parcel.java:1967)
[        ] W/System.err( 7425):         at android.os.Parcel.readException(Parcel.java:1913)
[        ] W/System.err( 7425):         at android.sec.clipboard.IClipboardService$Stub$Proxy.getCount(IClipboardService.java:458)
[  +13 ms] W/System.err( 7425):         at android.content.ClipboardManager.hasPrimaryClip(ClipboardManager.java:227)
[        ] W/System.err( 7425):         at io.flutter.plugin.platform.PlatformPlugin.getClipboardData(PlatformPlugin.java:329)
[        ] W/System.err( 7425):         at io.flutter.plugin.platform.PlatformPlugin.access$700(PlatformPlugin.java:28)
[        ] W/System.err( 7425):         at io.flutter.plugin.platform.PlatformPlugin$1.getClipboardData(PlatformPlugin.java:107)
[        ] W/System.err( 7425):         at io.flutter.embedding.engine.systemchannels.PlatformChannel$1.onMethodCall(PlatformChannel.java:141)
[        ] W/System.err( 7425):         at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
[        ] W/System.err( 7425):         at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
[        ] W/System.err( 7425):         at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:738)
[        ] W/System.err( 7425):         at android.os.MessageQueue.nativePollOnce(Native Method)
[        ] W/System.err( 7425):         at android.os.MessageQueue.next(MessageQueue.java:325)
[  +35 ms] W/System.err( 7425):         at android.os.Looper.loop(Looper.java:142)
[        ] W/System.err( 7425):         at android.app.ActivityThread.main(ActivityThread.java:6938)
[        ] W/System.err( 7425):         at java.lang.reflect.Method.invoke(Native Method)
[   +1 ms] W/System.err( 7425):         at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
[        ] W/System.err( 7425):         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
[+27025 ms] V/Surface ( 7425): sf_framedrop debug : 0x4f4c, game : false, logging : 0
[   +1 ms] D/ViewRootImpl@badd4e9[MainActivity]( 7425): Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x7 surface={valid=true 514484948992} changed=true
[        ] I/OpenGLRenderer( 7425): Initialized EGL, version 1.4
[  +18 ms] D/OpenGLRenderer( 7425): Swap behavior 2
[        ] D/libGLESv1( 7425): STS_GLApi : DTS, ODTC are not allowed for Package : com.example.bug
[   +1 ms] D/mali_winsys( 7425): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns       
0x3000,  [1080x1920]-format:1
[        ] D/OpenGLRenderer( 7425): eglCreateWindowSurface = 0x77e1a1e8b0
[        ] D/SurfaceView( 7425): BG show() Surface(name=Background for - SurfaceView - com.example.bug/com.example.bug.MainActivity@380da7a@0)
io.flutter.embedding.android.FlutterSurfaceView{380da7a V.E...... ......ID 0,0-1080,1920}
[  +38 ms] V/Surface ( 7425): sf_framedrop debug : 0x4f4c, game : false, logging : 0
[        ] D/SurfaceView( 7425): surfaceCreated 1 io.flutter.embedding.android.FlutterSurfaceView{380da7a V.E...... ......ID 0,0-1080,1920}
[        ] D/mali_winsys( 7425): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns       
0x3000,  [1080x1920]-format:1
[  +21 ms] D/SurfaceView( 7425): surfaceChanged (1080,1920) 1 io.flutter.embedding.android.FlutterSurfaceView{380da7a V.E...... ......ID 0,0-1080,1920}
[   +1 ms] W/System.err( 7425): java.lang.SecurityException: Permission Denial: getCurrentUser() from pid=7425, uid=10230 requires android.permission.INTERACT_ACROSS_USERS
[        ] W/System.err( 7425):         at android.os.Parcel.readException(Parcel.java:1967)
[        ] W/System.err( 7425):         at android.os.Parcel.readException(Parcel.java:1913)
[        ] W/System.err( 7425):         at android.sec.clipboard.IClipboardService$Stub$Proxy.getCount(IClipboardService.java:458)
[        ] W/System.err( 7425):         at android.content.ClipboardManager.hasPrimaryClip(ClipboardManager.java:227)
[        ] W/System.err( 7425):         at io.flutter.plugin.platform.PlatformPlugin.getClipboardData(PlatformPlugin.java:329)
[        ] W/System.err( 7425):         at io.flutter.plugin.platform.PlatformPlugin.access$700(PlatformPlugin.java:28)
[        ] W/System.err( 7425):         at io.flutter.plugin.platform.PlatformPlugin$1.getClipboardData(PlatformPlugin.java:107)
[        ] W/System.err( 7425):         at io.flutter.embedding.engine.systemchannels.PlatformChannel$1.onMethodCall(PlatformChannel.java:141)
[  +20 ms] W/System.err( 7425):         at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
[        ] W/System.err( 7425):         at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
[        ] W/System.err( 7425):         at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:738)
[        ] W/System.err( 7425):         at android.os.MessageQueue.nativePollOnce(Native Method)
[        ] W/System.err( 7425):         at android.os.MessageQueue.next(MessageQueue.java:325)
[        ] W/System.err( 7425):         at android.os.Looper.loop(Looper.java:142)
[        ] W/System.err( 7425):         at android.app.ActivityThread.main(ActivityThread.java:6938)
[        ] W/System.err( 7425):         at java.lang.reflect.Method.invoke(Native Method)
[  +19 ms] W/System.err( 7425):         at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
[        ] W/System.err( 7425):         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
[        ] D/ViewRootImpl@badd4e9[MainActivity]( 7425): MSG_RESIZED_REPORT: frame=Rect(0, 0 - 1080, 1920) ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1
[        ] D/ViewRootImpl@badd4e9[MainActivity]( 7425): Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x3 surface={valid=true 514484948992} changed=false
[ +211 ms] D/ViewRootImpl@badd4e9[MainActivity]( 7425): MSG_RESIZED: frame=Rect(0, 0 - 1080, 1920) ci=Rect(0, 0 - 0, 831) vi=Rect(0, 0 - 0, 831) or=1
[  +24 ms] D/ViewRootImpl@badd4e9[MainActivity]( 7425): Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x1 surface={valid=true 514484948992} changed=false
[ +124 ms] D/libGLESv2( 7425): STS_GLApi : DTS, ODTC are not allowed for Package : com.example.bug
[  +22 ms] D/ViewRootImpl@badd4e9[MainActivity]( 7425): Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x1 surface={valid=true 514484948992} changed=false
[        ] D/ViewRootImpl@badd4e9[MainActivity]( 7425): MSG_WINDOW_FOCUS_CHANGED 1
[        ] V/InputMethodManager( 7425): Starting input: tba=android.view.inputmethod.EditorInfo@c571688 nm : com.example.bug ic=null
[        ] I/InputMethodManager( 7425): startInputInner - mService.startInputOrWindowGainedFocus
[ +222 ms] V/InputMethodManager( 7425): Starting input: tba=android.view.inputmethod.EditorInfo@9322446 nm : com.example.bug ic=null
[  +10 ms] D/ViewRootImpl@badd4e9[MainActivity]( 7425): MSG_RESIZED: frame=Rect(0, 0 - 1080, 1920) ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1
[  +10 ms] D/ViewRootImpl@badd4e9[MainActivity]( 7425): Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x1 surface={valid=true 514484948992} changed=false
[+1472 ms] D/ViewRootImpl@badd4e9[MainActivity]( 7425): ViewPostIme pointer 0
[  +51 ms] D/ViewRootImpl@badd4e9[MainActivity]( 7425): ViewPostIme pointer 1
[ +356 ms] D/InputMethodManager( 7425): SSI - flag : 0 Pid : 7425 view : com.example.bug
[  +28 ms] V/InputMethodManager( 7425): Starting input: tba=android.view.inputmethod.EditorInfo@c2a0393 nm : com.example.bug ic=io.flutter.plugin.editing.InputConnectionAdaptor@1ac7fd0
[   +1 ms] I/InputMethodManager( 7425): startInputInner - mService.startInputOrWindowGainedFocus
[ +149 ms] I/zygote64( 7425): Do partial code cache collection, code=25KB, data=29KB
[        ] I/zygote64( 7425): After code cache collection, code=25KB, data=29KB
[        ] I/zygote64( 7425): Increasing code cache capacity to 128KB
[  +67 ms] D/ViewRootImpl@badd4e9[MainActivity]( 7425): MSG_RESIZED: frame=Rect(0, 0 - 1080, 1920) ci=Rect(0, 0 - 0, 831) vi=Rect(0, 0 - 0, 831) or=1
[  +22 ms] D/ViewRootImpl@badd4e9[MainActivity]( 7425): Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x1 surface={valid=true 514484948992} changed=false
[+6901 ms] I/zygote64( 7425): Do partial code cache collection, code=61KB, data=55KB
[        ] I/zygote64( 7425): After code cache collection, code=61KB, data=55KB
[        ] I/zygote64( 7425): Increasing code cache capacity to 256KB
[+2564 ms] V/InputMethodManager( 7425): Starting input: tba=android.view.inputmethod.EditorInfo@a183b94 nm : com.example.bug ic=io.flutter.plugin.editing.InputConnectionAdaptor@6f0a63d
[   +4 ms] I/InputMethodManager( 7425): startInputInner - mService.startInputOrWindowGainedFocus
[  +15 ms] W/IInputConnectionWrapper( 7425): getCursorCapsMode on inactive InputConnection
[   +9 ms] D/InputMethodManager( 7425): SSI - flag : 0 Pid : 7425 view : com.example.bug
[  +13 ms] V/InputMethodManager( 7425): Starting input: tba=android.view.inputmethod.EditorInfo@d2af783 nm : com.example.bug ic=io.flutter.plugin.editing.InputConnectionAdaptor@5077d00
[   +1 ms] I/InputMethodManager( 7425): startInputInner - mService.startInputOrWindowGainedFocus
[  +24 ms] W/IInputConnectionWrapper( 7425): getCursorCapsMode on inactive InputConnection
C:\Users\wardy\bug>flutter analyze
Analyzing bug...                                                        
No issues found! (ran in 2.2s)
C:\Users\wardy\bug>flutter doctor -v
[√] Flutter (Channel dev, 1.26.0-1.0.pre, on Microsoft Windows [Version 10.0.19041.685], locale en-GB)
    • Flutter version 1.26.0-1.0.pre at C:\flutter
    • Framework revision 63062a6443 (3 weeks ago), 2020-12-13 23:19:13 +0800
    • Engine revision 4797b06652
    • Dart version 2.12.0 (build 2.12.0-141.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2) 
    • Android SDK at C:\Users\wardy\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java       
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • 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 2019 16.8.1)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.8.30711.63
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.1.0)
    • 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 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.52.1)
    • VS Code at C:\Users\wardy\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.18.0

[√] Connected device (4 available)
    • SM G950F (mobile) • 192.168.10.64:5555 • android-arm64  • Android 8.0.0 (API 26)
    • Windows (desktop) • windows            • windows-x64    • Microsoft Windows [Version 10.0.19041.685]
    • Chrome (web)      • chrome             • web-javascript • Google Chrome 87.0.4280.88
    • Edge (web)        • edge               • web-javascript • Microsoft Edge 87.0.664.66

• No issues found!

Metadata

Metadata

Labels

P2Important issues not at the top of the work lista: text inputEntering text in a text field or keyboard related problemsc: performanceRelates to speed or footprint issues (see "perf:" labels)c: regressionIt was better in the past than it is nowe: device-specificOnly manifests on certain devicesengineflutter/engine related. See also e: labels.f: material designflutter/packages/flutter/material repository.found in release: 1.25Found to occur in 1.25found in release: 1.26Found to occur in 1.26frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specifically

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions