flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
166.17k stars 27.44k forks source link

TextField bug when contentPadding is not zero and there is a high hint message #123101

Open mshurkaeu-public opened 1 year ago

mshurkaeu-public commented 1 year ago

Steps to Reproduce

  1. Execute flutter run on the code sample on Linux or web platform target
  2. Follow the on screen instructions (or their duplicate below). 2.1. Ensure "behavior is bad" mode on (toggle button). 2.2. Resize window height and confirm that hint text remains inside the TextField widget. (on Android devices rotation of a device will emulate the resize) 2.3. Make window height large. 2.4. Type some value inside the TextField. 2.5. Resize window height and confirm that typed in text remains inside the TextField widget. 2.6. Erase typed in text completely to make hint text visible again. 2.7. Make window height large. 2.8. Turn on "behavior is owfull" mode. 2.9. Resize window height and confirm that hint text goes outside of the TextField widget. 2.10. Make window height large. 2.11. Type some value inside the TextField. 2.12. Resize window height and confirm that the typed in text goes outside of the TextField widget. That's it. The bug!

Expected results: Hint text remains inside of TextField widget area. Input text and input focus remains inside of TextField widget area

Actual results: Hint text and input text appear on other widgets area.

The problem appear on Linux, web and Android platforms. Haven't checked other platforms.

Code sample ```dart import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatefulWidget { const MyApp({super.key}); @override State createState() => _MyAppState(); } class _MyAppState extends State { bool _showBug = false; @override Widget build(BuildContext context) { const String title = 'Flutter TextField with decoration (border + hintText) bug'; const double nonZeroBorderWidth = 50; InputBorder border = const OutlineInputBorder( borderSide: BorderSide( color: Colors.orange, width: nonZeroBorderWidth, ), ); return MaterialApp( title: title, theme: ThemeData( primaryColor: Colors.red, ), home: Scaffold( appBar: AppBar( title: const Text(title), ), body: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ ColoredBox( color: Colors.red, child: Row( mainAxisAlignment: MainAxisAlignment.end, children: [ ToggleButtons( onPressed: (index) { setState(() { _showBug = !_showBug; }); }, color: Colors.black, selectedColor: Colors.black, selectedBorderColor: Colors.black, isSelected: [_showBug], children: [ Text(_showBug ? 'Behavior is owfull when contentPadding={top:$nonZeroBorderWidth}. TextField.hintText and/or input is outside of the TextField widget when there is no enough space to show TextField.hintText.' : 'Behavior is bad when contentPadding={top:0}. TextField.hintText and/or input text is over the orange border. But at least that text is inside the TextField widget.'), ], ), ], ), ), Expanded( child: TextField( decoration: InputDecoration( border: border, enabledBorder: border, focusedBorder: border, hintText: '''hint line 1. Ensure "behavior is bad" mode on. hint line 2. Resize window height and confirm that hint text remains inside the TextField widget. hint line 3. Make window height large. hint line 4. Type some value inside the TextField. hint line 5. Resize window height and confirm that typed in text remains inside the TextField widget. hint line 6. hint line 7. Make window height large. hint line 8. Turn on "behavior is owfull" mode. hint line 9. Resize window height and confirm that hint text goes outside of the TextField widget. hint line 10. Make window height large. hint line 11. Type some value inside the TextField. hint line 12. Resize window height and confirm that the typed in text goes outside of the TextField widget. hint line 13 hint line 14 hint line 15 hint line 16 hint line 17 hint line 18 hint line 19 hint line 20''', contentPadding: EdgeInsets.only(top: (_showBug ? nonZeroBorderWidth : 0)), filled: true, fillColor: Colors.yellow, ), textAlignVertical: TextAlignVertical.top, maxLines: null, expands: true, ), ), ], ), ), ); } } ```
Logs ``` flutter run --verbose [ +7 ms] executing: uname -m [ +12 ms] Exit code 0 from: uname -m [ ] x86_64 [ +2 ms] executing: [/home/vboxuser/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +12 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] 2ad6cd72c040113b47ee9055e722606a490ef0da [ ] executing: [/home/vboxuser/snap/flutter/common/flutter/] git tag --points-at 2ad6cd72c040113b47ee9055e722606a490ef0da [ +11 ms] Exit code 0 from: git tag --points-at 2ad6cd72c040113b47ee9055e722606a490ef0da [ ] 3.7.7 [ +7 ms] executing: [/home/vboxuser/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream} [ +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream} [ +1 ms] origin/stable [ ] executing: [/home/vboxuser/snap/flutter/common/flutter/] git ls-remote --get-url origin [ +2 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +11 ms] executing: [/home/vboxuser/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD [ +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] stable [ +9 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ +2 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ +7 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +7 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. [ +74 ms] executing: /home/vboxuser/Android/Sdk/platform-tools/adb devices -l [ +47 ms] List of devices attached [ +3 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 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' 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. [ +53 ms] Multiple devices found: [ +31 ms] Linux (desktop) • linux • linux-x64 • Ubuntu 22.10 5.19.0-35-generic [ ] Chrome (web) • chrome • web-javascript • Google Chrome 111.0.5563.64 [ ] [1]: Linux (linux) [ ] [2]: Chrome (chrome) [ +1 ms] Please choose one (To quit, press "q/Q") [ ] : [+2006 ms] 1 [ +16 ms] Running "flutter pub get" in flutter-TextField-hint-height-bug... [ ] executing: [/home/vboxuser/flutter-TextField-hint-height-bug/] /home/vboxuser/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart __deprecated_pub --color --verbose --directory . get --example FINE: Pub 2.19.4 MSG : Resolving dependencies... SLVR: fact: flutter_textfield_hint_height_bug is 1.0.0+1 SLVR: derived: flutter_textfield_hint_height_bug SLVR: fact: flutter_textfield_hint_height_bug depends on flutter from sdk SLVR: fact: flutter_textfield_hint_height_bug depends on cupertino_icons ^1.0.2 SLVR: fact: flutter_textfield_hint_height_bug depends on flutter_test from sdk SLVR: fact: flutter_textfield_hint_height_bug depends on flutter_lints ^2.0.0 SLVR: selecting flutter_textfield_hint_height_bug SLVR: derived: flutter_lints ^2.0.0 SLVR: derived: flutter_test from sdk SLVR: derived: cupertino_icons ^1.0.2 SLVR: derived: flutter from sdk SLVR: fact: flutter_lints 2.0.1 depends on lints ^2.0.0 SLVR: selecting flutter_lints 2.0.1 SLVR: derived: lints ^2.0.0 SLVR: fact: flutter_test 0.0.0 from sdk depends on flutter from sdk SLVR: fact: flutter_test 0.0.0 from sdk depends on test_api 0.4.16 SLVR: fact: flutter_test 0.0.0 from sdk depends on path 1.8.2 SLVR: fact: flutter_test 0.0.0 from sdk depends on fake_async 1.3.1 SLVR: fact: flutter_test 0.0.0 from sdk depends on clock 1.1.1 SLVR: fact: flutter_test 0.0.0 from sdk depends on stack_trace 1.11.0 SLVR: fact: flutter_test 0.0.0 from sdk depends on vector_math 2.1.4 SLVR: fact: flutter_test 0.0.0 from sdk depends on async 2.10.0 SLVR: fact: flutter_test 0.0.0 from sdk depends on boolean_selector 2.1.1 SLVR: fact: flutter_test 0.0.0 from sdk depends on characters 1.2.1 SLVR: fact: flutter_test 0.0.0 from sdk depends on collection 1.17.0 SLVR: fact: flutter_test 0.0.0 from sdk depends on js 0.6.5 SLVR: fact: flutter_test 0.0.0 from sdk depends on matcher 0.12.13 SLVR: fact: flutter_test 0.0.0 from sdk depends on material_color_utilities 0.2.0 SLVR: fact: flutter_test 0.0.0 from sdk depends on meta 1.8.0 SLVR: fact: flutter_test 0.0.0 from sdk depends on source_span 1.9.1 SLVR: fact: flutter_test 0.0.0 from sdk depends on stream_channel 2.1.1 SLVR: fact: flutter_test 0.0.0 from sdk depends on string_scanner 1.2.0 SLVR: fact: flutter_test 0.0.0 from sdk depends on term_glyph 1.2.1 SLVR: selecting flutter_test 0.0.0 from sdk SLVR: derived: term_glyph 1.2.1 SLVR: derived: string_scanner 1.2.0 SLVR: derived: stream_channel 2.1.1 SLVR: derived: source_span 1.9.1 SLVR: derived: meta 1.8.0 SLVR: derived: material_color_utilities 0.2.0 SLVR: derived: matcher 0.12.13 SLVR: derived: js 0.6.5 SLVR: derived: collection 1.17.0 SLVR: derived: characters 1.2.1 SLVR: derived: boolean_selector 2.1.1 SLVR: derived: async 2.10.0 SLVR: derived: vector_math 2.1.4 SLVR: derived: stack_trace 1.11.0 SLVR: derived: clock 1.1.1 SLVR: derived: fake_async 1.3.1 SLVR: derived: path 1.8.2 SLVR: derived: test_api 0.4.16 SLVR: selecting cupertino_icons 1.0.5 SLVR: fact: flutter 0.0.0 from sdk depends on characters 1.2.1 SLVR: fact: flutter 0.0.0 from sdk depends on collection 1.17.0 SLVR: fact: flutter 0.0.0 from sdk depends on js 0.6.5 SLVR: fact: flutter 0.0.0 from sdk depends on material_color_utilities 0.2.0 SLVR: fact: flutter 0.0.0 from sdk depends on meta 1.8.0 SLVR: fact: flutter 0.0.0 from sdk depends on vector_math 2.1.4 SLVR: fact: flutter 0.0.0 from sdk depends on sky_engine from sdk SLVR: selecting flutter 0.0.0 from sdk SLVR: derived: sky_engine from sdk SLVR: selecting lints 2.0.1 SLVR: selecting term_glyph 1.2.1 SLVR: fact: string_scanner 1.2.0 depends on source_span ^1.8.0 SLVR: selecting string_scanner 1.2.0 SLVR: fact: stream_channel 2.1.1 depends on async ^2.5.0 SLVR: selecting stream_channel 2.1.1 SLVR: fact: source_span 1.9.1 depends on collection ^1.15.0 SLVR: fact: source_span 1.9.1 depends on path ^1.8.0 SLVR: fact: source_span 1.9.1 depends on term_glyph ^1.2.0 SLVR: selecting source_span 1.9.1 SLVR: selecting meta 1.8.0 SLVR: selecting material_color_utilities 0.2.0 SLVR: fact: matcher 0.12.13 depends on meta ^1.8.0 SLVR: fact: matcher 0.12.13 depends on stack_trace ^1.10.0 SLVR: selecting matcher 0.12.13 SLVR: fact: js 0.6.5 depends on meta ^1.7.0 SLVR: selecting js 0.6.5 SLVR: selecting collection 1.17.0 SLVR: selecting characters 1.2.1 SLVR: fact: boolean_selector 2.1.1 depends on source_span ^1.8.0 SLVR: fact: boolean_selector 2.1.1 depends on string_scanner ^1.1.0 SLVR: selecting boolean_selector 2.1.1 SLVR: fact: async 2.10.0 depends on collection ^1.15.0 SLVR: fact: async 2.10.0 depends on meta ^1.1.7 SLVR: selecting async 2.10.0 SLVR: selecting vector_math 2.1.4 SLVR: fact: stack_trace 1.11.0 depends on path ^1.8.0 SLVR: selecting stack_trace 1.11.0 SLVR: selecting clock 1.1.1 SLVR: fact: fake_async 1.3.1 depends on clock ^1.1.0 SLVR: fact: fake_async 1.3.1 depends on collection ^1.15.0 SLVR: selecting fake_async 1.3.1 SLVR: selecting path 1.8.2 SLVR: fact: test_api 0.4.16 depends on async ^2.5.0 SLVR: fact: test_api 0.4.16 depends on boolean_selector ^2.1.0 SLVR: fact: test_api 0.4.16 depends on collection ^1.15.0 SLVR: fact: test_api 0.4.16 depends on meta ^1.3.0 SLVR: fact: test_api 0.4.16 depends on source_span ^1.8.0 SLVR: fact: test_api 0.4.16 depends on stack_trace ^1.10.0 SLVR: fact: test_api 0.4.16 depends on stream_channel ^2.1.0 SLVR: fact: test_api 0.4.16 depends on string_scanner ^1.1.0 SLVR: fact: test_api 0.4.16 depends on term_glyph ^1.2.0 SLVR: fact: test_api 0.4.16 depends on matcher >=0.12.11 <0.12.14 SLVR: selecting test_api 0.4.16 SLVR: selecting sky_engine 0.0.99 from sdk SLVR: Version solving took 0:00:00.224345 seconds. | Tried 1 solutions. FINE: Resolving dependencies finished (0.270s). MSG : async 2.10.0 (2.11.0 available) | characters 1.2.1 (1.3.0 available) | collection 1.17.0 (1.17.1 available) | js 0.6.5 (0.6.7 available) | matcher 0.12.13 (0.12.14 available) | material_color_utilities 0.2.0 (0.3.0 available) | meta 1.8.0 (1.9.0 available) | path 1.8.2 (1.8.3 available) | test_api 0.4.16 (0.4.18 available) MSG : Got dependencies! IO : Writing 5262 characters to text file pubspec.lock. FINE: Contents: | # Generated by pub | # See https://dart.dev/tools/pub/glossary#lockfile | packages: | async: | dependency: transitive | description: | name: async | sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0 | url: "https://pub.dev" | source: hosted | version: "2.10.0" | boolean_selector: | dependency: transitive | description: | name: boolean_selector | sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" | url: "https://pub.dev" | source: hosted | version: "2.1.1" | characters: | dependency: transitive | description: | name: characters | sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c | url: "https://pub.dev" | source: hosted | version: "1.2.1" | clock: | dependency: transitive | description: | name: clock | sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf | url: "https://pub.dev" | source: hosted | version: "1.1.1" | collection: | dependency: transitive | description: | name: collection | sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0 | url: "https://pub.dev" | source: hosted | version: "1.17.0" | cupertino_icons: | dependency: "direct main" | description: | name: cupertino_icons | sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be | url: "https://pub.dev" | source: hosted | version: "1.0.5" | fake_async: | dependency: transitive | description: | name: fake_async | sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" | url: "https://pub.dev" | source: hosted | version: "1.3.1" | flutter: | dependency: "direct main" | description: flutter | source: sdk | version: "0.0.0" | flutter_lints: | dependency: "direct dev" | description: | name: flutter_lints | sha256: aeb0b80a8b3709709c9cc496cdc027c5b3216796bc0af0ce1007eaf24464fd4c | url: "https://pub.dev" | source: hosted | version: "2.0.1" | flutter_test: | dependency: "direct dev" | description: flutter | source: sdk | version: "0.0.0" | js: | dependency: transitive | description: | name: js | sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7" | url: "https://pub.dev" | source: hosted | version: "0.6.5" | lints: | dependency: transitive | description: | name: lints | sha256: "5e4a9cd06d447758280a8ac2405101e0e2094d2a1dbdd3756aec3fe7775ba593" | url: "https://pub.dev" | source: hosted | version: "2.0.1" | matcher: | dependency: transitive | description: | name: matcher | sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72" | url: "https://pub.dev" | source: hosted | version: "0.12.13" | material_color_utilities: | dependency: transitive | description: | name: material_color_utilities | sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724 | url: "https://pub.dev" | source: hosted | version: "0.2.0" | meta: | dependency: transitive | description: | name: meta | sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42" | url: "https://pub.dev" | source: hosted | version: "1.8.0" | path: | dependency: transitive | description: | name: path | sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b | url: "https://pub.dev" | source: hosted | version: "1.8.2" | sky_engine: | dependency: transitive | description: flutter | source: sdk | version: "0.0.99" | source_span: | dependency: transitive | description: | name: source_span | sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250 | url: "https://pub.dev" | source: hosted | version: "1.9.1" | stack_trace: | dependency: transitive | description: | name: stack_trace | sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 | url: "https://pub.dev" | source: hosted | version: "1.11.0" | stream_channel: | dependency: transitive | description: | name: stream_channel | sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" | url: "https://pub.dev" | source: hosted | version: "2.1.1" | string_scanner: | dependency: transitive | description: | name: string_scanner | sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" | url: "https://pub.dev" | source: hosted | version: "1.2.0" | term_glyph: | dependency: transitive | description: | name: term_glyph | sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 | url: "https://pub.dev" | source: hosted | version: "1.2.1" | test_api: | dependency: transitive | description: | name: test_api | sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206 | url: "https://pub.dev" | source: hosted | version: "0.4.16" | vector_math: | dependency: transitive | description: | name: vector_math | sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" | url: "https://pub.dev" | source: hosted | version: "2.1.4" | sdks: | dart: ">=2.19.4 <3.0.0" IO : Writing 4779 characters to text file .dart_tool/package_config.json. FINE: Contents: | { | "configVersion": 2, | "packages": [ | { | "name": "async", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/async-2.10.0", | "packageUri": "lib/", | "languageVersion": "2.18" | }, | { | "name": "boolean_selector", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1", | "packageUri": "lib/", | "languageVersion": "2.17" | }, | { | "name": "characters", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/characters-1.2.1", | "packageUri": "lib/", | "languageVersion": "2.12" | }, | { | "name": "clock", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/clock-1.1.1", | "packageUri": "lib/", | "languageVersion": "2.12" | }, | { | "name": "collection", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/collection-1.17.0", | "packageUri": "lib/", | "languageVersion": "2.12" | }, | { | "name": "cupertino_icons", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/cupertino_icons-1.0.5", | "packageUri": "lib/", | "languageVersion": "2.12" | }, | { | "name": "fake_async", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/fake_async-1.3.1", | "packageUri": "lib/", | "languageVersion": "2.12" | }, | { | "name": "flutter", | "rootUri": "file:///home/vboxuser/snap/flutter/common/flutter/packages/flutter", | "packageUri": "lib/", | "languageVersion": "2.17" | }, | { | "name": "flutter_lints", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/flutter_lints-2.0.1", | "packageUri": "lib/", | "languageVersion": "2.17" | }, | { | "name": "flutter_test", | "rootUri": "file:///home/vboxuser/snap/flutter/common/flutter/packages/flutter_test", | "packageUri": "lib/", | "languageVersion": "2.17" | }, | { | "name": "js", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/js-0.6.5", | "packageUri": "lib/", | "languageVersion": "2.16" | }, | { | "name": "lints", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/lints-2.0.1", | "packageUri": "lib/", | "languageVersion": "2.17" | }, | { | "name": "matcher", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/matcher-0.12.13", | "packageUri": "lib/", | "languageVersion": "2.18" | }, | { | "name": "material_color_utilities", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/material_color_utilities-0.2.0", | "packageUri": "lib/", | "languageVersion": "2.13" | }, | { | "name": "meta", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/meta-1.8.0", | "packageUri": "lib/", | "languageVersion": "2.12" | }, | { | "name": "path", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/path-1.8.2", | "packageUri": "lib/", | "languageVersion": "2.12" | }, | { | "name": "sky_engine", | "rootUri": "file:///home/vboxuser/snap/flutter/common/flutter/bin/cache/pkg/sky_engine", | "packageUri": "lib/", | "languageVersion": "2.12" | }, | { | "name": "source_span", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/source_span-1.9.1", | "packageUri": "lib/", | "languageVersion": "2.14" | }, | { | "name": "stack_trace", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/stack_trace-1.11.0", | "packageUri": "lib/", | "languageVersion": "2.18" | }, | { | "name": "stream_channel", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/stream_channel-2.1.1", | "packageUri": "lib/", | "languageVersion": "2.14" | }, | { | "name": "string_scanner", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/string_scanner-1.2.0", | "packageUri": "lib/", | "languageVersion": "2.18" | }, | { | "name": "term_glyph", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/term_glyph-1.2.1", | "packageUri": "lib/", | "languageVersion": "2.12" | }, | { | "name": "test_api", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/test_api-0.4.16", | "packageUri": "lib/", | "languageVersion": "2.18" | }, | { | "name": "vector_math", | "rootUri": "file:///home/vboxuser/.pub-cache/hosted/pub.dev/vector_math-2.1.4", | "packageUri": "lib/", | "languageVersion": "2.14" | }, | { | "name": "flutter_textfield_hint_height_bug", | "rootUri": "../", | "packageUri": "lib/", | "languageVersion": "2.19" | } | ], | "generated": "2023-03-21T09:44:04.464623Z", | "generator": "pub", | "generatorVersion": "2.19.4" | } IO : Writing 29753 characters to text file /home/vboxuser/.pub-cache/log/pub_log.txt. MSG : Logs written to /home/vboxuser/.pub-cache/log/pub_log.txt. [+1620 ms] Generating /home/vboxuser/flutter-TextField-hint-height-bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java [ +53 ms] Initializing file store [ +4 ms] Skipping target: gen_localizations [ +4 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /home/vboxuser/flutter-TextField-hint-height-bug/.dart_tool/package_config_subset} [ +19 ms] gen_dart_plugin_registrant: Complete [ ] _composite: Starting due to {} [ ] _composite: Complete [ +1 ms] complete [ +5 ms] Launching lib/main.dart on Linux in debug mode... [ +1 ms] /home/vboxuser/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/vboxuser/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root /home/vboxuser/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.POWFVO/flutter_tool.HJHLCA/app.dill --packages /home/vboxuser/flutter-TextField-hint-height-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/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --verbosity=error --enable-experiment=alternative-invalidation-strategy [ +16 ms] Building Linux application... [ +27 ms] <- compile package:flutter_textfield_hint_height_bug/main.dart [ +25 ms] executing: [build/linux/x64/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DFLUTTER_TARGET_PLATFORM=linux-x64 /home/vboxuser/flutter-TextField-hint-height-bug/linux [ +290 ms] -- The CXX compiler identification is Clang 10.0.0 [ +30 ms] -- Check for working CXX compiler: /snap/flutter/current/usr/bin/clang++ [ +172 ms] -- Check for working CXX compiler: /snap/flutter/current/usr/bin/clang++ -- works [ +6 ms] -- Detecting CXX compiler ABI info [ +193 ms] -- Detecting CXX compiler ABI info - done [ +15 ms] -- Detecting CXX compile features [ +9 ms] -- Detecting CXX compile features - done [ +7 ms] -- Found PkgConfig: /snap/flutter/current/usr/bin/pkg-config (found version "0.29.1") [ ] -- Checking for module 'gtk+-3.0' [ +34 ms] -- Found gtk+-3.0, version 3.24.20 [ +150 ms] -- Checking for module 'glib-2.0' [ +51 ms] -- Found glib-2.0, version 2.64.6 [ +135 ms] -- Checking for module 'gio-2.0' [ +32 ms] -- Found gio-2.0, version 2.64.6 [ +105 ms] -- Configuring done [ +23 ms] -- Generating done [ ] -- Build files have been written to: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug [ +11 ms] executing: ninja -C build/linux/x64/debug install [ +13 ms] ninja: Entering directory `build/linux/x64/debug' [+13017 ms] [1/6] Generating /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/libflutter_linux_gtk.so, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_engine.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_method_call.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_method_response.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_value.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/fl_view.h, /home/vboxuser/flutter-TextField-hint-height-bug/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_ [ +1 ms] [ +15 ms] executing: uname -m [ ] [ +12 ms] Exit code 0 from: uname -m [ ] [ ] x86_64 [ ] [ ] executing: [/home/vboxuser/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ +3 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ ] 2ad6cd72c040113b47ee9055e722606a490ef0da [ ] [ ] executing: [/home/vboxuser/snap/flutter/common/flutter/] git tag --points-at 2ad6cd72c040113b47ee9055e722606a490ef0da [ ] [ +24 ms] Exit code 0 from: git tag --points-at 2ad6cd72c040113b47ee9055e722606a490ef0da [ ] [ ] 3.7.7 [ ] [ +7 ms] executing: [/home/vboxuser/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD [ ] [ +9 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] [ ] stable [ ] [ +7 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. [ ] [ ] 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. [ ] [ +85 ms] executing: [/home/vboxuser/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream} [ ] [ +10 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream} [ ] [ ] origin/stable [ ] [ ] executing: [/home/vboxuser/snap/flutter/common/flutter/] git ls-remote --get-url origin [ ] [ +11 ms] Exit code 0 from: git ls-remote --get-url origin [ ] [ ] https://github.com/flutter/flutter.git [ ] [ ] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] [ ] Artifact Instance of 'GradleWrapper' 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 '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. [ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update. [ ] [ +23 ms] Initializing file store [ ] [ +5 ms] Skipping target: gen_localizations [ ] [ +13 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /home/vboxuser/flutter-TextField-hint-height-bug/.dart_tool/package_config_subset} [ ] [ +2 ms] unpack_linux: Starting due to {} [ ] [ +127 ms] unpack_linux: Complete [ ] [ +383 ms] gen_dart_plugin_registrant: Complete [ ] [ +1 ms] kernel_snapshot: Starting due to {} [ +13 ms] [ +7 ms] /home/vboxuser/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/vboxuser/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root /home/vboxuser/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --packages /home/vboxuser/flutter-TextField-hint-height-bug/.dart_tool/package_config.json --output-dill /home/vboxuser/flutter-TextField-hint-height-bug/.dart_tool/flutter_build/b7604661feb1f989efcb72655715b1e8/app.dill --depfile /home/vboxuser/flutter-TextField-hint-height-bug/.dart_tool/flutter_build/b7604661feb1f989efcb72655715b1e8/kernel_snapshot.d --incremental --initialize-from-dill /home/vboxuser/flutter-TextField-hint-height-bug/.dart_tool/flutter_build/b7604661feb1f989efcb72655715b1e8/app.dill --verbosity=error package:flutter_textfield_hint_height_bug/main.dart [ +3 ms] [+9070 ms] kernel_snapshot: Complete [ ] [ +234 ms] debug_bundle_linux-x64_assets: Starting due to {} [ ] [ +105 ms] shaderc command: [/home/vboxuser/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/impellerc, --sksl, --iplr, --sl=/home/vboxuser/flutter-TextField-hint-height-bug/build/flutter_assets/shaders/ink_sparkle.frag, --spirv=/home/vboxuser/flutter-TextField-hint-height-bug/build/flutter_assets/shaders/ink_sparkle.frag.spirv, --input=/home/vboxuser/snap/flutter/common/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag, --input-type=frag, --remap-samplers, --include=/home/vboxuser/snap/flutter/common/flutter/packages/flutter/lib/src/material/shaders, --include=/home/vboxuser/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/shader_lib] [ ] [ +130 ms] debug_bundle_linux-x64_assets: Complete [ ] [ +280 ms] Persisting file store [ ] [ +5 ms] Done persisting file store [ ] [ +4 ms] build succeeded. [ ] [ +3 ms] "flutter assemble" took 10,523ms. [ ] [ +1 ms] Running 0 shutdown hooks [ ] [ ] Shutdown hooks complete [ ] [ ] exiting with code 0 [ +426 ms] [2/6] Building CXX object CMakeFiles/flutter_textfield_hint_height_bug.dir/main.cc.o [ +52 ms] [3/6] Building CXX object CMakeFiles/flutter_textfield_hint_height_bug.dir/flutter/generated_plugin_registrant.cc.o [ +70 ms] [4/6] Building CXX object CMakeFiles/flutter_textfield_hint_height_bug.dir/my_application.cc.o [ +80 ms] [5/6] Linking CXX executable intermediates_do_not_run/flutter_textfield_hint_height_bug [ ] [5/6] Install the project... [ +6 ms] -- Install configuration: "Debug" [ ] -- Installing: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/flutter_textfield_hint_height_bug [ +1 ms] -- Set runtime path of "/home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/flutter_textfield_hint_height_bug" to "$ORIGIN/lib" [ ] -- Installing: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/data/icudtl.dat [ +1 ms] -- Installing: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/lib/libflutter_linux_gtk.so [ +59 ms] -- Installing: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/data/flutter_assets [ ] -- Installing: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/data/flutter_assets/AssetManifest.json [ +1 ms] -- Installing: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/data/flutter_assets/packages [ ] -- Installing: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons [ ] -- Installing: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets [ ] -- Installing: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf [ ] -- Installing: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/data/flutter_assets/FontManifest.json [ +1 ms] -- Installing: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/data/flutter_assets/fonts [ ] -- Installing: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/data/flutter_assets/fonts/MaterialIcons-Regular.otf [ +1 ms] -- Installing: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/data/flutter_assets/shaders [ +1 ms] -- Installing: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/data/flutter_assets/shaders/ink_sparkle.frag [ ] -- Installing: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/data/flutter_assets/version.json [ ] -- Installing: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/data/flutter_assets/NOTICES.Z [ ] -- Installing: /home/vboxuser/flutter-TextField-hint-height-bug/build/linux/x64/debug/bundle/data/flutter_assets/kernel_blob.bin [ +39 ms] Building Linux application... (completed in 15.1s) [ +251 ms] Observatory URL on device: http://127.0.0.1:45145/6j-_R7NTo4A=/ [ +1 ms] Caching compiled dill [ +84 ms] Connecting to service protocol: http://127.0.0.1:45145/6j-_R7NTo4A=/ [ +114 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:45145/6j-_R7NTo4A=/. [ +95 ms] DDS is listening at http://127.0.0.1:41277/yxI7G6fKEmk=/. [ +50 ms] Successfully connected to service protocol: http://127.0.0.1:45145/6j-_R7NTo4A=/ [ +38 ms] DevFS: Creating new filesystem on the device (null) [ +30 ms] DevFS: Created new filesystem on the device (file:///tmp/flutter-TextField-hint-height-bugDQZKIC/flutter-TextField-hint-height-bug/) [ +1 ms] Updating assets [ +102 ms] Syncing files to device Linux... [ +11 ms] Compiling dart to kernel with 0 updated files [ ] Processing bundle. [ ] <- recompile package:flutter_textfield_hint_height_bug/main.dart 29a5f941-ecca-4477-b1b7-90801a6c8061 [ ] <- 29a5f941-ecca-4477-b1b7-90801a6c8061 [ +6 ms] Bundle processing done. [ +111 ms] Updating files. [ ] DevFS: Sync finished [ +4 ms] Syncing files to device Linux... (completed in 120ms) [ ] Synced 0.0MB. [ ] <- accept [ +1 ms] Connected to _flutterView/0x13a4b30. [ ] Flutter run key commands. [ ] 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 💪 [ ] An Observatory debugger and profiler on Linux is available at: http://127.0.0.1:41277/yxI7G6fKEmk=/ [ +259 ms] The Flutter DevTools debugger and profiler on Linux is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:41277/yxI7G6fKEmk=/ [+103312 ms] Service protocol connection closed. [ ] Lost connection to device. [ ] DevFS: Deleting filesystem on the device (file:///tmp/flutter-TextField-hint-height-bugDQZKIC/flutter-TextField-hint-height-bug/) [ +252 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed [ +1 ms] "flutter run" took 123,862ms. [ +1 ms] Running 1 shutdown hook [ +6 ms] Shutdown hooks complete [ ] exiting with code 0 ``` ``` flutter analyze Analyzing flutter-TextField-hint-height-bug... No issues found! (ran in 0.9s) ``` ``` flutter doctor -v [✓] Flutter (Channel stable, 3.7.7, on Ubuntu 22.10 5.19.0-35-generic, locale en_US.UTF-8) • Flutter version 3.7.7 on channel stable at /home/vboxuser/snap/flutter/common/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 2ad6cd72c0 (13 days ago), 2023-03-08 09:41:59 -0800 • Engine revision 1837b5be5f • Dart version 2.19.4 • DevTools version 2.20.1 [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2) • Android SDK at /home/vboxuser/Android/Sdk • Platform android-33-ext4, build-tools 33.0.2 • Java binary at: /snap/android-studio/125/android-studio/jre/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted. [✓] Chrome - develop for the web • Chrome at google-chrome [✓] Linux toolchain - develop for Linux desktop • clang version 10.0.0-4ubuntu1 • cmake version 3.16.3 • ninja version 1.10.0 • pkg-config version 0.29.1 [✓] Android Studio (version 2021.3) • Android Studio at /snap/android-studio/125/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.13+0-b1751.21-8125866) [✓] VS Code (version 1.76.2) • VS Code at /usr/share/code • Flutter extension version 3.60.0 [✓] Connected device (2 available) • Linux (desktop) • linux • linux-x64 • Ubuntu 22.10 5.19.0-35-generic • Chrome (web) • chrome • web-javascript • Google Chrome 111.0.5563.64 [✓] HTTP Host Availability • All required HTTP hosts are available • No issues found! ```

Video is attached

Screencast from 2023-03-21.webm

huycozy commented 1 year ago

Thanks for filing a detailed report, @mshurkaeu-public

I can see this issue on MacOS app as well, but the Steps to reproduce is simpler. Just turn on "behavior is owfull" mode and resize the window height smaller until seeing the issue:

https://user-images.githubusercontent.com/104349824/226603392-f6452c53-9b56-47ab-a6c3-0c60c17e54f5.mp4

Can you retry and confirm the issue can reproduce with just the above two steps as I tried?

mshurkaeu-public commented 1 year ago

Yes. I confirm that I observe the same behavior on my systems as shown on your 25 seconds video.

I provided the original extra steps to show the difference in behavior in dependency on contentPadding value. And also to show that not only hintText is affected by the bug, but the input text also.

huycozy commented 1 year ago

Thanks for confirming this. Labeling this issue for further insights (and updating the issue title since it also happens on other platforms as well).

This issue is reproducible on the latest stable and master channels.

Adding Flutter Inspector captured images:

flutter doctor -v (stable and master) ```bash [✓] Flutter (Channel stable, 3.7.7, on macOS 13.0.1 22A400 darwin-x64, locale en-EE) • Flutter version 3.7.7 on channel stable at /Users/huynq/Documents/GitHub/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 2ad6cd72c0 (10 hours ago), 2023-03-08 09:41:59 -0800 • Engine revision 1837b5be5f • Dart version 2.19.4 • DevTools version 2.20.1 [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) • Android SDK at /Users/huynq/Library/Android/sdk • Platform android-33, build-tools 31.0.0 • ANDROID_HOME = /Users/huynq/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14B47b • CocoaPods version 1.11.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [!] Android Studio • Android Studio at /Applications/Android Studio Preview.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 ✗ Unable to find bundled Java version. • Try updating or re-installing Android Studio. [✓] Android Studio (version 2022.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 11.0.15+0-b2043.56-8887301) [✓] IntelliJ IDEA Community Edition (version 2022.1.1) • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app • 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 [✓] VS Code (version 1.76.0) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.60.0 [✓] Connected device (2 available) • macOS (desktop) • macos • darwin-x64 • macOS 13.0.1 22A400 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 110.0.5481.177 [✓] HTTP Host Availability • All required HTTP hosts are available ! Doctor found issues in 1 category. ``` ```bash [!] Flutter (Channel master, 3.9.0-12.0.pre.17, on macOS 13.0.1 22A400 darwin-x64, locale en-VN) • Flutter version 3.9.0-12.0.pre.17 on channel master at /Users/huynq/Documents/GitHub/flutter_master ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path. ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path. • Upstream repository https://github.com/flutter/flutter.git • Framework revision 6b7c60d69a (2 hours ago), 2023-03-20 18:08:51 -0700 • Engine revision ea6ed14b4e • Dart version 3.0.0 (build 3.0.0-345.0.dev) • DevTools version 2.22.2 • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades. [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) • Android SDK at /Users/huynq/Library/Android/sdk • Platform android-33, build-tools 31.0.0 • ANDROID_HOME = /Users/huynq/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14B47b • CocoaPods version 1.11.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2022.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 11.0.15+0-b2043.56-8887301) [✓] IntelliJ IDEA Community Edition (version 2022.1.1) • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app • 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 [✓] VS Code (version 1.76.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.60.0 [✓] Connected device (2 available) • macOS (desktop) • macos • darwin-x64 • macOS 13.0.1 22A400 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 111.0.5563.64 [✓] Network resources • All expected network resources are available. ! Doctor found issues in 1 category. ```