Skip to content

when using 3-set korean keyboard, textField ignores ' ' - word spacing (space bar key) on Windows #140537

Description

@akichusell

Steps to reproduce

  1. use 3-set korean keyboard (you can also setup windows configure - languages option : korean -> microsoft IME -> 3 set korean
  2. input the ' ' (word spacing ) on textField

Expected results

' ' in inputted on textField

Actual results

spacing word (' ') is not represented.

  • onKey() event handler of the focusNode on textField also is not caught ' '

Code sample

Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      body: Center(child: TextField()),
    );
  }
}

Flutter Doctor output

Doctor output
[√] Flutter (Channel stable, 3.13.9, on Microsoft Windows [Version 10.0.19045.3803], locale ko-KR)
    • Flutter version 3.13.9 on channel stable at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d211f42860 (8 weeks ago), 2023-10-25 13:42:25 -0700
    • Engine revision 0545f8705d
    • Dart version 3.1.5
    • DevTools version 2.25.0

[√] Windows Version (Installed version of Windows is version 10 or higher)

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at C:\Users\aki\AppData\Local\Android\sdk
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Professional 2019 16.11.13)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional
    • Visual Studio Professional 2019 version 16.11.32413.511
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\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.15+0-b2043.56-8887301)

[√] IntelliJ IDEA Ultimate Edition (version 2023.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2022.3.2
    • Flutter plugin version 77.0.1
    • Dart plugin version 233.13135.65

[√] VS Code (version 1.80.0)
    • VS Code at C:\Users\aki\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.68.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.3803]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 120.0.6099.110
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 120.0.2210.91

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Activity

  1. danagbemava-nc commented on Dec 22, 2023

    @danagbemava-nc
    Member

    Hi @akichusell, you are using an older version of the flutter framework. Kindly upgrade to the latest version of flutter stable to see if you still experience this issue.

    If you do, please provide the updated output of flutter doctor -v.

    Thank you

  2. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Dec 22, 2023
  3. akichusell commented on Jan 3, 2024

    @akichusell
    Author

    newest flutter version also reproduced.

    Flutter Doctor output

    [√] Flutter (Channel stable, 3.16.5, on Microsoft Windows [Version 10.0.19045.3803], locale ko-KR)
    [√] Windows Version (Installed version of Windows is version 10 or higher)
    [!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    X cmdline-tools component is missing
    Run path/to/sdkmanager --install "cmdline-tools;latest"
    See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
    Run flutter doctor --android-licenses to accept the SDK licenses.
    See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
    [√] Chrome - develop for the web
    [√] Visual Studio - develop Windows apps (Visual Studio Professional 2019 16.11.13)
    [√] Android Studio (version 2022.1)
    [√] IntelliJ IDEA Ultimate Edition (version 2023.3)
    [√] VS Code (version 1.80.0)
    [√] Connected device (3 available)
    [√] Network resources

  4. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jan 3, 2024
  5. danagbemava-nc commented on Jan 3, 2024

    @danagbemava-nc
    Member

    Reproducible using the steps outlined above.

    korean.keyboard.mp4

    Detailed steps to repro

    • Add korean input (if you don't already have it)
    • Go to language preferences in settings
    • Select korean and click options
    • Under the keyboards, select Microsot IME and click options
    • Switch the Hardware keyboard type to either 3 Beolsik Final or 3 Beolsik 390 (it works with 2 Beolsik)
    • Run the code sample above on windows
    • Use hangul/korean input mode (not english)
    • Hit the spacebar key, nothing will happen
    flutter doctor -v
    [✓] Flutter (Channel stable, 3.16.5, on Microsoft Windows [Version 10.0.19045.3803], locale en-GH)
        • Flutter version 3.16.5 on channel stable at C:\Users\Deana\fvm\versions\stable
        • Upstream repository https://github.com/flutter/flutter.git
        • Framework revision 78666c8dc5 (2 weeks ago), 2023-12-19 16:14:14 -0800
        • Engine revision 3f3e560236
        • Dart version 3.2.3
        • DevTools version 2.28.4
    
    [✓] Windows Version (Installed version of Windows is version 10 or higher)
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
        • Android SDK at C:\Users\Deana\AppData\Local\Android\sdk
        • Platform android-34, build-tools 34.0.0
        • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
        • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
        • All Android licenses accepted.
    
    [✓] Chrome - develop for the web
        • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
    
    [✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.2)
        • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
        • Visual Studio Community 2022 version 17.8.34322.80
        • Windows 10 SDK version 10.0.22621.0
    
    [✓] Android Studio (version 2023.1)
        • Android Studio at C:\Program Files\Android\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 17.0.7+0-b2043.56-10550314)
    
    [✓] VS Code (version 1.85.1)
        • VS Code at C:\Users\Deana\AppData\Local\Programs\Microsoft VS Code
        • Flutter extension version 3.80.0
    
    [✓] Connected device (3 available)
        • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.3803]
        • Chrome (web)      • chrome  • web-javascript • Google Chrome 120.0.6099.130
        • Edge (web)        • edge    • web-javascript • Microsoft Edge 120.0.2210.91
    
    [✓] Network resources
        • All expected network resources are available.
    
    • No issues found!
    
    [!] Flutter (Channel master, 3.18.0-18.0.pre.71, on Microsoft Windows [Version 10.0.19045.3803], locale en-GH)
        • Flutter version 3.18.0-18.0.pre.71 on channel master at C:\Users\Deana\fvm\versions\master
        ! Warning: `flutter` on your path resolves to C:\Users\Deana\fvm\versions\stable\bin\flutter, which is not inside your current Flutter SDK checkout at C:\Users\Deana\fvm\versions\master. Consider adding C:\Users\Deana\fvm\versions\master\bin to the front of your path.    
        ! Warning: `dart` on your path resolves to C:\Users\Deana\fvm\versions\stable\bin\dart, which is not inside your current Flutter SDK checkout at C:\Users\Deana\fvm\versions\master. Consider adding C:\Users\Deana\fvm\versions\master\bin to the front of your path.
        • Upstream repository https://github.com/flutter/flutter.git
        • Framework revision 37d11ed8e6 (3 hours ago), 2024-01-02 23:13:53 -0500
        • Engine revision 3a7aa01b0a
        • Dart version 3.3.0 (build 3.3.0-276.0.dev)
        • DevTools version 2.31.0-dev.0
        • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
    
    [✓] Windows Version (Installed version of Windows is version 10 or higher)
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
        • Android SDK at C:\Users\Deana\AppData\Local\Android\sdk
        • Platform android-34, build-tools 34.0.0
        • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
        • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
        • All Android licenses accepted.
    
    [✓] Chrome - develop for the web
        • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
    
    [✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.2)
        • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
        • Visual Studio Community 2022 version 17.8.34322.80
        • Windows 10 SDK version 10.0.22621.0
    
    [✓] Android Studio (version 2023.1)
        • Android Studio at C:\Program Files\Android\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 17.0.7+0-b2043.56-10550314)
    
    [✓] VS Code (version 1.85.1)
        • VS Code at C:\Users\Deana\AppData\Local\Programs\Microsoft VS Code
        • Flutter extension version 3.80.0
    
    [✓] Connected device (3 available)
        • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.3803]
        • Chrome (web)      • chrome  • web-javascript • Google Chrome 120.0.6099.130
        • Edge (web)        • edge    • web-javascript • Microsoft Edge 120.0.2210.91
    
    [✓] Network resources
        • All expected network resources are available.
    
    ! Doctor found issues in 1 category.
    
  6. added
    a: text inputEntering text in a text field or keyboard related problems
    a: internationalizationSupporting other languages or locales. (aka i18n)
    platform-windowsBuilding on or for Windows specifically
    has reproducible stepsThe issue has been confirmed reproducible and is ready to work on
    and removed
    in triagePresently being triaged by the triage team
    on Jan 3, 2024
  7. added
    team-windowsOwned by the Windows platform team
    and removed on Jun 6, 2024
  8. flutter-triage-bot commented on Jun 6, 2024

    @flutter-triage-bot

    The triaged-desktop label is irrelevant if there is no team-desktop label or fyi-desktop label.

  9. p1318k commented on Oct 4, 2024

    @p1318k
    Contributor

    @danagbemava-nc Is there any update for this issue? It is reproducible on latest version of flutter sdk 3.24.3.

  10. allex127 commented on Mar 12, 2025

    @allex127
  11. allex127 commented on Mar 15, 2025

    @allex127

    The problematic version:

    Version: Windows 10 Pro
    Version Number: 22H2
    Build: 19045.4651
    Experience: 1000.19060.1000.0

  12. allex127 commented on Mar 18, 2025

    @allex127

    [2025/3/18]INFO: 20
    [2025/3/18]INFO: 28
    [2025/3/18]INFO: 32
    [2025/3/18]INFO: 32
    [2025/3/18]INFO: 32
    [2025/3/18]INFO: 32
    [2025/3/18]INFO: 32

    The spacebar keystroke is detectable, yet it fails to be resolved or identified.

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

    P2Important issues not at the top of the work lista: desktopRunning on desktopa: internationalizationSupporting other languages or locales. (aka i18n)a: text inputEntering text in a text field or keyboard related problemsfound in release: 3.16Found to occur in 3.16found in release: 3.18Found to occur in 3.18has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-windowsBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform teamtriaged-windowsTriaged by the Windows platform team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions