flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
165.09k stars 27.21k forks source link

All keys, except alphanumeric keys, throw exception when entering input into a TextField if the Flutter app is focused while holding the control key #111823

Closed waj334 closed 2 years ago

waj334 commented 2 years ago

Steps to Reproduce

  1. Create a widget with a TextField and start the app.
  2. Click out of the app onto another running application.
  3. Hold down the control key.
  4. While holding the control key, click back into the Flutter app.

Expected results: I expected to be able to use backspace, arrow keys or any non-alphanumeric key when interacting with a TextField

Actual results: I get the following exception and the input is not processed:

====================================================================================================
Unable to parse JSON message:
The document is empty.

======== 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#26ac8(physicalKey: PhysicalKeyboardKey#700e0(usbHidUsage: "0x000700e0", debugName: "Control Left"), logicalKey: LogicalKeyboardKey#00100(keyId: "0x200000100", keyLabel: "Control Left", debugName: "Control Left"), character: null, timeStamp: 91:47:04.953190)
'package:flutter/src/services/hardware_keyboard.dart':
Failed assertion: line 432 pos 16: '_pressedKeys.containsKey(event.physicalKey)'

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.md

When the exception was thrown, this was the stack: 
#2      HardwareKeyboard._assertEventIsRegular.<anonymous closure> (package:flutter/src/services/hardware_keyboard.dart:432:16)
#3      HardwareKeyboard._assertEventIsRegular (package:flutter/src/services/hardware_keyboard.dart:443:6)
#4      HardwareKeyboard.handleKeyEvent (package:flutter/src/services/hardware_keyboard.dart:535:5)
#5      KeyEventManager.handleRawKeyMessage (package:flutter/src/services/hardware_keyboard.dart:881:37)
#6      BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:197:49)
#7      _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:387:35)
#8      _invoke2 (dart:ui/hooks.dart:186:13)
#9      _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42:5)
#10     _Channel.push (dart:ui/channel_buffers.dart:132:31)
#11     ChannelBuffers.push (dart:ui/channel_buffers.dart:329:17)
#12     PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:599:22)
#13     _dispatchPlatformMessage (dart:ui/hooks.dart:89:31)
(elided 2 frames from class _AssertionError)
====================================================================================================
Code sample ```dart import 'package:flutter/material.dart'; class MyWidget extends StatefulWidget { const MyWidget({ super.key, }); @override MyWidgetState createState() => MyWidgetState(); } class MyWidgetState extends State{ final TextEditingController controller = TextEditingController(); @override Widget build(BuildContext context) { return TextField( controller: controller, ); } } ```
Logs ``` [ +61 ms] executing: [C:\flutter\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +78 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] e3c29ec00c9c825c891d75054c63fcc46454dca1 [ ] executing: [C:\flutter\flutter/] git tag --points-at e3c29ec00c9c825c891d75054c63fcc46454dca1 [ +66 ms] Exit code 0 from: git tag --points-at e3c29ec00c9c825c891d75054c63fcc46454dca1 [ ] 3.3.2 [ +36 ms] executing: [C:\flutter\flutter/] git rev-parse --abbrev-ref --symbolic @{upstream} [ +49 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream} [ ] origin/stable [ ] executing: [C:\flutter\flutter/] git ls-remote --get-url origin [ +43 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +79 ms] executing: [C:\flutter\flutter/] git rev-parse --abbrev-ref HEAD [ +50 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] stable [ +112 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +57 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +6 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +73 ms] Skipping pub get: version match. [ +139 ms] Generating C:\Users\waj33\Projects\omibyte\tools\devemu\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java [ +91 ms] Initializing file store [ +8 ms] Skipping target: gen_localizations [ +4 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\Users\waj33\Projects\omibyte\tools\devemu\.dart_tool\package_config_subset} [ +22 ms] gen_dart_plugin_registrant: Complete [ +1 ms] Skipping target: _composite [ ] complete [ +4 ms] Launching lib\main.dart on Windows in debug mode... [ +2 ms] C:\flutter\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\flutter\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root C:\flutter\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -Dflutter.inspector.structuredErrors=true -DFLUTTER_WEB_AUTO_DETECT=true --output-dill C:\Users\waj33\AppData\Local\Temp\flutter_tools.53c1d074\flutter_tool.51af67d3\app.dill --packages C:\Users\waj33\Projects\omibyte\tools\devemu\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\4f2a58af27abc49ecf55570043bbf938.cache.dill.track.dill --verbosity=error --enable-experiment=alternative-invalidation-strategy [ +24 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project [ +73 ms] Exit code 0 from: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project [ ] [ { "instanceId": "d6ffb4f1", "installDate": "2021-10-19T01:21:41Z", "installationName": "VisualStudio/16.11.5+31729.503", "installationPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional", "installationVersion": "16.11.31729.503", "productId": "Microsoft.VisualStudio.Product.Professional", "productPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Common7\\IDE\\devenv.exe", "state": 4294967295, "isComplete": true, "isLaunchable": true, "isPrerelease": false, "isRebootRequired": false, "displayName": "Visual Studio Professional 2019", "description": "Professional IDE best suited to small teams", "channelId": "VisualStudio.16.Release", "channelUri": "https://aka.ms/vs/16/release/channel", "enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service", "releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11#16.11.5", "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909", "updateDate": "2021-10-19T01:21:41.7756813Z", "catalog": { "buildBranch": "d16.11", "buildVersion": "16.11.31729.503", "id": "VisualStudio/16.11.5+31729.503", "localBuild": "build-lab", "manifestName": "VisualStudio", "manifestType": "installer", "productDisplayVersion": "16.11.5", "productLine": "Dev16", "productLineVersion": "2019", "productMilestone": "RTW", "productMilestoneIsPreRelease": "False", "productName": "Visual Studio", "productPatchVersion": "5", "productPreReleaseMilestoneSuffix": "1.0", "productSemanticVersion": "16.11.5+31729.503", "requiredEngineVersion": "2.11.40.25675" }, "properties": { "campaignId": "", "channelManifestId": "VisualStudio.16.Release/16.11.5+31729.503", "nickname": "", "setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe" } } ] Building Windows application... [ +22 ms] <- compile package:devemu/main.dart [ ] executing: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -S C:\Users\waj33\Projects\omibyte\tools\devemu\windows -B build\windows -G Visual Studio 16 2019 [ +194 ms] -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000. [ +26 ms] -- Configuring done [ +75 ms] -- Generating done [ +4 ms] -- Build files have been written to: C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows [ +7 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe --build build\windows --config Debug --target INSTALL --verbose [ +269 ms] Microsoft (R) Build Engine version 16.11.1+3e40a09f8 for .NET Framework [ ] Copyright (C) Microsoft Corporation. All rights reserved. [ +48 ms] Build started 9/17/2022 9:29:05 PM. [ +192 ms] Project "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\INSTALL.vcxproj" on node 1 (default targets). [ ] Project "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\INSTALL.vcxproj" (1) is building "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\ZERO_CHECK.vcxproj" (2) on node 1 (default targets). [ ] InitializeBuildStatus: [ ] Creating "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ +25 ms] CustomBuild: [ ] All outputs are up-to-date. [ +34 ms] FinalizeBuildStatus: [ ] Deleting file "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild". [ ] Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate". [ ] Done Building Project "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\ZERO_CHECK.vcxproj" (default targets). [ +72 ms] Project "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\INSTALL.vcxproj" (1) is building "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\ALL_BUILD.vcxproj" (3) on node 1 (default targets). [ ] Project "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\ALL_BUILD.vcxproj" (3) is building "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\runner\devemu.vcxproj" (4) on node 1 (default targets). [ ] Project "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\runner\devemu.vcxproj" (4) is building "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\flutter\flutter_assemble.vcxproj" (5) on node 1 (default targets). [ ] InitializeBuildStatus: [ ] Creating "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ +23 ms] CustomBuild: [ ] "The build of 'C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\CMakeFiles\a06183b24ac708c95d04005830613577\flutter_assemble.rule' depends on 'C:\USERS\WAJ33\PROJECTS\OMIBYTE\TOOLS\DEVEMU\WINDOWS\FLUTTER\EPHEMERAL\FLUTTER_WINDOWS.DLL' which is produced by the build of 'C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\CMakeFiles\24791947afc61efd5875d060d26ee762\flutter_windows.dll.rule'. The items cannot be built in parallel." [ +112 ms] Generating C:/Users/waj33/Projects/omibyte/tools/devemu/windows/flutter/ephemeral/flutter_windows.dll, C:/Users/waj33/Projects/omibyte/tools/devemu/windows/flutter/ephemeral/flutter_export.h, C:/Users/waj33/Projects/omibyte/tools/devemu/windows/flutter/ephemeral/flutter_windows.h, C:/Users/waj33/Projects/omibyte/tools/devemu/windows/flutter/ephemeral/flutter_messenger.h, C:/Users/waj33/Projects/omibyte/tools/devemu/windows/flutter/ephemeral/flutter_plugin_registrar.h, C:/Users/waj33/Projects/omibyte/tools/devemu/windows/flutter/ephemeral/flutter_texture_registrar.h, C:/Users/waj33/Projects/omibyte/tools/devemu/windows/flutter/ephemeral/cpp_client_wrapper/core_implementations.cc, C:/Users/waj33/Projects/omibyte/tools/devemu/windows/flutter/ephemeral/cpp_client_wrapper/standard_codec.cc, C:/Users/waj33/Projects/omibyte/tools/devemu/windows/flutter/ephemeral/cpp_client_wrapper/plugin_registrar.cc, C:/Users/waj33/Projects/omibyte/tools/devemu/windows/flutter/ephemeral/cpp_client_wrapper/flutter_engine.cc, C:/Users/waj33/Projects/omibyte/tools/devemu/windows/flutter/ephemeral/cpp_client_wrapper/flutter_view_controller.cc, _phony_ [ +951 ms] [ +65 ms] executing: [C:\flutter\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +69 ms] [ +86 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ ] e3c29ec00c9c825c891d75054c63fcc46454dca1 [ ] [ ] executing: [C:\flutter\flutter/] git tag --points-at e3c29ec00c9c825c891d75054c63fcc46454dca1 [ +74 ms] [ +74 ms] Exit code 0 from: git tag --points-at e3c29ec00c9c825c891d75054c63fcc46454dca1 [ ] [ ] 3.3.2 [ +49 ms] [ +49 ms] executing: [C:\flutter\flutter/] git rev-parse --abbrev-ref HEAD [ +54 ms] [ +54 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] [ ] stable [ +118 ms] [ +118 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +3 ms] [ +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +88 ms] [ +88 ms] executing: [C:\flutter\flutter/] git rev-parse --abbrev-ref --symbolic @{upstream} [ +56 ms] [ +56 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream} [ ] [ ] origin/stable [ ] [ ] executing: [C:\flutter\flutter/] git ls-remote --get-url origin [ +50 ms] [ +50 ms] Exit code 0 from: git ls-remote --get-url origin [ ] [ ] https://github.com/flutter/flutter.git [ ] [ ] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ +3 ms] [ +3 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update. [ +31 ms] [ +31 ms] Initializing file store [ +14 ms] [ +14 ms] Done initializing file store [ +43 ms] [ +43 ms] Skipping target: gen_localizations [ +9 ms] [ +9 ms] Skipping target: gen_dart_plugin_registrant [+2551 ms] [+2551 ms] Skipping target: unpack_windows [ +558 ms] [ +558 ms] kernel_snapshot: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\Users\waj33\Projects\omibyte\tools\devemu\lib\main.dart} [ +8 ms] [ +8 ms] C:\flutter\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\flutter\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root C:\flutter\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -Dflutter.inspector.structuredErrors=true -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --packages C:\Users\waj33\Projects\omibyte\tools\devemu\.dart_tool\package_config.json --output-dill C:\Users\waj33\Projects\omibyte\tools\devemu\.dart_tool\flutter_build\4062b28326b2a2224bc373e863f1fbfe\app.dill --depfile C:\Users\waj33\Projects\omibyte\tools\devemu\.dart_tool\flutter_build\4062b28326b2a2224bc373e863f1fbfe\kernel_snapshot.d --incremental --initialize-from-dill C:\Users\waj33\Projects\omibyte\tools\devemu\.dart_tool\flutter_build\4062b28326b2a2224bc373e863f1fbfe\app.dill --verbosity=error package:devemu/main.dart [+1246 ms] [+1246 ms] kernel_snapshot: Complete [ +375 ms] [ +375 ms] debug_bundle_windows_assets: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\Users\waj33\Projects\omibyte\tools\devemu\.dart_tool\flutter_build\4062b28326b2a2224bc373e863f1fbfe\app.dill} [ +247 ms] [ +247 ms] debug_bundle_windows_assets: Complete [ +178 ms] [ +178 ms] Persisting file store [ +9 ms] [ +9 ms] Done persisting file store [ +6 ms] [ +6 ms] build succeeded. [ +10 ms] [ +10 ms] "flutter assemble" took 5,508ms. [ +60 ms] [ +60 ms] ensureAnalyticsSent: 57ms [ ] [ ] Running shutdown hooks [ ] [ ] Shutdown hooks complete [ ] [ ] exiting with code 0 [ +66 ms] FinalizeBuildStatus: [ ] Deleting file "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild". [ ] Touching "x64\Debug\flutter_assemble\flutter_assemble.tlog\flutter_assemble.lastbuildstate". [ ] Done Building Project "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\flutter\flutter_assemble.vcxproj" (default targets). [ +30 ms] Project "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\runner\devemu.vcxproj" (4) is building "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\flutter\flutter_wrapper_app.vcxproj" (6) on node 1 (default targets). [ ] InitializeBuildStatus: [ ] Creating "flutter_wrapper_app.dir\Debug\flutter_.9989E99A.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ +1 ms] CustomBuild: [ ] All outputs are up-to-date. [ +34 ms] ClCompile: [ ] All outputs are up-to-date. [ +20 ms] Lib: [ ] All outputs are up-to-date. [ ] flutter_wrapper_app.vcxproj -> C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\flutter\Debug\flutter_wrapper_app.lib [ +8 ms] FinalizeBuildStatus: [ ] Deleting file "flutter_wrapper_app.dir\Debug\flutter_.9989E99A.tlog\unsuccessfulbuild". [ ] Touching "flutter_wrapper_app.dir\Debug\flutter_.9989E99A.tlog\flutter_wrapper_app.lastbuildstate". [ ] Done Building Project "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\flutter\flutter_wrapper_app.vcxproj" (default targets). [ +6 ms] InitializeBuildStatus: [ ] Creating "devemu.dir\Debug\devemu.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ +1 ms] CustomBuild: [ ] All outputs are up-to-date. [ +18 ms] ClCompile: [ ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /IC:\Users\waj33\Projects\omibyte\tools\devemu\windows /IC:\Users\waj33\Projects\omibyte\tools\devemu\windows\flutter\ephemeral /IC:\Users\waj33\Projects\omibyte\tools\devemu\windows\flutter\ephemeral\cpp_client_wrapper\include /Zi /nologo /W4 /WX /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D _HAS_EXCEPTIONS=0 /D _DEBUG /D "FLUTTER_VERSION=\"1.0.0+1\"" /D FLUTTER_VERSION_MAJOR=1 /D FLUTTER_VERSION_MINOR=0 /D FLUTTER_VERSION_PATCH=0 /D FLUTTER_VERSION_BUILD=1 /D NOMINMAX /D UNICODE /D _UNICODE /D "CMAKE_INTDIR=\"Debug\"" /D _UNICODE /D UNICODE /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /std:c++17 /Fo"devemu.dir\Debug\\" /Fd"devemu.dir\Debug\vc142.pdb" /external:W4 /Gd /TP /wd4100 /errorReport:queue C:\Users\waj33\Projects\omibyte\tools\devemu\windows\flutter\generated_plugin_registrant.cc C:\Users\waj33\Projects\omibyte\tools\devemu\windows\runner\flutter_window.cpp [ +149 ms] generated_plugin_registrant.cc [ +464 ms] flutter_window.cpp [ +610 ms] Generating Code... [ +130 ms] ResourceCompile: [ ] All outputs are up-to-date. [ +20 ms] Link: [ ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\runner\Debug\devemu.exe" /INCREMENTAL /ILK:"devemu.dir\Debug\devemu.ilk" /NOLOGO ..\flutter\Debug\flutter_wrapper_app.lib C:\Users\waj33\Projects\omibyte\tools\devemu\windows\flutter\ephemeral\flutter_windows.dll.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /manifestinput:C:\Users\waj33\Projects\omibyte\tools\devemu\windows\runner\runner.exe.manifest /DEBUG /PDB:"C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows/runner/Debug/devemu.pdb" /SUBSYSTEM:WINDOWS /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows/runner/Debug/devemu.lib" /MACHINE:X64 /machine:x64 devemu.dir\Debug\Runner.res [ ] devemu.dir\Debug\flutter_window.obj [ ] devemu.dir\Debug\main.obj [ ] devemu.dir\Debug\utils.obj [ ] devemu.dir\Debug\win32_window.obj [ ] devemu.dir\Debug\generated_plugin_registrant.obj [ +295 ms] devemu.vcxproj -> C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\runner\Debug\devemu.exe [ +4 ms] FinalizeBuildStatus: [ ] Deleting file "devemu.dir\Debug\devemu.tlog\unsuccessfulbuild". [ ] Touching "devemu.dir\Debug\devemu.tlog\devemu.lastbuildstate". [ ] Done Building Project "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\runner\devemu.vcxproj" (default targets). [ +28 ms] Project "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\ALL_BUILD.vcxproj" (3) is building "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\flutter\flutter_wrapper_plugin.vcxproj" (7) on node 1 (default targets). [ ] InitializeBuildStatus: [ ] Creating "flutter_wrapper_plugin.dir\Debug\flutter_.7BCFDE1E.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ +1 ms] CustomBuild: [ ] All outputs are up-to-date. [ +6 ms] ClCompile: [ ] All outputs are up-to-date. [ +2 ms] Lib: [ ] All outputs are up-to-date. [ ] flutter_wrapper_plugin.vcxproj -> C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\flutter\Debug\flutter_wrapper_plugin.lib [ +4 ms] FinalizeBuildStatus: [ ] Deleting file "flutter_wrapper_plugin.dir\Debug\flutter_.7BCFDE1E.tlog\unsuccessfulbuild". [ ] Touching "flutter_wrapper_plugin.dir\Debug\flutter_.7BCFDE1E.tlog\flutter_wrapper_plugin.lastbuildstate". [ ] Done Building Project "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\flutter\flutter_wrapper_plugin.vcxproj" (default targets). [ +6 ms] InitializeBuildStatus: [ ] Creating "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ +1 ms] CustomBuild: [ ] All outputs are up-to-date. [ +6 ms] FinalizeBuildStatus: [ ] Deleting file "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild". [ ] Touching "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate". [ ] Done Building Project "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\ALL_BUILD.vcxproj" (default targets). [ +10 ms] InitializeBuildStatus: [ ] Creating "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ +90 ms] PostBuildEvent: [ ] setlocal [ ] "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake [ ] if %errorlevel% neq 0 goto :cmEnd [ ] :cmEnd [ ] endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [ ] :cmErrorLevel [ ] exit /b %1 [ ] :cmDone [ ] if %errorlevel% neq 0 goto :VCEnd [ ] :VCEnd [ +101 ms] -- Install configuration: "Debug" [ +1 ms] -- Up-to-date: C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows/runner/Debug/data/icudtl.dat [ ] -- Up-to-date: C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows/runner/Debug/flutter_windows.dll [ +9 ms] -- Installing: C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows/runner/Debug/data/flutter_assets [ +1 ms] -- Installing: C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows/runner/Debug/data/flutter_assets/AssetManifest.json [ +1 ms] -- Installing: C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows/runner/Debug/data/flutter_assets/FontManifest.json [ +1 ms] -- Installing: C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows/runner/Debug/data/flutter_assets/fonts [ +1 ms] -- Installing: C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows/runner/Debug/data/flutter_assets/fonts/MaterialIcons-Regular.otf [ +5 ms] -- Installing: C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows/runner/Debug/data/flutter_assets/kernel_blob.bin [ +95 ms] -- Installing: C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows/runner/Debug/data/flutter_assets/NOTICES.Z [ +1 ms] -- Installing: C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows/runner/Debug/data/flutter_assets/packages [ +1 ms] -- Installing: C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons [ +1 ms] -- Installing: C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets [ +1 ms] -- Installing: C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf [ +2 ms] -- Installing: C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows/runner/Debug/data/flutter_assets/shaders [ +1 ms] -- Installing: C:/Users/waj33/Projects/omibyte/tools/devemu/build/windows/runner/Debug/data/flutter_assets/shaders/ink_sparkle.frag [ +11 ms] FinalizeBuildStatus: [ ] Deleting file "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild". [ ] Touching "x64\Debug\INSTALL\INSTALL.tlog\INSTALL.lastbuildstate". [ ] Done Building Project "C:\Users\waj33\Projects\omibyte\tools\devemu\build\windows\INSTALL.vcxproj" (default targets). [ ] Build succeeded. [ ] 0 Warning(s) [ ] 0 Error(s) [ ] Time Elapsed 00:00:09.62 [ +982 ms] Observatory URL on device: http://127.0.0.1:64748/FBeKpZplEjk=/ [ +3 ms] Caching compiled dill [ +36 ms] Connecting to service protocol: http://127.0.0.1:64748/FBeKpZplEjk=/ [ +96 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:64748/FBeKpZplEjk=/. [ +55 ms] DDS is listening at http://127.0.0.1:64751/RK8M_aL1Gsw=/. [ +42 ms] Successfully connected to service protocol: http://127.0.0.1:64748/FBeKpZplEjk=/ [ +15 ms] DevFS: Creating new filesystem on the device (null) [ +14 ms] DevFS: Created new filesystem on the device (file:///C:/Users/waj33/AppData/Local/Temp/devemu18803493/devemu/) [ +1 ms] Updating assets Debug service listening on ws://127.0.0.1:64751/RK8M_aL1Gsw=/ws Syncing files to device Windows... [ +78 ms] Compiling dart to kernel with 0 updated files [ ] Processing bundle. [ ] <- recompile package:devemu/main.dart b88c9298-9f89-4e59-b73b-e2f268f2a61d [ ] <- b88c9298-9f89-4e59-b73b-e2f268f2a61d [ +1 ms] Bundle processing done. [ +77 ms] Updating files. [ ] DevFS: Sync finished [ ] Synced 0.0MB. [ ] <- accept [ +2 ms] Connected to _flutterView/0x1c040354c90. [+7222 ms] Unable to parse JSON message: [ ] The document is empty. [ +6 ms] Unable to parse JSON message: [ ] The document is empty. ======== 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#dfcda(physicalKey: PhysicalKeyboardKey#700e0(usbHidUsage: "0x000700e0", debugName: "Control Left"), logicalKey: LogicalKeyboardKey#00100(keyId: "0x200000100", keyLabel: "Control Left", debugName: "Control Left"), character: null, timeStamp: 91:58:09.610976) 'package:flutter/src/services/hardware_keyboard.dart': Failed assertion: line 432 pos 16: '_pressedKeys.containsKey(event.physicalKey)' Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause. In either case, please report this assertion by filing a bug on GitHub: https://github.com/flutter/flutter/issues/new?template=2_bug.md When the exception was thrown, this was the stack: #2 HardwareKeyboard._assertEventIsRegular. (package:flutter/src/services/hardware_keyboard.dart:432:16) #3 HardwareKeyboard._assertEventIsRegular (package:flutter/src/services/hardware_keyboard.dart:443:6) #4 HardwareKeyboard.handleKeyEvent (package:flutter/src/services/hardware_keyboard.dart:535:5) #5 KeyEventManager.handleRawKeyMessage (package:flutter/src/services/hardware_keyboard.dart:881:37) #6 BasicMessageChannel.setMessageHandler. (package:flutter/src/services/platform_channel.dart:197:49) #7 _DefaultBinaryMessenger.setMessageHandler. (package:flutter/src/services/binding.dart:387:35) #8 _invoke2 (dart:ui/hooks.dart:186:13) #9 _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42:5) #10 _Channel.push (dart:ui/channel_buffers.dart:132:31) #11 ChannelBuffers.push (dart:ui/channel_buffers.dart:329:17) #12 PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:599:22) #13 _dispatchPlatformMessage (dart:ui/hooks.dart:89:31) (elided 2 frames from class _AssertionError) ==================================================================================================== ======== 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#dfcda(physicalKey: PhysicalKeyboardKey#700e0(usbHidUsage: "0x000700e0", debugName: "Control Left"), logicalKey: LogicalKeyboardKey#00100(keyId: "0x200000100", keyLabel: "Control Left", debugName: "Control Left"), character: null, timeStamp: 91:58:09.610976) 'package:flutter/src/services/hardware_keyboard.dart': Failed assertion: line 432 pos 16: '_pressedKeys.containsKey(event.physicalKey)' Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause. In either case, please report this assertion by filing a bug on GitHub: https://github.com/flutter/flutter/issues/new?template=2_bug.md When the exception was thrown, this was the stack: #2 HardwareKeyboard._assertEventIsRegular. (package:flutter/src/services/hardware_keyboard.dart:432:16) #3 HardwareKeyboard._assertEventIsRegular (package:flutter/src/services/hardware_keyboard.dart:443:6) #4 HardwareKeyboard.handleKeyEvent (package:flutter/src/services/hardware_keyboard.dart:535:5) #5 KeyEventManager.handleRawKeyMessage (package:flutter/src/services/hardware_keyboard.dart:881:37) #6 BasicMessageChannel.setMessageHandler. (package:flutter/src/services/platform_channel.dart:197:49) #7 _DefaultBinaryMessenger.setMessageHandler. (package:flutter/src/services/binding.dart:387:35) #8 _invoke2 (dart:ui/hooks.dart:186:13) #9 _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42:5) #10 _Channel.push (dart:ui/channel_buffers.dart:132:31) #11 ChannelBuffers.push (dart:ui/channel_buffers.dart:329:17) #12 PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:599:22) #13 _dispatchPlatformMessage (dart:ui/hooks.dart:89:31) (elided 2 frames from class _AssertionError) ==================================================================================================== [ +27 ms] Unable to parse JSON message: [ ] The document is empty. [ +42 ms] Unable to parse JSON message: [ ] The document is empty. ======== 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#dfcda(physicalKey: PhysicalKeyboardKey#700e0(usbHidUsage: "0x000700e0", debugName: "Control Left"), logicalKey: LogicalKeyboardKey#00100(keyId: "0x200000100", keyLabel: "Control Left", debugName: "Control Left"), character: null, timeStamp: 91:58:09.610976) 'package:flutter/src/services/hardware_keyboard.dart': Failed assertion: line 432 pos 16: '_pressedKeys.containsKey(event.physicalKey)' Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause. In either case, please report this assertion by filing a bug on GitHub: https://github.com/flutter/flutter/issues/new?template=2_bug.md When the exception was thrown, this was the stack: #2 HardwareKeyboard._assertEventIsRegular. (package:flutter/src/services/hardware_keyboard.dart:432:16) #3 HardwareKeyboard._assertEventIsRegular (package:flutter/src/services/hardware_keyboard.dart:443:6) #4 HardwareKeyboard.handleKeyEvent (package:flutter/src/services/hardware_keyboard.dart:535:5) #5 KeyEventManager.handleRawKeyMessage (package:flutter/src/services/hardware_keyboard.dart:881:37) #6 BasicMessageChannel.setMessageHandler. (package:flutter/src/services/platform_channel.dart:197:49) #7 _DefaultBinaryMessenger.setMessageHandler. (package:flutter/src/services/binding.dart:387:35) #8 _invoke2 (dart:ui/hooks.dart:186:13) #9 _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42:5) #10 _Channel.push (dart:ui/channel_buffers.dart:132:31) #11 ChannelBuffers.push (dart:ui/channel_buffers.dart:329:17) #12 PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:599:22) #13 _dispatchPlatformMessage (dart:ui/hooks.dart:89:31) (elided 2 frames from class _AssertionError) ==================================================================================================== ======== 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#dfcda(physicalKey: PhysicalKeyboardKey#700e0(usbHidUsage: "0x000700e0", debugName: "Control Left"), logicalKey: LogicalKeyboardKey#00100(keyId: "0x200000100", keyLabel: "Control Left", debugName: "Control Left"), character: null, timeStamp: 91:58:09.610976) 'package:flutter/src/services/hardware_keyboard.dart': Failed assertion: line 432 pos 16: '_pressedKeys.containsKey(event.physicalKey)' Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause. In either case, please report this assertion by filing a bug on GitHub: https://github.com/flutter/flutter/issues/new?template=2_bug.md When the exception was thrown, this was the stack: #2 HardwareKeyboard._assertEventIsRegular. (package:flutter/src/services/hardware_keyboard.dart:432:16) #3 HardwareKeyboard._assertEventIsRegular (package:flutter/src/services/hardware_keyboard.dart:443:6) #4 HardwareKeyboard.handleKeyEvent (package:flutter/src/services/hardware_keyboard.dart:535:5) #5 KeyEventManager.handleRawKeyMessage (package:flutter/src/services/hardware_keyboard.dart:881:37) #6 BasicMessageChannel.setMessageHandler. (package:flutter/src/services/platform_channel.dart:197:49) #7 _DefaultBinaryMessenger.setMessageHandler. (package:flutter/src/services/binding.dart:387:35) #8 _invoke2 (dart:ui/hooks.dart:186:13) #9 _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42:5) #10 _Channel.push (dart:ui/channel_buffers.dart:132:31) #11 ChannelBuffers.push (dart:ui/channel_buffers.dart:329:17) #12 PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:599:22) #13 _dispatchPlatformMessage (dart:ui/hooks.dart:89:31) (elided 2 frames from class _AssertionError) ==================================================================================================== [ +70 ms] Unable to parse JSON message: [ ] The document is empty. [ ] Unable to parse JSON message: [ ] The document is empty. [ +24 ms] Unable to parse JSON message: [ ] The document is empty. [ +31 ms] Unable to parse JSON message: [ ] The document is empty. [ +32 ms] Unable to parse JSON message: [ ] The document is empty. ======== 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#dfcda(physicalKey: PhysicalKeyboardKey#700e0(usbHidUsage: "0x000700e0", debugName: "Control Left"), logicalKey: LogicalKeyboardKey#00100(keyId: "0x200000100", keyLabel: "Control Left", debugName: "Control Left"), character: null, timeStamp: 91:58:09.610976) 'package:flutter/src/services/hardware_keyboard.dart': Failed assertion: line 432 pos 16: '_pressedKeys.containsKey(event.physicalKey)' Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause. In either case, please report this assertion by filing a bug on GitHub: https://github.com/flutter/flutter/issues/new?template=2_bug.md When the exception was thrown, this was the stack: #2 HardwareKeyboard._assertEventIsRegular. (package:flutter/src/services/hardware_keyboard.dart:432:16) #3 HardwareKeyboard._assertEventIsRegular (package:flutter/src/services/hardware_keyboard.dart:443:6) #4 HardwareKeyboard.handleKeyEvent (package:flutter/src/services/hardware_keyboard.dart:535:5) #5 KeyEventManager.handleRawKeyMessage (package:flutter/src/services/hardware_keyboard.dart:881:37) #6 BasicMessageChannel.setMessageHandler. (package:flutter/src/services/platform_channel.dart:197:49) #7 _DefaultBinaryMessenger.setMessageHandler. (package:flutter/src/services/binding.dart:387:35) #8 _invoke2 (dart:ui/hooks.dart:186:13) #9 _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42:5) #10 _Channel.push (dart:ui/channel_buffers.dart:132:31) #11 ChannelBuffers.push (dart:ui/channel_buffers.dart:329:17) #12 PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:599:22) #13 _dispatchPlatformMessage (dart:ui/hooks.dart:89:31) (elided 2 frames from class _AssertionError) ==================================================================================================== ``` ``` flutter analyze Analyzing devemu... No issues found! (ran in 1.7s) ``` ``` [√] Flutter (Channel stable, 3.3.2, on Microsoft Windows [Version 10.0.22000.978], locale en-US) • Flutter version 3.3.2 on channel stable at C:\flutter\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision e3c29ec00c (4 days ago), 2022-09-14 08:46:55 -0500 • Engine revision a4ff2c53d8 • Dart version 2.18.1 • DevTools version 2.15.0 [√] Android toolchain - develop for Android devices (Android SDK version 32.0.0) • Android SDK at C:\Users\waj33\AppData\Local\Android\sdk • Platform android-32, build-tools 32.0.0 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [√] Visual Studio - develop for Windows (Visual Studio Professional 2019 16.11.5) • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional • Visual Studio Professional 2019 version 16.11.31729.503 • Windows 10 SDK version 10.0.19041.0 [√] Android Studio (version 2021.2) • 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.12+7-b1504.28-7817840) [√] IntelliJ IDEA Ultimate Edition (version 2022.2) • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2021.2.3 • Flutter plugin version 70.0.5 • Dart plugin version 222.3739.24 [√] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22000.978] • Chrome (web) • chrome • web-javascript • Google Chrome 105.0.5195.126 • Edge (web) • edge • web-javascript • Microsoft Edge 102.0.1245.39 [√] HTTP Host Availability • All required HTTP hosts are available • No issues found! ```

https://user-images.githubusercontent.com/23425976/190883294-e3089794-5bb8-4735-94e5-c8d048084767.mp4

exaby73 commented 2 years ago

Hi @waj334 I see there's an open issue addressing the case you described https://github.com/flutter/flutter/issues/107972 Please follow up on that issue, I'm closing the current one as a duplicate. If you disagree, please write in the comments and I will reopen it. Thank you

github-actions[bot] commented 1 year ago

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 -v and a minimal reproduction of the issue.