Skip to content

Fullscreen IME mode doesn't work on Android (text entry in landscape) #4899

Closed

Description

@eseidelGoogle

Reported by @amarsten via gitter.

https://github.com/flutter/flutter/blob/master/examples/flutter_gallery/lib/demo/text_field_demo.dart

The demo works fine in portrait mode, but if you turn to landscape everything disappears and the scroll-to-avoid-keyboard behavior doesn't seem to work.

@mpcomplete

Here are two screenshots taken one after another, the only difference is rotating the phone:
flutter_02
flutter_03

Activity

  1. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    a: text inputEntering text in a text field or keyboard related problems
    customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.
    on Jul 12, 2016
  2. modified the milestone: on Jul 19, 2016
  3. sethladd commented on Jul 19, 2016

    @sethladd
    Contributor

    I'm having a hard time reproducing this on iOS. When rotated, I can see the input fields and use the keyboard, on my iPhone 6S.

    But yeah, on Android, I can repro.

  4. mpcomplete commented on Jul 20, 2016

    @mpcomplete
    Contributor

    I thought this was a recent regression, but it dates all the way back to March (and probably before - I didn't test earlier than that).

  5. mpcomplete commented on Jul 27, 2016

    @mpcomplete
    Contributor

    This one is pretty complicated. I suspect it never worked.

    The issue is with the android fullscreen IME mode. Normally, an IME is attached to an EditText widget. I suspect that Android normally uses this EditText widget to display the input text (which Android calls the "extract UI") during fullscreen mode. We don't have an EditText widget.

    Chromium on Android may have to deal with this problem. It's worth seeing how they solved it. If all else fails, Jason recommends building AOSP and instrumenting the base framework code to understand how the full screen IME operates.

    One simple thing we could do right now is disable the fullscreen IME mode. This will show the flutter UI in place of the empty extract UI (just like in portrait mode) so at least something is visible.

  6. removed this from the milestone on Aug 22, 2016
  7. modified the milestones: , on Sep 12, 2016
  8. 12 remaining items

  9. modified the milestones: 3: Current Milestone, on Nov 7, 2017
  10. Hixie commented on Nov 7, 2017

    @Hixie
    Contributor

    We do not currently plan to provide a full fix for this bug, though we would consider patches if anyone wanted to try to provide a solution.

  11. added
    a: tabletTablets and landscape phones
    and removed
    a: tabletTablets and landscape phones
    on Apr 23, 2018
  12. removed this from the milestone on Jun 1, 2020
  13. guidezpl commented on Apr 13, 2022

    @guidezpl
    Member

    Closing as no-longer reproducible

  14. github-actions commented on Apr 27, 2022

    @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.

  15. locked as resolved and limited conversation to collaborators on Apr 27, 2022
  16. added
    P3Issues that are less important to the Flutter project
    and removed on Jun 28, 2023
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

    P3Issues that are less important to the Flutter projecta: tabletTablets and landscape phonesa: text inputEntering text in a text field or keyboard related problemscustomer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.frameworkflutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specifically

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions