You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can't select text with mouse once it's longer than the text field #59141
Sometimes, I cannot select and highlight the text in TextField with mouse.
I used the latest Flutter SDK and GTK embedding.
Enter to some characters in the TextField.
Select text with mouse left click and moving.
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.19.0-6.0.pre.42, on Linux, locale ja_JP.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
✗ Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (version 3.5)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.45.1)
[✓] Connected device (3 available)
! Doctor found issues in 2 categories.
[ +125 ms] executing: [/home/francesco/development/flutter_master/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +35 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] d9653445f4d1257b5f5adb4b271d1316469e8cf1
[ ] executing: [/home/francesco/development/flutter_master/] git tag --contains HEAD
[ +190 ms] Exit code 0 from: git tag --contains HEAD
[ +1 ms] executing: [/home/francesco/development/flutter_master/] git describe --match *.*.*-*.*.pre --first-parent --long --tags
[ +11 ms] Exit code 0 from: git describe --match *.*.*-*.*.pre --first-parent --long --tags
[ ] 1.19.0-5.0.pre-42-gd9653445f
[ +9 ms] executing: [/home/francesco/development/flutter_master/] git rev-parse --abbrev-ref --symbolic @{u}
[ +7 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/master
[ ] executing: [/home/francesco/development/flutter_master/] git ls-remote --get-url origin
[ +5 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +58 ms] executing: [/home/francesco/development/flutter_master/] git rev-parse --abbrev-ref HEAD
[ +7 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] master
[ +53 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ ] 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 '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.
[ +17 ms] executing: /usr/lib/Android/platform-tools/adb devices -l
[ +54 ms] List of devices attached
[ +6 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ ] 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.
[ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ +10 ms] 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.
[ +237 ms] Generating /home/francesco/projects/linux_test/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +97 ms] Starting incremental build...
[ +2 ms] Initializing file store
[ +12 ms] Skipping target: gen_localizations
[ +6 ms] complete
[ +5 ms] Launching lib/main.dart on Linux in debug mode...
[ +8 ms] /home/francesco/development/flutter_master/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/francesco/development/flutter_master/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/francesco/development/flutter_master/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names -Ddart.developer.causal_async_stacks=true
--output-dill /tmp/flutter_tools.PLVPVN/flutter_tool.XQIZAN/app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation
--filesystem-scheme org-dartlang-root --initialize-from-dill build/cache.dill.track.dill
[ +32 ms] Building Linux application...
[ +17 ms] <- compile package:linux_test/main.dart
[ +6 ms] executing: [build/linux/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug /home/francesco/projects/linux_test/linux
[ +75 ms] -- Configuring done
[ +9 ms] -- Generating done
[ ] -- Build files have been written to: /home/francesco/projects/linux_test/build/linux/debug
[ +3 ms] executing: ninja -C build/linux/debug install
[ +10 ms] ninja: Entering directory `build/linux/debug'[+9168 ms] [1/14] Generating /home/francesco/projects/linux_test/linux/flutter/ephemeral/libflutter_linux_glfw.so, flutter_export.h, flutter_glfw.h, flutter_messenger.h, flutter_plugin_registrar.h,/home/francesco/projects/linux_test/linux/flutter/ephemeral/cpp_client_wrapper_glfw/engine_method_result.cc,/home/francesco/projects/linux_test/linux/flutter/ephemeral/cpp_client_wrapper_glfw/standard_codec.cc,/home/francesco/projects/linux_test/linux/flutter/ephemeral/cpp_client_wrapper_glfw/plugin_registrar.cc,/home/francesco/projects/linux_test/linux/flutter/ephemeral/cpp_client_wrapper_glfw/flutter_engine.cc,/home/francesco/projects/linux_test/linux/flutter/ephemeral/cpp_client_wrapper_glfw/flutter_window_controller.cc, _phony_[ +2 ms] [ +167 ms] executing: [/home/francesco/development/flutter_master/] git -c log.showSignature=false log -n 1 --pretty=format:%H[ ] [ +43 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H[ ] [ ] d9653445f4d1257b5f5adb4b271d1316469e8cf1[ ] [ ] executing: [/home/francesco/development/flutter_master/] git tag --contains HEAD[ ] [ +252 ms] Exit code 0 from: git tag --contains HEAD[ ] [ +2 ms] executing: [/home/francesco/development/flutter_master/] git describe --match *.*.*-*.*.pre --first-parent --long --tags[ ] [ +15 ms] Exit code 0 from: git describe --match *.*.*-*.*.pre --first-parent --long --tags[ ] [ ] 1.19.0-5.0.pre-42-gd9653445f[ ] [ +15 ms] executing: [/home/francesco/development/flutter_master/] git rev-parse --abbrev-ref --symbolic @{u}[ ] [ +6 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}[ ] [ ] origin/master[ ] [ ] executing: [/home/francesco/development/flutter_master/] git ls-remote --get-url origin[ ] [ +7 ms] Exit code 0 from: git ls-remote --get-url origin[ ] [ ] https://github.com/flutter/flutter.git[ ] [ +76 ms] executing: [/home/francesco/development/flutter_master/] git rev-parse --abbrev-ref HEAD[ ] [ +15 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD[ ] [ +1 ms] master[ ] [ +51 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.[ ] [ ] 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.[ ] [ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' 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.[ ] [ +6 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.[ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.[ ] [ ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.[ ] [ ] 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.[ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.[ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' 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.[ ] [ ] 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.[ ] [ +97 ms] Initializing file store[ ] [ +12 ms] Done initializing file store[ ] [ +34 ms] Skipping target: gen_localizations[ ] [+2248 ms] Skipping target: kernel_snapshot[ ] [+4799 ms] Skipping target: unpack_linux[ ] [ +432 ms] Skipping target: debug_bundle_linux_assets[ ] [ +1 ms] Persisting file store[ ] [ +17 ms] Done persisting file store[ ] [ +12 ms] build succeeded.[ ] [ +10 ms] "flutter assemble" took 7,692ms.[ ] [ +6 ms] ensureAnalyticsSent: 0ms[ ] [ +1 ms] Running shutdown hooks[ ] [ ] Shutdown hooks complete[ ] [ +4 ms] exiting with code 0[ +557 ms] [2/5] Building CXX object CMakeFiles/linux_test.dir/flutter/generated_plugin_registrant.cc.o[ +435 ms] [3/5] Building CXX object CMakeFiles/linux_test.dir/main.cc.o[ +167 ms] [4/5] Linking CXX executable linux_test[ ] [4/5] Install the project...[ +23 ms] -- Install configuration: "Debug"[ +7 ms] -- Installing: /home/francesco/projects/linux_test/build/linux/debug/bundle/linux_test[ +1 ms] -- Set runtime path of "/home/francesco/projects/linux_test/build/linux/debug/bundle/linux_test" to "$ORIGIN"[ +6 ms] -- fixup_bundle[ ] -- app='/home/francesco/projects/linux_test/build/linux/debug/bundle/linux_test'[ ] -- libs=''[ ] -- dirs=';/home/francesco/projects/linux_test/linux/flutter/ephemeral'[ ] -- ignoreItems=''[ +11 ms] -- fixup_bundle: preparing...[ +62 ms] -- fixup_bundle: copying...[ ] -- 1/4: *NOT* copying '/home/francesco/projects/linux_test/build/linux/debug/bundle/linux_test'[ ] -- 2/4: copying '/home/francesco/projects/linux_test/linux/flutter/ephemeral/libflutter_linux_glfw.so'[ +215 ms] -- fixup_bundle: fixing...[ ] -- 3/4: fix-up not required on this platform '/home/francesco/projects/linux_test/build/linux/debug/bundle/linux_test'[ ] -- 4/4: fix-up not required on this platform '/home/francesco/projects/linux_test/build/linux/debug/bundle/libflutter_linux_glfw.so'[ ] -- fixup_bundle: cleaning up...[ ] -- fixup_bundle: verifying...[ +6 ms] -- ===========================================================================[ ] -- Analyzing app='/home/francesco/projects/linux_test/build/linux/debug/bundle/linux_test'[ ] -- bundle='/home/francesco/projects/linux_test/build/linux/debug/bundle'[ ] -- executable='/home/francesco/projects/linux_test/build/linux/debug/bundle/linux_test'[ ] -- valid='1'[ +10 ms] -- executable file 1: /home/francesco/projects/linux_test/build/linux/debug/bundle/linux_test[ +71 ms] -- verified='1'[ ] -- info='Verified 1 executable files in'/home/francesco/projects/linux_test/build/linux/debug/bundle''[ ] -- [ ] -- verified='1'[ ] -- info=''[ ] -- [ ] -- fixup_bundle: done[ ] -- Installing: /home/francesco/projects/linux_test/build/linux/debug/bundle/data/icudtl.dat[ +2 ms] -- Installing: /home/francesco/projects/linux_test/build/linux/debug/bundle/data/flutter_assets[ ] -- Installing: /home/francesco/projects/linux_test/build/linux/debug/bundle/data/flutter_assets/packages[ ] -- Installing: /home/francesco/projects/linux_test/build/linux/debug/bundle/data/flutter_assets/packages/cupertino_icons[ ] -- Installing: /home/francesco/projects/linux_test/build/linux/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets[ ] -- Installing: /home/francesco/projects/linux_test/build/linux/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf[ ] -- Installing: /home/francesco/projects/linux_test/build/linux/debug/bundle/data/flutter_assets/AssetManifest.json[ ] -- Installing: /home/francesco/projects/linux_test/build/linux/debug/bundle/data/flutter_assets/fonts[ ] -- Installing: /home/francesco/projects/linux_test/build/linux/debug/bundle/data/flutter_assets/fonts/MaterialIcons-Regular.ttf[ ] -- Installing: /home/francesco/projects/linux_test/build/linux/debug/bundle/data/flutter_assets/NOTICES[ ] -- Installing: /home/francesco/projects/linux_test/build/linux/debug/bundle/data/flutter_assets/kernel_blob.bin[ +60 ms] -- Installing: /home/francesco/projects/linux_test/build/linux/debug/bundle/data/flutter_assets/FontManifest.json[ +15 ms] Building Linux application... (completed in 11.0s)[ +869 ms] Observatory URL on device: http://127.0.0.1:46763/cbzV0GAizAQ=/[ +23 ms] Caching compiled dill[ +80 ms] Connecting to service protocol: http://127.0.0.1:46763/cbzV0GAizAQ=/[ +211 ms] Successfully connected to service protocol: http://127.0.0.1:46763/cbzV0GAizAQ=/[ ] Waiting for Linux to report its views...[ +6 ms] Waiting for Linux to report its views... (completed in 5ms)[ +8 ms] DevFS: Creating new filesystem on the device (null)[ +15 ms] DevFS: Created new filesystem on the device (file:///tmp/linux_testYJRDMI/linux_test/)[ +2 ms] Updating assets[ +119 ms] Syncing files to device Linux...[ +2 ms] Scanning asset files[ +3 ms] <- reset[ ] Compiling dart to kernel with 0 updated files[ +1 ms] <- recompile package:linux_test/main.dart da272aeb-34e9-4e62-967e-a16218a2d23b[ ] <- da272aeb-34e9-4e62-967e-a16218a2d23b[ +96 ms] Updating files[ +95 ms] DevFS: Sync finished[ ] Syncing files to device Linux... (completed in 200ms)[ +1 ms] Synced 0.9MB.[ +1 ms] <- accept[ +2 ms] Connected to _flutterView/0x1e300f0.[ +1 ms] Flutter run key commands.[ +2 ms] r Hot reload. 🔥🔥🔥[ +1 ms] R Hot restart.[ +1 ms] h Repeat this help message.[ ] d Detach (terminate "flutter run" but leave application running).[ ] c Clear the screen[ ] q Quit (terminate the application on the device).[ ] An Observatory debugger and profiler on Linux is available at: http://127.0.0.1:46763/cbzV0GAizAQ=/[ +572 ms] flutter: ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════[ ] flutter: The following assertion was thrown during performLayout():[ ] flutter: BoxConstraints has a negative minimum height.[ ] flutter: These invalid constraints were provided to RenderCustomPaint's layout() functionby the following[ ] flutter: function, which probably computed the invalid constraints in question:[ ] flutter: _RenderDecoration.performLayout (package:flutter/src/material/input_decorator.dart:1290:17)[ ] flutter: The offending constraints were:[ ] flutter: BoxConstraints(w=0.0, h=-8.0; NOT NORMALIZED)[ ] flutter: [ ] flutter: The relevant error-causing widget was:[ ] flutter: TextField file:///home/francesco/projects/linux_test/lib/main.dart:30:16[ ] flutter: [ ] flutter: When the exception was thrown, this was the stack:[ ] flutter: #0 BoxConstraints.debugAssertIsValid.<anonymous closure>.throwError (package:flutter/src/rendering/box.dart:517:9)[ ] flutter: #1 BoxConstraints.debugAssertIsValid.<anonymous closure> (package:flutter/src/rendering/box.dart:548:19)[ ] flutter: #2 BoxConstraints.debugAssertIsValid (package:flutter/src/rendering/box.dart:565:6)[ ] flutter: #3 RenderObject.layout (package:flutter/src/rendering/object.dart:1670:24)[ ] flutter: #4 _RenderDecoration.performLayout (package:flutter/src/material/input_decorator.dart:1290:17)[ +1 ms] flutter: #5 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #6 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #7 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #8 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #9 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #10 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #11 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #12 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #13 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #14 RenderPositionedBox.performLayout (package:flutter/src/rendering/shifted_box.dart:394:13)[ ] flutter: #15 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #16 MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:171:11)[ ] flutter: #17 _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:480:7)[ ] flutter: #18 MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:240:7)[ ] flutter: #19 RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:399:14)[ ] flutter: #20 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #21 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #22 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #23 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #24 _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1267:11)[ ] flutter: #25 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #26 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #27 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #28 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #29 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #30 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #31 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #32 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #33 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #34 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #35 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #36 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #37 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #38 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #39 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #40 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #41 RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:3219:13)[ ] flutter: #42 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #43 _RenderTheatre.performLayout (package:flutter/src/widgets/overlay.dart:700:15)[ ] flutter: #44 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #45 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #46 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #47 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #48 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #49 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #50 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #51 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #52 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #53 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #54 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #55 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:13)[ ] flutter: #56 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)[ ] flutter: #57 RenderView.performLayout (package:flutter/src/rendering/view.dart:167:13)[ ] flutter: #58 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1630:7)[ ] flutter: #59 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:887:18)[ ] flutter: #60 RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:402:19)[ ] flutter: #61 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:865:13)[ ] flutter: #62 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:284:5)[ ] flutter: #63 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1113:15)[ ] flutter: #64 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1052:9)[ ] flutter: #65 SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:861:7)[ ] flutter: (elided 11 frames from class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch)[ ] flutter: [ ] flutter: The following RenderObject was being processed when the exception was fired: _RenderDecoration#2dedd NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE:[ ] flutter: creator: _Decorator ← InputDecorator ← AnimatedBuilder ← _PointerListener ← Listener ←[ ] flutter: RawGestureDetector ← TextSelectionGestureDetector ← Semantics ← AnimatedBuilder ← _RawMouseRegion[ ] flutter: ← MouseRegion ← IgnorePointer ← ⋯[ ] flutter: parentData: <none> (can use size)[ ] flutter: constraints: BoxConstraints(w=0.0, h=0.0)[ ] flutter: size: MISSING[ ] flutter: This RenderObject had the following descendants (showing up to depth 5):[ ] flutter: input: RenderRepaintBoundary#24aa9 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE[ ] flutter: child: RenderMouseRegion#7a72a NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE[ ] flutter: child: RenderPointerListener#7a9b5 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE[ ] flutter: child: RenderPointerListener#4332a NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE[ ] flutter: child: RenderSemanticsAnnotations#0503c NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE[ ] flutter: suffixIcon: RenderPositionedBox#8cf40 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE[ ] flutter: child: RenderConstrainedBox#400ec NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE[ ] flutter: child: RenderSemanticsAnnotations#c8fe5 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE[ ] flutter: child: RenderSemanticsAnnotations#2ae8a NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE[ ] flutter: child: RenderMouseRegion#daec3 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE[ ] flutter: helperError: RenderConstrainedBox#a6c8a NEEDS-PAINT[ ] flutter: container: RenderCustomPaint#b4364 NEEDS-LAYOUT NEEDS-PAINT[ ] flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════[ +1 ms] flutter: Another exception was thrown: RenderBox was not laid out: _RenderDecoration#2dedd NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE[ ] flutter: Another exception was thrown: RenderBox was not laid out: RenderPointerListener#bba72 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE[ ] flutter: Another exception was thrown: RenderBox was not laid out: RenderSemanticsAnnotations#584ff NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE[ ] flutter: Another exception was thrown: RenderBox was not laid out: RenderMouseRegion#3bdaa NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE[ ] flutter: Another exception was thrown: 'package:flutter/src/rendering/shifted_box.dart': Failed assertion: line 322 pos 12: 'child.hasSize': is not true.[+112359 ms] Application finished.
doctor
[✓] Flutter (Channel master, 1.19.0-6.0.pre.42, on Linux, locale en_US.UTF-8) • Flutter version 1.19.0-6.0.pre.42 at /home/francesco/development/flutter_master • Framework revision d9653445f4 (11 hours ago), 2020-06-09 18:43:03 -0400 • Engine revision e8c13aa012 • Dart version 2.9.0 (build 2.9.0-14.0.dev 5c1376615e)[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /usr/lib/Android • Platform android-29, build-tools 29.0.2 • ANDROID_HOME = /usr/lib/Android • ANDROID_SDK_ROOT = /usr/lib/Android • Java binary at: /usr/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1~18.04-b09) • All Android licenses accepted.[✓] Chrome - develop for the web • Chrome at google-chrome[✓] Linux toolchain - develop for Linux desktop • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final) • cmake version 3.10.2 • ninja version 1.8.2[!] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).[✓] VS Code (version 1.45.1) • VS Code at /usr/share/code • Flutter extension version 3.11.0[✓] Connected device (3 available) • Linux • Linux • linux-x64 • Linux • Web Server • web-server • web-javascript • Flutter Tools • Chrome • chrome • web-javascript • Google Chrome 83.0.4103.97! Doctor found issues in 1 category.
the text selection behave oddly for example does not clear when clicking outside the TextField
also the logs shows unexpected errors
changed the title [-][Linux] Sometimes it becomes impossible to select the text in TextField with the mouse[/-][+]Can't select text with mouse once it's longer than the text field[/+]on Jun 10, 2020
[✓] Flutter (Channel master, 1.26.0-2.0.pre.117, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
• Flutter version 1.26.0-2.0.pre.117 at /Users/pedromassango/dev/SDKs/flutter_master
• Framework revision 15c009b805 (9 hours ago), 2020-12-22 20:09:03 -0500
• Engine revision b7cd3f8e70
• Dart version 2.12.0 (build 2.12.0-173.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/pedromassango/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• 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 12.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.1, Build version 12A7403
! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] 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)
[✓] IntelliJ IDEA Community Edition (version 2020.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 52.1.5
• Dart plugin version 203.5981.152
[✓] VS Code (version 1.51.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.16.0
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-x64 • Mac OS X 10.15.7 19H2 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 87.0.4280.88
! Doctor found issues in 1 category.
Process finished with exit code 0
This also happens on the web (can we add that tag?)
We don't generally put platform tags on issues that aren't platform specific. That's why the Linux tag was removed, rather than adding every platform where most input is common.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
iapicca commentedon Jun 10, 2020
Hi @HidenoriMatsubayashi
I tested the code sample below with the latest master
code sample
logs
doctor
the text selection behave oddly for example does not clear when clicking outside the
TextFieldalso the logs shows unexpected errors
Thank you
stuartmorgan-g commentedon Jun 10, 2020
From the video it looks like it's happening once the text overflows, at which point it's scrolling instead of selecting.
The correct behavior for mouse input devices would be to scroll only while selecting.
stuartmorgan-g commentedon Jun 10, 2020
Confirmed on macOS that that's the condition. Updating title.
[-][Linux] Sometimes it becomes impossible to select the text in TextField with the mouse[/-][+]Can't select text with mouse once it's longer than the text field[/+]pedromassangocode commentedon Dec 23, 2020
Still reproducible on latest
masterchannel.flutter doctor -v
nwparker commentedon Feb 28, 2021
This also happens on the web (can we add that tag?), here's the relevant SO post w/ an example shown:
https://stackoverflow.com/questions/65526803/flutter-web-text-field-scrolls-instead-of-selecting-for-long-text
stuartmorgan-g commentedon Feb 28, 2021
We don't generally put platform tags on issues that aren't platform specific. That's why the Linux tag was removed, rather than adding every platform where most input is common.
r100-stack commentedon Aug 10, 2021
This answer on StackOverflow helped me
https://stackoverflow.com/a/65682058/11547064
kevinxxq commentedon Aug 10, 2021
github-actions commentedon Nov 30, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.