Skip to content

[Windows][Accessibility]: Text field input is read inconsistently while adding, deleting and while using shift / arrow keys.  #103464

@chrisnorman7

Description

@chrisnorman7

Text fields are basically unusable, and it is often to write text in some other program, then paste it into Flutter apps.

I could have sworn there was already an issue for this, but I am unable to find it, so sorry if this is a duplicate.

Steps to Reproduce

  1. Create an app with the below code.
  2. Run flutter run -d windows.
  3. With a screen reader (such as NVDA), enter some text, navigate through the text with the arrow keys, try and find an arbitrary point to add more text, ETC.

Problems

Logs

Logs
[  +44 ms] executing: [C:\Users\chris\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +193 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] a259fcb64e18f96b55d074ef17cb0acec5e47bb3
[        ] executing: [C:\Users\chris\flutter/] git tag --points-at a259fcb64e18f96b55d074ef17cb0acec5e47bb3
[  +51 ms] Exit code 0 from: git tag --points-at a259fcb64e18f96b55d074ef17cb0acec5e47bb3
[        ] executing: [C:\Users\chris\flutter/] git describe --match *.*.* --long --tags a259fcb64e18f96b55d074ef17cb0acec5e47bb3
[  +76 ms] Exit code 0 from: git describe --match *.*.* --long --tags a259fcb64e18f96b55d074ef17cb0acec5e47bb3
[        ] 2.12.0-4.0.pre-1023-ga259fcb64e
[  +32 ms] executing: [C:\Users\chris\flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[  +34 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] origin/master
[        ] executing: [C:\Users\chris\flutter/] git ls-remote --get-url origin
[  +33 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +62 ms] executing: [C:\Users\chris\flutter/] git rev-parse --abbrev-ref HEAD
[  +34 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +59 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.
[   +2 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.
[  +41 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.
[   +2 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.
[  +55 ms] Skipping pub get: version match.
[  +73 ms] Generating C:\Users\chris\src\worldsmith_examples\custom_keys\poc\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +69 ms] Initializing file store
[   +7 ms] Skipping target: gen_localizations
[   +4 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\Users\chris\src\worldsmith_examples\custom_keys\poc\.dart_tool\package_config_subset}
[  +15 ms] gen_dart_plugin_registrant: Complete
[   +1 ms] Skipping target: _composite
[   +1 ms] complete
[   +4 ms] Launching lib\main.dart on Windows in debug mode...
[   +3 ms] C:\Users\chris\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\Users\chris\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root C:\Users\chris\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill C:\Users\chris\AppData\Local\Temp\flutter_tools.398dea73\flutter_tool.621d315d\app.dill --packages C:\Users\chris\src\worldsmith_examples\custom_keys\poc\.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\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --flutter-widget-cache --enable-experiment=alternative-invalidation-strategy
[  +17 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
[  +32 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": "48f70a3c",
               "installDate": "2022-02-27T12:24:06Z",
               "installationName": "VisualStudio/17.1.0+32210.238",
               "installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise",
               "installationVersion": "17.1.32210.238",
               "productId": "Microsoft.VisualStudio.Product.Enterprise",
               "productPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\Common7\\IDE\\devenv.exe",
               "state": 4294967295,
               "isComplete": true,
               "isLaunchable": true,
               "isPrerelease": false,
               "isRebootRequired": false,
               "displayName": "Visual Studio Enterprise 2022",
               "description": "Scalable, end-to-end solution for teams of any size",
               "channelId": "VisualStudio.17.Release",
               "channelUri": "https://aka.ms/vs/17/release/channel",
               "enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
               "installedChannelUri": "https://aka.ms/vs/17/release/channel",
               "releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.1#17.1.0",
               "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
               "updateDate": "2022-02-27T12:24:06.5628333Z",
               "catalog": {
                 "buildBranch": "d17.1",
                 "buildVersion": "17.1.32210.238",
                 "id": "VisualStudio/17.1.0+32210.238",
                 "localBuild": "build-lab",
                 "manifestName": "VisualStudio",
                 "manifestType": "installer",
                 "productDisplayVersion": "17.1.0",
                 "productLine": "Dev17",
                 "productLineVersion": "2022",
                 "productMilestone": "RTW",
                 "productMilestoneIsPreRelease": "False",
                 "productName": "Visual Studio",
                 "productPatchVersion": "0",
                 "productPreReleaseMilestoneSuffix": "7.0",
                 "productSemanticVersion": "17.1.0+32210.238",
                 "requiredEngineVersion": "3.1.2196.8931"
               },
               "properties": {
                 "campaignId": "2030",
                 "channelManifestId": "VisualStudio.17.Release/17.1.0+32210.238",
                 "nickname": "2",
                 "setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
               }
             }
           ]
[   +1 ms] Building Windows application...
[  +13 ms] <- compile package:poc/main.dart
[   +1 ms] executing: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -S C:\Users\chris\src\worldsmith_examples\custom_keys\poc\windows -B build\windows -G Visual Studio 17 2022
[  +48 ms] -- Configuring done
[ +151 ms] -- Generating done
[  +16 ms] -- Build files have been written to: C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows
[  +21 ms] executing: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe --build build\windows --config Debug --target INSTALL --verbose
[  +91 ms] Microsoft (R) Build Engine version 17.1.0+ae57d105c for .NET Framework
[        ] Copyright (C) Microsoft Corporation. All rights reserved.
[  +48 ms] Build started 11/05/2022 06:16:12.
[ +148 ms] Project "C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\INSTALL.vcxproj" on node 1 (default targets).
[        ] Project "C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\INSTALL.vcxproj" (1) is building "C:\Users\chris\src\worldsmith_examples\custom_keys\poc\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.
[  +15 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[  +37 ms]   Checking Build System
[  +54 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\chris\src\worldsmith_examples\custom_keys\poc\build\windows\ZERO_CHECK.vcxproj" (default targets).
[  +60 ms] Project "C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\INSTALL.vcxproj" (1) is building "C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\ALL_BUILD.vcxproj" (3) on node 1 (default targets).
[        ] Project "C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\ALL_BUILD.vcxproj" (3) is building "C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\flutter\flutter_wrapper_app.vcxproj" (4) on node 1 (default targets).
[        ] Project "C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\flutter\flutter_wrapper_app.vcxproj" (4) is building "C:\Users\chris\src\worldsmith_examples\custom_keys\poc\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.
[   +4 ms] CustomBuild:
[        ]   "The build of 'C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\CMakeFiles\5b19e00c10f0cab27b3f2e7c5d8e8408\flutter_assemble.rule' depends on 'C:\USERS\CHRIS\SRC\WORLDSMITH_EXAMPLES\CUSTOM_KEYS\POC\WINDOWS\FLUTTER\EPHEMERAL\FLUTTER_WINDOWS.DLL' which is produced by the build of 'C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\CMakeFiles\774986b364a318e3a443415865be5f9f\flutter_windows.dll.rule'. The items cannot be built in parallel."
[  +41 ms]   Generating C:/Users/chris/src/worldsmith_examples/custom_keys/poc/windows/flutter/ephemeral/flutter_windows.dll, C:/Users/chris/src/worldsmith_examples/custom_keys/poc/windows/flutter/ephemeral/flutter_export.h, C:/Users/chris/src/worldsmith_examples/custom_keys/poc/windows/flutter/ephemeral/flutter_windows.h, C:/Users/chris/src/worldsmith_examples/custom_keys/poc/windows/flutter/ephemeral/flutter_messenger.h, C:/Users/chris/src/worldsmith_examples/custom_keys/poc/windows/flutter/ephemeral/flutter_plugin_registrar.h, C:/Users/chris/src/worldsmith_examples/custom_keys/poc/windows/flutter/ephemeral/flutter_texture_registrar.h, C:/Users/chris/src/worldsmith_examples/custom_keys/poc/windows/flutter/ephemeral/cpp_client_wrapper/core_implementations.cc, C:/Users/chris/src/worldsmith_examples/custom_keys/poc/windows/flutter/ephemeral/cpp_client_wrapper/standard_codec.cc, C:/Users/chris/src/worldsmith_examples/custom_keys/poc/windows/flutter/ephemeral/cpp_client_wrapper/plugin_registrar.cc, C:/Users/chris/src/worldsmith_examples/custom_keys/poc/windows/flutter/ephemeral/cpp_client_wrapper/flutter_engine.cc, C:/Users/chris/src/worldsmith_examples/custom_keys/poc/windows/flutter/ephemeral/cpp_client_wrapper/flutter_view_controller.cc, _phony_
[ +693 ms]   [  +44 ms] executing: [C:\Users\chris\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +187 ms]   [ +201 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ]   [        ] a259fcb64e18f96b55d074ef17cb0acec5e47bb3
[        ]   [        ] executing: [C:\Users\chris\flutter/] git tag --points-at a259fcb64e18f96b55d074ef17cb0acec5e47bb3
[  +58 ms]   [  +57 ms] Exit code 0 from: git tag --points-at a259fcb64e18f96b55d074ef17cb0acec5e47bb3
[        ]   [   +1 ms] executing: [C:\Users\chris\flutter/] git describe --match *.*.* --long --tags a259fcb64e18f96b55d074ef17cb0acec5e47bb3
[  +85 ms]   [  +84 ms] Exit code 0 from: git describe --match *.*.* --long --tags a259fcb64e18f96b55d074ef17cb0acec5e47bb3
[        ]   [        ] 2.12.0-4.0.pre-1023-ga259fcb64e
[  +42 ms]   [  +42 ms] executing: [C:\Users\chris\flutter/] git rev-parse --abbrev-ref HEAD
[  +46 ms]   [  +45 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ]   [        ] master
[  +47 ms]   [  +48 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.
[   +1 ms]   [   +2 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.
[  +64 ms]   [  +64 ms] executing: [C:\Users\chris\flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[  +41 ms]   [  +41 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ]   [        ] origin/master
[        ]   [        ] executing: [C:\Users\chris\flutter/] git ls-remote --get-url origin
[  +36 ms]   [  +36 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.
[   +1 ms]   [   +1 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.
[  +24 ms]   [  +24 ms] Initializing file store
[   +8 ms]   [   +8 ms] Done initializing file store
[  +26 ms]   [  +26 ms] Skipping target: gen_localizations
[   +6 ms]   [   +6 ms] Skipping target: gen_dart_plugin_registrant
[+1655 ms]   [+1654 ms] Skipping target: unpack_windows
[ +312 ms]   [ +312 ms] Skipping target: kernel_snapshot
[ +162 ms]   [ +163 ms] Skipping target: debug_bundle_windows_assets
[        ]   [        ] Persisting file store
[   +6 ms]   [   +6 ms] Done persisting file store
[   +3 ms]   [   +3 ms] build succeeded.
[   +5 ms]   [   +5 ms] "flutter assemble" took 2,379ms.
[  +10 ms]   [  +11 ms] ensureAnalyticsSent: 8ms
[        ]   [        ] Running shutdown hooks
[        ]   [        ] Shutdown hooks complete
[        ]   [        ] exiting with code 0
[  +41 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\chris\src\worldsmith_examples\custom_keys\poc\build\windows\flutter\flutter_assemble.vcxproj" (default targets).
[   +4 ms] InitializeBuildStatus:
[        ]   Creating "flutter_wrapper_app.dir\Debug\flutter_.F599F3CB.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[   +1 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[  +37 ms] ClCompile:
[        ]   All outputs are up-to-date.
[  +13 ms] Lib:
[        ]   All outputs are up-to-date.
[        ]   flutter_wrapper_app.vcxproj -> C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\flutter\Debug\flutter_wrapper_app.lib
[   +6 ms] FinalizeBuildStatus:
[        ]   Deleting file "flutter_wrapper_app.dir\Debug\flutter_.F599F3CB.tlog\unsuccessfulbuild".
[        ]   Touching "flutter_wrapper_app.dir\Debug\flutter_.F599F3CB.tlog\flutter_wrapper_app.lastbuildstate".
[        ] Done Building Project "C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\flutter\flutter_wrapper_app.vcxproj" (default targets).
[  +18 ms] Project "C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\ALL_BUILD.vcxproj" (3) is building "C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\flutter\flutter_wrapper_plugin.vcxproj" (6) on node 1 (default targets).
[        ] InitializeBuildStatus:
[        ]   Creating "flutter_wrapper_plugin.dir\Debug\flutter_.0416986A.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[   +1 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[   +5 ms] ClCompile:
[        ]   All outputs are up-to-date.
[   +2 ms] Lib:
[        ]   All outputs are up-to-date.
[        ]   flutter_wrapper_plugin.vcxproj -> C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\flutter\Debug\flutter_wrapper_plugin.lib
[   +5 ms] FinalizeBuildStatus:
[        ]   Deleting file "flutter_wrapper_plugin.dir\Debug\flutter_.0416986A.tlog\unsuccessfulbuild".
[        ]   Touching "flutter_wrapper_plugin.dir\Debug\flutter_.0416986A.tlog\flutter_wrapper_plugin.lastbuildstate".
[        ] Done Building Project "C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\flutter\flutter_wrapper_plugin.vcxproj" (default targets).
[  +16 ms] Project "C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\ALL_BUILD.vcxproj" (3) is building "C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\runner\poc.vcxproj" (7) on node 1 (default targets).
[        ] InitializeBuildStatus:
[        ]   Creating "poc.dir\Debug\poc.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[   +1 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[  +13 ms] ClCompile:
[        ]   C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\bin\HostX64\x64\CL.exe /c /IC:\Users\chris\src\worldsmith_examples\custom_keys\poc\windows /IC:\Users\chris\src\worldsmith_examples\custom_keys\poc\windows\flutter\ephemeral /IC:\Users\chris\src\worldsmith_examples\custom_keys\poc\windows\flutter\ephemeral\cpp_client_wrapper\include /Zi /nologo /W4 /WX /diagnostics:column /Od /Ob0 /D _UNICODE /D UNICODE /D WIN32 /D _WINDOWS /D _HAS_EXCEPTIONS=0 /D _DEBUG /D NOMINMAX /D UNICODE /D _UNICODE /D "CMAKE_INTDIR=\"Debug\"" /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /std:c++17 /Fo"poc.dir\Debug\\" /Fd"poc.dir\Debug\vc143.pdb" /external:W4 /Gd /TP /wd4100 /errorReport:queue C:\Users\chris\src\worldsmith_examples\custom_keys\poc\windows\flutter\generated_plugin_registrant.cc C:\Users\chris\src\worldsmith_examples\custom_keys\poc\windows\runner\flutter_window.cpp
[  +26 ms]   generated_plugin_registrant.cc
[ +248 ms]   flutter_window.cpp
[ +464 ms]   Generating Code...
[  +48 ms] ResourceCompile:
[        ]   All outputs are up-to-date.
[  +20 ms] Link:
[        ]   C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\runner\Debug\poc.exe" /INCREMENTAL /ILK:"poc.dir\Debug\poc.ilk" /NOLOGO ..\flutter\Debug\flutter_wrapper_app.lib C:\Users\chris\src\worldsmith_examples\custom_keys\poc\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\chris\src\worldsmith_examples\custom_keys\poc\windows\runner\runner.exe.manifest /DEBUG /PDB:"C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows/runner/Debug/poc.pdb" /SUBSYSTEM:WINDOWS /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows/runner/Debug/poc.lib" /MACHINE:X64  /machine:x64 poc.dir\Debug\Runner.res
[        ]   poc.dir\Debug\flutter_window.obj
[        ]   poc.dir\Debug\main.obj
[        ]   poc.dir\Debug\utils.obj
[        ]   poc.dir\Debug\win32_window.obj
[        ]   poc.dir\Debug\generated_plugin_registrant.obj
[ +108 ms]   poc.vcxproj -> C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\runner\Debug\poc.exe
[   +6 ms] FinalizeBuildStatus:
[        ]   Deleting file "poc.dir\Debug\poc.tlog\unsuccessfulbuild".
[        ]   Touching "poc.dir\Debug\poc.tlog\poc.lastbuildstate".
[        ] Done Building Project "C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\runner\poc.vcxproj" (default targets).
[   +5 ms] InitializeBuildStatus:
[        ]   Creating "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[   +1 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[  +19 ms]   Building Custom Rule C:/Users/chris/src/worldsmith_examples/custom_keys/poc/windows/CMakeLists.txt
[  +24 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\chris\src\worldsmith_examples\custom_keys\poc\build\windows\ALL_BUILD.vcxproj" (default targets).
[   +3 ms] InitializeBuildStatus:
[        ]   Creating "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[  +25 ms] PostBuildEvent:
[        ]   setlocal
[        ]   "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\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
[  +25 ms]   -- Install configuration: "Debug"
[  +13 ms]   -- Up-to-date: C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows/runner/Debug/data/icudtl.dat
[        ]   -- Up-to-date: C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows/runner/Debug/flutter_windows.dll
[   +7 ms]   -- Installing: C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows/runner/Debug/data/flutter_assets
[        ]   -- Installing: C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows/runner/Debug/data/flutter_assets/AssetManifest.json
[   +1 ms]   -- Installing: C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows/runner/Debug/data/flutter_assets/FontManifest.json
[        ]   -- Installing: C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows/runner/Debug/data/flutter_assets/fonts
[        ]   -- Installing: C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows/runner/Debug/data/flutter_assets/fonts/MaterialIcons-Regular.otf
[   +5 ms]   -- Installing: C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows/runner/Debug/data/flutter_assets/kernel_blob.bin
[  +94 ms]   -- Installing: C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows/runner/Debug/data/flutter_assets/NOTICES.Z
[   +1 ms]   -- Installing: C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows/runner/Debug/data/flutter_assets/packages
[        ]   -- Installing: C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons
[        ]   -- Installing: C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets
[        ]   -- Installing: C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf
[   +1 ms]   -- Installing: C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows/runner/Debug/data/flutter_assets/shaders
[        ]   -- Installing: C:/Users/chris/src/worldsmith_examples/custom_keys/poc/build/windows/runner/Debug/data/flutter_assets/shaders/ink_sparkle.frag
[  +13 ms] FinalizeBuildStatus:
[        ]   Deleting file "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild".
[        ]   Touching "x64\Debug\INSTALL\INSTALL.tlog\INSTALL.lastbuildstate".
[        ] Done Building Project "C:\Users\chris\src\worldsmith_examples\custom_keys\poc\build\windows\INSTALL.vcxproj" (default targets).
[   +1 ms] Build succeeded.
[        ]     0 Warning(s)
[        ]     0 Error(s)
[        ] Time Elapsed 00:00:05.25
[  +15 ms] Building Windows application... (completed in 5.7s)
[ +196 ms] Observatory URL on device: http://127.0.0.1:29052/Wx0dO1Hii2o=/
[   +3 ms] Caching compiled dill
[  +20 ms] Connecting to service protocol: http://127.0.0.1:29052/Wx0dO1Hii2o=/
[  +90 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:29052/Wx0dO1Hii2o=/.
[  +43 ms] DDS is listening at http://127.0.0.1:29055/Gxv3T__16AI=/.
[  +31 ms] Successfully connected to service protocol: http://127.0.0.1:29052/Wx0dO1Hii2o=/
[  +13 ms] DevFS: Creating new filesystem on the device (null)
[  +10 ms] DevFS: Created new filesystem on the device (file:///C:/Users/chris/AppData/Local/Temp/pocee1c7eed/poc/)
[   +1 ms] Updating assets
[  +50 ms] Syncing files to device Windows...
[        ] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[        ] <- recompile package:poc/main.dart 73e0cbc4-8988-4a7d-93f3-a3b6822b93c8
[        ] <- 73e0cbc4-8988-4a7d-93f3-a3b6822b93c8
[   +1 ms] Bundle processing done.
[  +44 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device Windows... (completed in 48ms)
[        ] Synced 0.0MB.
[        ] <- accept
[   +1 ms] Connected to _flutterView/0x2ab2cb3d020.
[   +1 ms] Flutter run key commands.
[        ] r Hot reload. 
[        ] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ]  Running with sound null safety 
[        ] An Observatory debugger and profiler on Windows is available at: http://127.0.0.1:29055/Gxv3T__16AI=/
[ +168 ms] The Flutter DevTools debugger and profiler on Windows is available at: http://127.0.0.1:9102?uri=http://127.0.0.1:29055/Gxv3T__16AI=/
[+9004 ms] DevFS: Deleting filesystem on the device (file:///C:/Users/chris/AppData/Local/Temp/pocee1c7eed/poc/)
[   +3 ms] DevFS: Deleted filesystem on the device (file:///C:/Users/chris/AppData/Local/Temp/pocee1c7eed/poc/)
[   +5 ms] Application finished.
[   +3 ms] "flutter run" took 15,716ms.
[  +10 ms] Service protocol connection closed.
[   +1 ms] ensureAnalyticsSent: 10ms
[        ] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 0
[] Flutter (Channel master, 2.13.0-0.0.pre.1023, on Microsoft Windows [Version 10.0.22000.613], locale en-GB)
    ÔÇó Flutter version 2.13.0-0.0.pre.1023 at C:\Users\chris\flutter
    ÔÇó Upstream repository https://github.com/flutter/flutter.git
    ÔÇó Framework revision a259fcb64e (63 minutes ago), 2022-05-11 00:14:06 -0400
    ÔÇó Engine revision 6291508027
    ÔÇó Dart version 2.18.0 (build 2.18.0-103.0.dev)
    ÔÇó DevTools version 2.13.1

[] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc2)
    ÔÇó Android SDK at C:\Users\chris\AppData\Local\Android\sdk
    ÔÇó Platform android-31, build-tools 31.0.0-rc2
    ÔÇó Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    ÔÇó Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    ÔÇó All Android licenses accepted.

[] Chrome - develop for the web
    ÔÇó Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[] Visual Studio - develop for Windows (Visual Studio Enterprise 2022 17.1.0)
    ÔÇó Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Enterprise
    ÔÇó Visual Studio Enterprise 2022 version 17.1.32210.238
    ÔÇó Windows 10 SDK version 10.0.22000.0

[] Android Studio (version 2020.3)
    ÔÇó 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.10+0-b96-7249189)

[] VS Code, 64-bit edition (version 1.67.0)
    ÔÇó VS Code at C:\Program Files\Microsoft VS Code
    ÔÇó Flutter extension version 3.27.0

[] Connected device (3 available)
    ÔÇó Windows (desktop) ÔÇó windows ÔÇó windows-x64    ÔÇó Microsoft Windows [Version 10.0.22000.613]
    ÔÇó Chrome (web)      ÔÇó chrome  ÔÇó web-javascript ÔÇó Google Chrome 101.0.4951.54
    ÔÇó Edge (web)        ÔÇó edge    ÔÇó web-javascript ÔÇó Microsoft Edge 100.0.1185.44

[] HTTP Host Availability
    ÔÇó All required HTTP hosts are available

ÔÇó No issues found!

Code

import 'package:flutter/material.dart';

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  late final TextEditingController _controller;

  /// Initialise the controller.
  @override
  void initState() {
    super.initState();
    _controller = TextEditingController(
        text:
            'Hello,\nThis is Flutter.\n\nThis text field is incredibly hard to interact with while using a screen reader.');
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: TextField(
          autofocus: true,
          controller: _controller,
        ),
      ),
    );
  }

  /// Dispose of the widget.
  @override
  void dispose() {
    super.dispose();
    _controller.dispose();
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)a: desktopRunning on desktopa: text inputEntering text in a text field or keyboard related problemsfound in release: 2.10Found to occur in 2.10found in release: 2.13Found to occur in 2.13has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-windowsBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform teamtriaged-windowsTriaged by the Windows platform team

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions