Skip to content

The operation of converting from Japanese strings to symbols on certain Android devices is bad #120351

@mi6ock

Description

@mi6ock

Using TextField on Samsung devices, the behavior when converting from Japanese to 2-letter symbols is bad.
The same phenomenon did not occur when I used Google Gboard, so I think this is a problem specific to Samsung's software keyboard .

Steps to Reproduce

  1. Execute flutter run on the code sample
  2. Type "かっこ" in Japanese
  3. Tap the line break symbol in the lower right corner of software keyboard.
2023-02-09.18.07.01.mov

Expected results:
Text input is confirmed. Like this word app.

aaaaa.mov

Actual results:
Text input is not confirmed.

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

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

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Center(
          child: TextField(maxLines: null),
        ),
      ),
    );
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: internationalizationSupporting other languages or locales. (aka i18n)a: text inputEntering text in a text field or keyboard related problemse: device-specificOnly manifests on certain devicese: samsungIssues only reproducible on Samsung devicesfound in release: 3.7Found to occur in 3.7found in release: 3.8Found to occur in 3.8has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions