[√] Flutter (Channel stable, 3.44.4, on Microsoft Windows [Version 10.0.19045.6466], locale de-DE) [874ms]
• Flutter version 3.44.4 on channel stable at C:\Users\serha\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ad70ec4617 (3 weeks ago), 2026-06-24 11:07:06 -0700
• Engine revision 53bfd6d932
• Dart version 3.12.0 (build 3.12.0-139.0.dev)
• DevTools version 2.54.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, enable-swift-package-manager, omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration
[√] Windows Version (10 Pro 64-bit, 22H2, 2009) [5,4s]
[√] Android toolchain - develop for Android devices (Android SDK version 36.1.0) [15,9s]
• Android SDK at C:\Users\serha\AppData\Local\Android\sdk
• Emulator version 31.2.9.0 (build_id 8316981) (CL:N/A)
• Platform android-36, build-tools 36.1.0
• Java binary at: C:\Program Files\Android\Android Studio1\jbr\bin\java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)
• All Android licenses accepted.
[√] Chrome - develop for the web [294ms]
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.14.20) [292ms]
• Visual Studio at F:\VS_CPP_Tools
• Visual Studio Build Tools 2022 version 17.14.36705.20
• Windows 10 SDK version 10.0.26100.0
[√] Connected device (3 available) [281ms]
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.6466]
• Chrome (web) • chrome • web-javascript • Google Chrome 150.0.7871.115
• Edge (web) • edge • web-javascript • Microsoft Edge 150.0.4078.65
[√] Network resources [752ms]
• All expected network resources are available.
• No issues found!
Steps to reproduce
et build -c host_debug_unopt //flutter/shell/platform/windows:flutter_windows_unittests(or the ninja target directly).flutter_windows_unittests.exe --gtest_filter=KeyboardTest.*.Expected results
The keyboard tests pass regardless of the keyboard layout configured on the machine running them. Unit tests should be hermetic.
Actual results
KeyboardTest.DeadKeyTwiceThenLetterfails on a German layout (35 pass, 1 fail). The test pressesVK_OEM_3and expects the grave accent`, but the harness resolves the character through the realMapVirtualKey(vk, MAPVK_VK_TO_CHAR), which consults the active layout; on a German layoutVK_OEM_3is an umlaut (ö), so the logical key and character no longer match what the test, authored against the US and US-International layouts, expects.The test helpers
LayoutDefaultandLayoutFrenchinkeyboard_unittests.ccboth fall back to the realMapVirtualKey, so any test whose virtual keys map differently between the host layout and US will diverge.DeadKeyTwiceThenLetteris the one that currently diverges; the coupling is latent for the rest.Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
Not applicable.
Logs
Logs
Flutter Doctor output
Doctor output
Reproduces on current master; the two test layout helpers still fall back to
MapVirtualKey.