Paste shortcut crash app after last flutter update(3.3.2)

This issue has been tracked since 2022-09-23.

Hello, after last update I get this Exception by using Ctrl+v command on Windows., and after that the app crashd Flutter version after update: 3.3.2. It worked fine in the prev version

 Exception caught by services library ══════════════════════════════════
The following assertion was thrown during a platform message callback:
A KeyRepeatEvent is dispatched, but the state shows that the physical key is not pressed. If this occurs in real application, please report this bug to Flutter. If this occurs in unit tests, please ensure that simulated events follow Flutter's event model as documented in `HardwareKeyboard`. This was the event: KeyRepeatEvent#6e588(physicalKey: PhysicalKeyboardKey#700e0(usbHidUsage: "0x000700e0", debugName: "Control Left"), logicalKey: LogicalKeyboardKey#00100(keyId: "0x200000100", keyLabel: "Control Left", debugName: "Control Left"), character: null, timeStamp: 2:07:08.427450)
'package:flutter/src/services/hardware_keyboard.dart':
package:flutter/…/services/hardware_keyboard.dart:1
Failed assertion: line 432 pos 16: '_pressedKeys.containsKey(event.physicalKey)'
darshankawar wrote this answer on 2022-09-23

@szabolcs81
Can you switch to latest master version and try the same scenario and see if you still get same error or not ?

flutter channel master
flutter upgrade

szabolcs81 wrote this answer on 2022-09-23

@darshankawar
I did it and the error has gone. Thank you

darshankawar wrote this answer on 2022-09-23

Thanks for quick confirmation. It was fixed as part of this #108646.

Closing, as it works on latest master.

More Details About Repo
Owner Name flutter
Repo Name flutter
Full Name flutter/flutter
Language Dart
Created Date 2015-03-06
Updated Date 2022-10-04
Star Count 145499
Watcher Count 3567
Fork Count 23393
Issue Count 11206

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date