-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#29396Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: annoyanceRepeatedly frustrating issues with non-experimental functionalityRepeatedly frustrating issues with non-experimental functionalitya: desktopRunning on desktopRunning on desktopa: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsc: regressionIt was better in the past than it is nowIt was better in the past than it is nowplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specifically
Description
On Windows, the last composing character either can't be deleted or takes an extra backspace.
- Run the app below (anything with a text field) on Windows.
- Type some composing text, such as "nihao" with your input set to Chinese pinyin.
- Use the backspace key to delete the characters you entered.
Expected: 5 backspaces should delete "nihao"
Actual: The fifth backspace removes the composing region and the sixth deletes the final "n". Or, sometimes I am unable to delete the final letter at all, but I'm not sure how to consistently reproduce that.
Here's a video, but unfortunately it doesn't capture the composing menu.
sandbox.2021-10-19.13-54-21.mp4
Code
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';
//import 'package:flutter_localizations/flutter_localizations.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: Scaffold(
appBar: AppBar(
title: const Text('Flutter Demo Home Page'),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: const <Widget>[
TextField(),
],
),
),
),
);
}
}Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: annoyanceRepeatedly frustrating issues with non-experimental functionalityRepeatedly frustrating issues with non-experimental functionalitya: desktopRunning on desktopRunning on desktopa: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsc: regressionIt was better in the past than it is nowIt was better in the past than it is nowplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specifically