Repository navigation
Crash when inputting devanagari halant #110343
Copy link
Copy link
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: internationalizationSupporting other languages or locales. (aka i18n)Supporting other languages or locales. (aka i18n)a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsc: crashStack traces logged to the consoleStack traces logged to the consoledependency: skiaSkia team may need to help usSkia team may need to help usfound in release: 3.0Found to occur in 3.0Found to occur in 3.0found in release: 3.1Found to occur in 3.1Found to occur in 3.1frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onteam-text-inputOwned by Text Input teamOwned by Text Input teamtriaged-text-inputTriaged by Text Input teamTriaged by Text Input team
Description
The TextField Widget create assertion when keying in halant character using Hindi/Devanagari-QWERTY keyboard.
The code has a single TextField.
This problem occurs on any TextField irrespective of setting the controller or not. also tried various combinations for controller settings for composition. Is this a bug or we need to add any additional parameters to make it working or any workaround?
Attached screen shot and also the main.dart file.
main.dart
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'TextField Devnagari keyboard',
home: Scaffold(
appBar: AppBar(
title: const Text('TextField Devnagari keyboard'),
),
body: const TextFieldWidget(),
),
);
}
}
class TextFieldWidget extends StatelessWidget {
const TextFieldWidget({super.key});
@override
Widget build(BuildContext context) {
return Center(
child: Column(
mainAxisSize: MainAxisSize.min,
children: const <Widget>[
Padding(
padding: EdgeInsets.all(8),
child: TextField(
decoration: InputDecoration(
border: OutlineInputBorder(), hintText: 'EnterText'),
),
),
],
));
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: internationalizationSupporting other languages or locales. (aka i18n)Supporting other languages or locales. (aka i18n)a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsc: crashStack traces logged to the consoleStack traces logged to the consoledependency: skiaSkia team may need to help usSkia team may need to help usfound in release: 3.0Found to occur in 3.0Found to occur in 3.0found in release: 3.1Found to occur in 3.1Found to occur in 3.1frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onteam-text-inputOwned by Text Input teamOwned by Text Input teamtriaged-text-inputTriaged by Text Input teamTriaged by Text Input team

Activity
cloudonlanapps commentedon Aug 26, 2022
System configurations:
Flutter (Channel stable, 3.0.5, on macOS 12.5.1 21G83 darwin-x64, locale en-GB)
macOS Monterey 12.5.1 (21G83)
[-]Problem with keyboard input for devanagari halant[/-][+][macOS] Crash when inputting devanagari halant[/+][-][macOS] Crash when inputting devanagari halant[/-][+]Crash when inputting devanagari halant[/+]danagbemava-nc commentedon Aug 29, 2022
Issue is reproducible using the code sample provided above. I was able to reproduce this on both chrome and macOS.
Steps to repro (copied from the image above)
exception
macOS
chrome
flutter doctor -v
chrome.log
macos.log
16 remaining items
flutter-triage-bot commentedon Feb 23, 2024
This issue is assigned to @LongCatIsLooong but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks!
flutter-triage-bot commentedon May 11, 2024
This issue was assigned to @LongCatIsLooong but has had no status updates in a long time. To remove any ambiguity about whether the issue is being worked on, the assignee was removed.
justinmc commentedon May 17, 2024
Talking with @LongCatIsLooong in triage, we think we might be able to just remove the assert, since in devanagari it is apparently valid to have a grapheme partially in a composing region.
Remove an assert with false positives (#148795)
Remove an assert with false positives (flutter#148795)
github-actions commentedon Jun 5, 2024
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 -vand a minimal reproduction of the issue.