Skip to content

Flutter TextField widget problem .. #54557

Closed

Description

@imeDevelopers

there is an issue in the last flutter updates .. , if i have focus on some textfield and trying to press the system back button to hide the keyboard .. it dont work , the full android system bottom bar not work if i have complete focus on any text field .. , this happens after i upgraded flutter to latest version ..

android: 9 pie ..
flutter latest in 11/4/2020

Activity

  1. VladyslavBondarenko commented on Apr 13, 2020

    @VladyslavBondarenko

    Hi @imeDevelopers

    I tried with such code
    import 'package:flutter/material.dart';
    
    void main() => runApp(MaterialApp(home: MyApp()));
    
    class MyApp extends StatefulWidget {
      @override
      _MyAppState createState() => _MyAppState();
    }
    
    class _MyAppState extends State<MyApp> {
      @override
      Widget build(BuildContext context) {
        return SafeArea(
          child: Scaffold(
            body: Center(
              child: TextField(),
            )
          ),
        );
      }
    }
    

    With dev v1.18.0 and with master v1.18.0-5.0.pre.99 with Android 9 device.
    System bottom bar is working as intended.
    Can you reproduce the issue with current master version?
    Provide please your flutter doctor -v

  2. added
    in triagePresently being triaged by the triage team
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Apr 13, 2020
  3. added
    a: text inputEntering text in a text field or keyboard related problems
    p: material_uimaterial_ui package in flutter/packages
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Apr 13, 2020
  4. imeDevelopers commented on Apr 14, 2020

    @imeDevelopers
    Author

    Video

    i upgraded before see your comment .. and the problem still exist ..

    flutter doctor -v:

    [√] Flutter (Channel master, v1.18.0-6.0.pre.15, on Microsoft Windows [Version 6.1.7601], locale ar-EG)
        • Flutter version 1.18.0-6.0.pre.15 at D:\Android\flutter
        • Framework revision db36d3b98a (49 minutes ago), 2020-04-13 19:15:02 -0400
        • Engine revision deef2663ac
        • Dart version 2.8.0 (build 2.8.0-dev.20.0 c9710e5059)
    
    [√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
        • Android SDK at D:\Android\sdk
        • Platform android-29, build-tools 29.0.2
        • ANDROID_HOME = D:\Android\sdk
        • Java binary at: D:\Android\Android Studio\jre\bin\java
        • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
        • All Android licenses accepted.
    
    [√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.3.4)
        • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
        • Visual Studio Community 2019 version 16.3.29409.12
    
    [√] Android Studio (version 3.6)
        • Android Studio at D:\Android\Android Studio
        • Flutter plugin version 40.2.2
        • Dart plugin version 191.8593
        • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    
    [√] Connected device (2 available)
        • RMX1911 • 9fb8e7d7 • android-arm64 • Android 9 (API 28)
        • Windows • Windows  • windows-x64   • Microsoft Windows [Version 6.1.7601]
    
    • No issues found!
    
  5. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Apr 14, 2020
  6. VladyslavBondarenko commented on Apr 14, 2020

    @VladyslavBondarenko

    @imeDevelopers
    provide please a minimal complete code sample to reproduce your case

  7. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Apr 14, 2020
  8. imeDevelopers commented on Apr 14, 2020

    @imeDevelopers
    Author

    it's any textfield in the whole app ... , any textfield ....

  9. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Apr 14, 2020
  10. VladyslavBondarenko commented on Apr 14, 2020

    @VladyslavBondarenko

    @imeDevelopers
    do you mean bottom bar will not work with this code sample as well #54557 (comment)?
    with what devices are you experiencing this?

  11. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Apr 14, 2020
  12. imeDevelopers commented on Apr 14, 2020

    @imeDevelopers
    Author

    if i pulled the system status bar (for example to see notifications) and pressed system back button it works .. , but without pull the status bar it dont never work .. , i will try your code now .. give me 5 min ..

  13. 13 remaining items

  14. imeDevelopers commented on May 6, 2020

    @imeDevelopers
    Author

    @TahaTesser
    I will try to provide it as soon as possible ..

  15. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on May 6, 2020
  16. TahaTesser commented on May 29, 2020

    @TahaTesser
    Contributor

    Without additional information we are unfortunately not sure how to resolve this issue.
    We are therefore reluctantly going to close this bug for now.
    Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
    Thanks for your contribution.

  17. imeDevelopers commented on Jul 17, 2020

    @imeDevelopers
    Author

    actually [google_maps_flutter] plugin was the reason of all these errors ! , it's the most stupid plugin on earth .. there's no real attention to it .. , i replaced it with [flutter_map] plugin and everything is fixed and all errors are gone ... , tried to get google maps back and the whole errors are back ... , now i use [flutter_map] and will always do until you fix these stupid errors , i set 6 months try to find the reason of these errors , i checked every single part of my app (600MB) , and in the end find that the thing what my app are built on is the problem ! .. now there is no problem of these problems in my app !!

    #55114
    #61322
    #60731

    Look at this !!!
    https://drive.google.com/file/d/1-1rfrJ34_lah7sajkwcKXXYvfGRpiiLx/view?usp=drivesdk
    https://drive.google.com/file/d/1XAN133PmpCDNtndvd2SJHLoOkeGwHTh8/view?usp=sharing

    But look at flutter map ..
    Nothing of the errors are exist ..
    https://drive.google.com/file/d/1-29sgPk3FHrECnRTk_q0bPMdT6bEeOyw/view?usp=drivesdk

  18. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jul 17, 2020
  19. iapicca commented on Jul 20, 2020

    @iapicca

    Hi @imeDevelopers
    for the issue to be workable needs to be reproducible
    please provide the info requested above by @TahaTesser
    Thank you

  20. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jul 20, 2020
  21. darshankawar commented on Sep 2, 2020

    @darshankawar
    Member

    Without additional information, we are unfortunately not sure how to resolve this issue.
    We are therefore reluctantly going to close this bug for now.
    Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
    Thanks for your contribution.

    Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
    All system setups can be slightly different, so it's always better to open new issues and reference related issues.

  22. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Dec 30, 2020
  23. github-actions commented on Aug 7, 2021

    @github-actions

    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.

  24. locked as resolved and limited conversation to collaborators on Aug 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in triagePresently being triaged by the triage team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions