Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Textinput bug on Samsung device #41315

Closed
seritaApp opened this issue Sep 25, 2019 · 10 comments
Closed

Textinput bug on Samsung device #41315

seritaApp opened this issue Sep 25, 2019 · 10 comments
Labels
a: text input Entering text in a text field or keyboard related problems e: device-specific Only manifests on certain devices platform-android Android applications specifically

Comments

@seritaApp
Copy link

seritaApp commented Sep 25, 2019

Tested with flutter gallery app on Samsung Galaxy Tab S4

  1. Begin to type a word
  2. Leave keyboard mode
  3. Refocus and continue typing
    Instead of adding the new characters, the previous word gets repeated again
    Happens even on the gallery app so it's not related to my code.

Edit: I was trying to type "words" here
ezgif-4-241b62f05f83

@mklim
Copy link
Contributor

mklim commented Sep 25, 2019

Can you post the output of flutter doctor -v? Thank you for filing an issue!

@mklim mklim added a: text input Entering text in a text field or keyboard related problems e: device-specific Only manifests on certain devices platform-android Android applications specifically labels Sep 25, 2019
@justinmc
Copy link
Contributor

Related: #31512

@seritaApp
Copy link
Author

Can you post the output of flutter doctor -v? Thank you for filing an issue!

[✓] Flutter (Channel master, v1.10.6-pre.75, on Linux, locale de_DE.UTF-8)
• Flutter version 1.10.6-pre.75 at /opt/flutter
• Framework revision bcbe822 (vor 16 Minuten), 2019-09-25 17:12:41 -0400
• Engine revision efb7bf4
• Dart version 2.6.0 (build 2.6.0-dev.2.0 69b5681546)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /home/jofu/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /opt/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.

[✓] Android Studio (version 3.5)
• Android Studio at /opt/android-studio
• Flutter plugin version 39.0.3
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[!] IntelliJ IDEA Community Edition (version 2019.2)
• IntelliJ at /usr/share/idea
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] Connected device (1 available)
• SM T835 • ce03182369165611017e • android-arm64 • Android 9 (API 28)

! Doctor found issues in 1 category.

@mklim
Copy link
Contributor

mklim commented Sep 25, 2019

@seritaApp thanks. It could be related to flutter/engine#12432 since you are using a version of Flutter that includes it. I do think it's unlikely though because that code shouldn't behave any differently when using a non-Korean input method like in the reproduction GIF. This looks like a duplicate of #31512 to me.

If you see the problem consistently now, do you mind testing out an earlier version of Flutter and seeing if you still see it? That would help narrow it down some. flutter channel dev would switch to a week old version at this point that doesn't have that new commit.

@seritaApp
Copy link
Author

I have tested it in dev, beta and stable and can reproduce the issue. I have also downloaded apps from the Playstore which were made with flutter according to itsallwidgets.com and they all had the issue.

@seritaApp
Copy link
Author

Also related: #30656

@seritaApp
Copy link
Author

Yep you are right, it's probably a duplicate of #31512

@justinmc
Copy link
Contributor

justinmc commented Sep 25, 2019

Maybe that engine fix needs to happen for English input as well as Korean?

CC @GaryQian since we were just talking about this.

@mklim
Copy link
Contributor

mklim commented Sep 25, 2019

Okay, thank you for the detailed reproduction info @seritaApp . I'm going to close this as a duplicate of #31512.

@justinmc I'm not totally convinced that the restart IMM engine fix actually covers this issue, or is the least invasive fix for it. It may, just not sure. If we get repro though we could test it out and enable it for all Samsung keyboards if that makes sense.

@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: text input Entering text in a text field or keyboard related problems e: device-specific Only manifests on certain devices platform-android Android applications specifically
Projects
None yet
Development

No branches or pull requests

3 participants