Skip to content

Multiline Textfield List don’t add newline when pressing Enter on Samsung device #95965

@visign3d

Description

@visign3d

I have a problem with multiline Textfield ListView. When i press enter, it dont makes new line, only if typing more characters. How to get newline with pressing enter? The textfield newline by pressing enter works well when widget is alone, not in a listview. Also it works with google's GBoard even in listview.

Steps to Reproduce

  1. I have attached the code below
  2. Runing it on Samsung phone , with default Samsung keyboard

Expected results: the textfield breaks the line when pressing enter

Actual results: when pressing enter , the textfield dont makes new line

Code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Hello World',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  final List<MultiLineTextField> items;
  MyHomePage({Key? key}) : 
        items = List<MultiLineTextField>.generate(200, (i) => 
            MultiLineTextField(hint:'Text1 $i')), 
        super(key: key);
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('title'),
      ),
      body: Column(
        children: [
          const MultiLineTextField(hint: 'text'), 
          Expanded(
            child: ListView.builder(
              itemCount: 100,
              itemBuilder: (context, index) {
                final item = items[index];
                return ListTile(
                  title: item.build(context),
                );
              },
            ),
          ),
        ],
      ),
    );
  }
}

class MultiLineTextField extends StatelessWidget {
  const MultiLineTextField({Key? key,required this.hint}):super(key: key);
  final String hint;
  @override
  Widget build(BuildContext context) {
    return const TextField(
      keyboardType: TextInputType.multiline,
      maxLines: null,
      textInputAction: TextInputAction.newline,
      decoration: InputDecoration(
        hintText: 'text',
        fillColor: Colors.red,
      ),
    );
  }
}
Logs

flutter run --verbose
[ +65 ms] executing: [C:\Flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +436 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +1 ms] 1811693
[ ] executing: [C:\Flutter/] git tag --points-at 1811693
[ +44 ms] Exit code 0 from: git tag --points-at 1811693
[ ] 2.5.3
[ +8 ms] executing: [C:\Flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +35 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ ] executing: [C:\Flutter/] git ls-remote --get-url origin
[ +29 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +96 ms] executing: [C:\Flutter/] git rev-parse --abbrev-ref HEAD
[ +32 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] stable
[ +64 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.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[ ] 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.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +50 ms] executing: C:\Users\vikto\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[ +40 ms] List of devices attached
R5CR8012KLY device product:p3sxeea model:SM_G998B device:p3s transport_id:1
[ +5 ms] C:\Users\vikto\AppData\Local\Android\sdk\platform-tools\adb.exe -s R5CR8012KLY shell getprop
[ +59 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[ ] 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.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +73 ms] Skipping pub get: version match.
[ +95 ms] Generating C:\Users\vikto\Desktop\flutter_app\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +48 ms] ro.hardware = exynos2100
[ ] ro.build.characteristics = phone
[ +30 ms] Initializing file store
[ +9 ms] Skipping target: gen_localizations
[ +6 ms] Skipping target: gen_dart_plugin_registrant
[ +1 ms] Skipping target: _composite
[ +2 ms] complete
[ +6 ms] Launching lib\main.dart on SM G998B in debug mode...
[ +5 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 -DFLUTTER_WEB_AUTO_DETECT=true
--output-dill C:\Users\vikto\AppData\Local\Temp\flutter_tools.b6424904\flutter_tool.efe933c3\app.dill --packages C:\Users\vikto\Desktop\flutter_app.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\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[ +10 ms] executing: C:\Users\vikto\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree C:\Users\vikto\Desktop\flutter_app\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +11 ms] Exit code 0 from: C:\Users\vikto\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree C:\Users\vikto\Desktop\flutter_app\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.flutter_app" (Raw: "com.example.flutter_app")
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)="flutter_app" (Raw: "flutter_app")
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.flutter_app.MainActivity" (Raw: "com.example.flutter_app.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
[ +6 ms] executing: C:\Users\vikto\AppData\Local\Android\sdk\platform-tools\adb.exe -s R5CR8012KLY shell -x logcat -v time -t 1
[ +11 ms] <- compile package:flutter_app/main.dart
[ +420 ms] --------- beginning of main
12-30 14:02:48.942 I/heimdall( 1006): update_proc_tgid:436, put logcat(10365) in root memcg
[ +8 ms] executing: C:\Users\vikto\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ +18 ms] Android Debug Bridge version 1.0.41
Version 31.0.3-7562133
Installed as C:\Users\vikto\AppData\Local\Android\sdk\platform-tools\adb.exe
[ +2 ms] executing: C:\Users\vikto\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[ +21 ms] Building APK
[ +16 ms] Running Gradle task 'assembleDebug'...
[ +4 ms] Using gradle from C:\Users\vikto\Desktop\flutter_app\android\gradlew.bat.
[ +13 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +142 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ ] openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
OpenJDK 64-Bit Server VM (build 11.0.10+0-b96-7249189, mixed mode)
[ +1 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +138 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +1 ms] openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
OpenJDK 64-Bit Server VM (build 11.0.10+0-b96-7249189, mixed mode)
[ +2 ms] executing: [C:\Users\vikto\Desktop\flutter_app\android/] C:\Users\vikto\Desktop\flutter_app\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64
-Ptarget=C:\Users\vikto\Desktop\flutter_app\lib\main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false
-Pfilesystem-scheme=org-dartlang-root assembleDebug
[+1525 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[ +1 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[ ] > Task :app:preBuild UP-TO-DATE
[ ] > Task :app:preDebugBuild UP-TO-DATE
[ ] > Task :app:compileDebugAidl NO-SOURCE
[ ] > Task :app:compileDebugRenderscript NO-SOURCE
[ ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[ ] > Task :app:checkDebugAarMetadata UP-TO-DATE
[ ] > Task :app:cleanMergeDebugAssets
[ ] > Task :app:mergeDebugShaders UP-TO-DATE
[ ] > Task :app:compileDebugShaders NO-SOURCE
[ ] > Task :app:generateDebugAssets UP-TO-DATE
[ ] > Task :app:mergeDebugAssets
[ +287 ms] > Task :app:copyFlutterAssetsDebug
[ +1 ms] > Task :app:generateDebugResValues UP-TO-DATE
[ ] > Task :app:generateDebugResources UP-TO-DATE
[ ] > Task :app:mergeDebugResources UP-TO-DATE
[ ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[ ] > Task :app:processDebugMainManifest UP-TO-DATE
[ ] > Task :app:processDebugManifest UP-TO-DATE
[ ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[ ] > Task :app:processDebugResources UP-TO-DATE
[ +87 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[ +1 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[ ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[ ] > Task :app:compileDebugSources UP-TO-DATE
[ ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[ ] > Task :app:compressDebugAssets UP-TO-DATE
[ ] > Task :app:processDebugJavaRes NO-SOURCE
[ ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[ ] > Task :app:dexBuilderDebug UP-TO-DATE
[ ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[ ] > Task :app:mergeExtDexDebug UP-TO-DATE
[ ] > Task :app:mergeDexDebug UP-TO-DATE
[ ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[ ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[ ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[ ] > Task :app:validateSigningDebug UP-TO-DATE
[ +100 ms] > Task :app:packageDebug UP-TO-DATE
[ +181 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.
[ ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[ ] BUILD SUCCESSFUL in 2s
[ ] 32 actionable tasks: 4 executed, 28 up-to-date
[ +535 ms] Running Gradle task 'assembleDebug'... (completed in 3,0s)
[ +38 ms] calculateSha: LocalDirectory: 'C:\Users\vikto\Desktop\flutter_app\build\app\outputs\flutter-apk'/app.apk
[ +697 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[ +3 ms] executing: C:\Users\vikto\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree C:\Users\vikto\Desktop\flutter_app\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +15 ms] Exit code 0 from: C:\Users\vikto\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree C:\Users\vikto\Desktop\flutter_app\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[ +1 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.flutter_app" (Raw: "com.example.flutter_app")
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)="flutter_app" (Raw: "flutter_app")
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.flutter_app.MainActivity" (Raw: "com.example.flutter_app.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
[ +3 ms] Stopping app 'app.apk' on SM G998B.
[ ] executing: C:\Users\vikto\AppData\Local\Android\sdk\platform-tools\adb.exe -s R5CR8012KLY shell am force-stop com.example.flutter_app
[ +121 ms] executing: C:\Users\vikto\AppData\Local\Android\sdk\platform-tools\adb.exe -s R5CR8012KLY shell pm list packages com.example.flutter_app
[ +79 ms] package:com.example.flutter_app
[ +1 ms] executing: C:\Users\vikto\AppData\Local\Android\sdk\platform-tools\adb.exe -s R5CR8012KLY shell cat /data/local/tmp/sky.com.example.flutter_app.sha1
[ +29 ms] b249d0772ae879c6f55aa353a15e409fa1b7c573
[ +1 ms] Latest build already installed.
[ ] executing: C:\Users\vikto\AppData\Local\Android\sdk\platform-tools\adb.exe -s R5CR8012KLY shell -x logcat -v time -t 1
[ +296 ms] --------- beginning of main
12-30 14:02:53.466 I/heimdall( 1006): update_proc_tgid:436, put logcat(10393) in root memcg
[ +6 ms] executing: C:\Users\vikto\AppData\Local\Android\sdk\platform-tools\adb.exe -s R5CR8012KLY 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.flutter_app/com.example.flutter_app.MainActivity
[ +68 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.flutter_app/.MainActivity (has extras) }
[ +1 ms] Waiting for observatory port to be available...
[ +160 ms] W/FlutterActivityAndFragmentDelegate(10415): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps.
[ +44 ms] Observatory URL on device: http://127.0.0.1:37693/-fAUnjMJQS4=/
[ +1 ms] executing: C:\Users\vikto\AppData\Local\Android\sdk\platform-tools\adb.exe -s R5CR8012KLY forward tcp:0 tcp:37693
[ +19 ms] 59123
[ ] Forwarded host port 59123 to device port 37693 for Observatory
[ +4 ms] Caching compiled dill
[ +21 ms] Connecting to service protocol: http://127.0.0.1:59123/-fAUnjMJQS4=/
[ +107 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:59123/-fAUnjMJQS4=/.
[ +101 ms] DDS is listening at http://127.0.0.1:59126/C2eObEWCO3s=/.
[ +45 ms] Successfully connected to service protocol: http://127.0.0.1:59123/-fAUnjMJQS4=/
[ +44 ms] DevFS: Creating new filesystem on the device (null)
[ +17 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.flutter_app/code_cache/flutter_appMXLOIU/flutter_app/)
[ +2 ms] Updating assets
[ +64 ms] Syncing files to device SM G998B...
[ +1 ms] <- reset
[ ] Compiling dart to kernel with 0 updated files
[ +2 ms] <- recompile package:flutter_app/main.dart f930b4dd-aaa4-4aa7-a269-d9bedaea0190
[ ] <- f930b4dd-aaa4-4aa7-a269-d9bedaea0190
[ +50 ms] Updating files.
[ ] DevFS: Sync finished
[ +1 ms] Syncing files to device SM G998B... (completed in 56ms)
[ ] Synced 0.0MB.
[ +1 ms] <- accept
[ +4 ms] Connected to _flutterView/0xb400007b613d6f80.
[ +2 ms] Flutter run key commands.
[ +1 ms] r Hot reload.
[ ] R Hot restart.
[ ] h List all available interactive commands.
[ ] d Detach (terminate "flutter run" but leave application running).
[ ] c Clear the screen
[ ] q Quit (terminate the application on the device).
[ ] Running with sound null safety
[ +1 ms] An Observatory debugger and profiler on SM G998B is available at: http://127.0.0.1:59126/C2eObEWCO3s=/
[ +266 ms] DevTools activation throttled until 2021-12-31 01:20:39.702036.
[ +453 ms] The Flutter DevTools debugger and profiler on SM G998B is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:59126/C2eObEWCO3s=/

------tapping on standalone textfield

[+36903 ms] I/ViewRootImpl@8003e81MainActivity: ViewPostIme pointer 0
[ +48 ms] I/ViewRootImpl@8003e81MainActivity: ViewPostIme pointer 1
[ +29 ms] I/IMM_LC (10415): ssi() - flag : 0 view : com.example.flutter_app reason = SHOW_SOFT_INPUT
[ +1 ms] I/IMM_LC (10415): ssi() view is not EditText
[ +1 ms] D/InputMethodManager(10415): startInputInner - Id : 0
[ ] I/InputMethodManager(10415): startInputInner - mService.startInputOrWindowGainedFocus
[ +6 ms] D/InputMethodManager(10415): startInputInner - Id : 0
[ +1 ms] I/InputMethodManager(10415): startInputInner - mService.startInputOrWindowGainedFocus
[ +7 ms] W/IInputConnectionWrapper(10415): getCursorCapsMode on inactive InputConnection
[ +3 ms] W/IInputConnectionWrapper(10415): getExtractedText on inactive InputConnection
[ +1 ms] W/IInputConnectionWrapper(10415): requestCursorAnchorInfo on inactive InputConnection
[ +16 ms] W/IInputConnectionWrapper(10415): getExtractedText on inactive InputConnection
[ +18 ms] D/InputConnectionAdaptor(10415): The input method toggled cursor monitoring on
[ +29 ms] D/InsetsController(10415): show(ime(), fromIme=true)
[ +4 ms] D/InsetsSourceConsumer(10415): setRequestedVisible: visible=true, type=19, host=com.example.flutter_app/com.example.flutter_app.MainActivity,
from=android.view.InsetsSourceConsumer.show:235 android.view.InsetsController.showDirectly:1488 android.view.InsetsController.controlAnimationUnchecked:1136
android.view.InsetsController.applyAnimation:1455 android.view.InsetsController.applyAnimation:1436 android.view.InsetsController.show:975
android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:6329 android.view.ViewRootImpl$ViewRootHandler.handleMessage:6254 android.os.Handler.dispatchMessage:106 android.os.Looper.loopOnce:226

------enter key creates newline on standalone textfield

[+45931 ms] I/IMM_LC (10415): ssi() - flag : 0 view : com.example.flutter_app reason = SHOW_SOFT_INPUT
[ +1 ms] I/IMM_LC (10415): ssi() view is not EditText
[ +1 ms] D/InsetsController(10415): show(ime(), fromIme=true)
[+35962 ms] I/ViewRootImpl@8003e81MainActivity: ViewPostIme pointer 0
[ +40 ms] I/ViewRootImpl@8003e81MainActivity: ViewPostIme pointer 1
[ +8 ms] I/IMM_LC (10415): ssi() - flag : 0 view : com.example.flutter_app reason = SHOW_SOFT_INPUT
[ +1 ms] I/IMM_LC (10415): ssi() view is not EditText
[ +1 ms] D/InputMethodManager(10415): startInputInner - Id : 0
[ +1 ms] I/InputMethodManager(10415): startInputInner - mService.startInputOrWindowGainedFocus
[ +1 ms] D/InsetsController(10415): show(ime(), fromIme=true)

------pointing on texfield in listview

[ +30 ms] D/InputConnectionAdaptor(10415): The input method toggled cursor monitoring on
[ +8 ms] D/InsetsController(10415): show(ime(), fromIme=true)
[+46539 ms] I/DecorView(10415): [INFO] isPopOver=false, config=true
[ +1 ms] I/DecorView(10415): updateCaptionType >> DecorView@f4e3705[MainActivity], isFloating=false, isApplication=true, hasWindowControllerCallback=true, hasWindowDecorCaption=false
[ ] D/DecorView(10415): setCaptionType = 0, this = DecorView@f4e3705[MainActivity]
[ ] I/MSHandlerLifeCycle(10415): isMultiSplitHandlerRequested: windowingMode=1 isFullscreen=true isPopOver=false isHidden=false skipActivityType=false isHandlerType=true this:
DecorView@f4e3705[MainActivity]
[ ] I/MSHandlerLifeCycle(10415): removeMultiSplitHandler: no exist. decor=DecorView@f4e3705[MainActivity]
[ ] V/ViewRootImpl@8003e81MainActivity: updateAppliedLetterboxDirection, direction=2, Caller=android.view.ViewRootImpl.handleDispatchLetterboxDirectionChanged:12558
[ +43 ms] I/ViewRootImpl@8003e81MainActivity: Relayout returned: old=(0,0,1080,2400) new=(0,0,2325,1080) req=(1080,2400)0 dur=4 res=0x3 s={true -5476376615359329712} ch=false fn=94
[ +1 ms] I/ViewRootImpl@8003e81MainActivity: updateBoundsLayer: t = android.view.SurfaceControl$Transaction@756629d sc = Surface(name=Bounds for -
com.example.flutter_app/com.example.flutter_app.MainActivity@0)/@0x4420312 frame = 94
[ ] I/SurfaceView(10415): updateSurface: mVisible = true mSurface.isValid() = true
[ ] I/SurfaceView(10415): updateSurface: mSurfaceCreated = true surfaceChanged = false visibleChanged = false
[ ] I/SurfaceView(10415): surfaceChanged (2325,1080) 1 #5 io.flutter.embedding.android.FlutterSurfaceView{1315367 V.E...... ......ID 0,0-2325,1080}
[ ] I/ViewRootImpl@8003e81MainActivity: [DP] dp(1) 1 android.view.SurfaceView.updateSurface:1369 android.view.SurfaceView.setFrame:683 android.view.View.layout:24453
[ +1 ms] I/ViewRootImpl@8003e81MainActivity: [DP] pdf(0) 1 android.view.SurfaceView.notifyDrawFinished:607 android.view.SurfaceView.performDrawFinished:594
android.view.SurfaceView.$r8$lambda$st27mCkd9jfJkTrN_P3qIGKX6NY:0
[ ] I/ViewRootImpl@8003e81MainActivity: [DP] rdf()
[ ] I/ViewRootImpl@8003e81MainActivity: [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:11233 android.view.ViewRootImpl.performTraversals:4075
android.view.ViewRootImpl.doTraversal:2819
[ ] D/ViewRootImpl@8003e81MainActivity: Creating frameCompleteCallback mNextDrawUseBlastSync=false mReportNextDraw=true commitCallbacks size=0
[ ] I/View (10415): draw TR bounds[ Rect(2249, 0 - 2325, 76) ] color[ ff000000 ] this - DecorView@f4e3705[MainActivity]
[ ] I/View (10415): draw BR bounds[ Rect(2249, 1004 - 2325, 1080) ] color[ ff000000 ] this - DecorView@f4e3705[MainActivity]
[ ] D/ViewRootImpl@8003e81MainActivity: Received frameCompleteCallback frameNum=94
[ ] I/ViewRootImpl@8003e81MainActivity: [DP] pdf(0) 1 android.view.ViewRootImpl.lambda$createFrameCompleteCallback$3$ViewRootImpl:4833
android.view.ViewRootImpl$$ExternalSyntheticLambda15.run:6 android.os.Handler.handleCallback:938
[ ] I/ViewRootImpl@8003e81MainActivity: [DP] rdf()
[ ] I/ViewRootImpl@8003e81MainActivity: handleResized, msg = 5 frames=ClientWindowFrames{frame=[0,0][2325,1080] display=[0,0][2325,1080] backdrop=[0,0][2325,1080]}
forceNextWindowRelayout=true displayId=0 frameChanged=false backdropFrameChanged=false configChanged=false displayChanged=false mNextDrawUseBlastSync=false mergedConfiguration={mGlobalConfig={1.1
216mcc30mnc [en_US] ldltr sw411dp w885dp h383dp 420dpi nrml long land finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 2400, 1080) mAppBounds=Rect(0, 0 - 2325, 1080) mMaxBounds=Rect(0, 0 -
2400, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_270 mFreeformTaskPinningState=unpinned} s.567
fontWeightAdjustment=0 ff=0 bf=0 bts=0 desktop/d dm/n dc/d ?dcui ?dcaf enb/d themeSeq=0} mOverrideConfig={1.1 216mcc30mnc [en_US] ldltr sw411dp w885dp h383dp 420dpi nrml long land finger -keyb/v/h
-nav/h winConfig={ mBounds=Rect(0, 0 - 2400, 1080) mAppBounds=Rect(0, 0 - 2325, 1080) mMaxBounds=Rect(0, 0 - 2400, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen
mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_270 mFreeformTaskPinningState=unpinned} s.2 fontWeightAdjustment=0 ff=0 bf=0 bts=0 desktop/d dm/n dc/d ?dcui ?dcaf enb/d
themeSeq=0}}
[ +1 ms] I/ViewRootImpl@8003e81MainActivity: [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:11233 android.view.ViewRootImpl.handleResized:2145
android.view.ViewRootImpl.access$1000:290
[ ] I/ViewRootImpl@8003e81MainActivity: Relayout returned: old=(0,0,2325,1080) new=(0,0,2325,1080) req=(2325,1080)0 dur=3 res=0x1 s={true -5476376615359329712} ch=false fn=95
[ ] D/ViewRootImpl@8003e81MainActivity: Creating frameCompleteCallback mNextDrawUseBlastSync=false mReportNextDraw=true commitCallbacks size=0
[ ] D/ViewRootImpl@8003e81MainActivity: Received frameCompleteCallback frameNum=95
[ ] I/ViewRootImpl@8003e81MainActivity: [DP] pdf(0) 1 android.view.ViewRootImpl.lambda$createFrameCompleteCallback$3$ViewRootImpl:4833
android.view.ViewRootImpl$$ExternalSyntheticLambda15.run:6 android.os.Handler.handleCallback:938
[ ] I/ViewRootImpl@8003e81MainActivity: [DP] rdf()

----when pressing enter on textfield no new loggs appear

flutter doctor -v
[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.19043.1415], locale hu-HU)
• Flutter version 2.5.3 at C:\Flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 1811693 (3 months ago), 2021-10-15 10:46:35 -0700
• Engine revision d3ea636dc5
• Dart version 2.14.4

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\vikto\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.

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

[√] Android Studio (version 2020.3)
• 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.10+0-b96-7249189)

[√] VS Code (version 1.62.0)
• VS Code at C:\Users\vikto\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.27.0

[√] VS Code, 32-bit edition (version 1.32.3)
• VS Code at C:\Program Files (x86)\Microsoft VS Code
• Flutter extension version 3.27.0

[√] Connected device (3 available)
• SM G998B (mobile) • R5CR8012KLY • android-arm64 • Android 12 (API 31)
• Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.110
• Edge (web) • edge • web-javascript • Microsoft Edge 96.0.1054.62

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: solvedIssue is closed as solved

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions