Skip to content

fix: Suppress character insertion in TextBox when Ctrl or Alt modifiers are held - #22721

Merged
MartinZikmund merged 1 commit into
masterfrom
copilot/fix-keyboard-shortcut-behavior
May 10, 2026
Merged

MartinZikmund merged 1 commit into
masterfrom
copilot/fix-keyboard-shortcut-behavior

Conversation

Copilot AI commented Feb 24, 2026 •

Copy link
Copy Markdown
Contributor

GitHub Issue: closes #20988

PR Type:

🐞 Bugfix

What is the current behavior? 🤔

On Skia WASM, pressing Ctrl+S, Alt+S, or similar unhandled modifier+letter combinations while a TextBox is focused inserts the letter into the input. This happens because the browser's event.key reports the printable character regardless of modifiers, unlike Win32/X11 which filter control characters at the OS level. The default case in OnKeyDownSkia() only checks for UnicodeKey presence, not whether shortcut modifiers are active.

What is the new behavior? 🚀

Modifier+letter combinations no longer insert characters. The default case now checks for active shortcut modifiers before inserting text:

  • Control and Windows/Command — blocked on all platforms
  • Alt/Menu — blocked on non-Apple platforms only (Option on Apple produces valid characters like å, ß)
  • AltGr (Ctrl+Alt) on non-Apple — allowed through (produces characters like @, €)
var altHeld = args.KeyboardModifiers.HasFlag(VirtualKeyModifiers.Menu);
var ctrlHeld = args.KeyboardModifiers.HasFlag(VirtualKeyModifiers.Control);
var isAltGr = !DeviceTargetHelper.UsesAppleKeyboardLayout && ctrlHeld && altHeld;
var hasShortcutModifier = !isAltGr && (
    ctrlHeld ||
    args.KeyboardModifiers.HasFlag(VirtualKeyModifiers.Windows) ||
    (!DeviceTargetHelper.UsesAppleKeyboardLayout && altHeld));

PR Checklist ✅

Please check if your PR fulfills the following requirements:

Other information ℹ️

Two runtime tests added: When_Ctrl_Letter_Should_Not_Type and When_Alt_Letter_Should_Not_Type. The Alt test is marked Inconclusive on Apple platforms where Option+letter is valid character input.

Original prompt

This section details on the original issue you should resolve

<issue_title>[Skia WASM] Pressing Ctrl + letter or Alt + letter combination should not type</issue_title>
<issue_description>### Current behavior 🐛

When a keyboard shortcut like Ctrl + S or Alt + S is pressed while a text input is focused, it types the given letter (S) in the input field.

Expected behavior 🎯

Should not happen.

How to reproduce it (as minimally and precisely as possible) 🔬

No response

Workaround 🛠️

No response

Renderer 🎨

  • Skia
  • Native

Affected platforms 📱💻🖥️

No response

Uno.Sdk version (and other relevant versions) 📦

No response

IDE version 🧑‍💻

No response

Anything else we need to know? 💬

No response</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI requested review from Copilot and removed request for Copilot February 24, 2026 08:27
Copilot AI requested review from Copilot and removed request for Copilot February 24, 2026 08:43
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copilot AI changed the title [WIP] Fix keyboard shortcuts typing letters in input field fix: Suppress character insertion in TextBox when Ctrl or Alt modifiers are held Feb 24, 2026
Copilot AI requested a review from MartinZikmund February 24, 2026 08:45
@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 197954 found UI Test snapshots differences: android-28-net9: 13, android-28-net9-Snap: 28, ios: 5, ios-Snap: 43, skia-linux-screenshots: 92, skia-windows-screenshots: 432, wasm: 100, wasm-automated-net10.0-WinUI-Benchmarks-automated: 0, wasm-automated-net10.0-WinUI-Default-automated: 14, wasm-automated-net10.0-WinUI-RuntimeTests-0: 0, wasm-automated-net10.0-WinUI-RuntimeTests-1: 0, wasm-automated-net10.0-WinUI-RuntimeTests-2: 0

Details
  • android-28-net9: 13 changed over 758

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Detereminate_ProgressRing_Validation25_[#FF0000_#008000_#FF0000_#FF0000]_Progress-Ring-Value-25
    • SequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage
    • UpDownEnabledTest_UITests_Shared_Microsoft_UI_Xaml_Controls_NumberBoxTests_NumberBoxPage
    • When_SingleSelectionWithItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • When_MultipleSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • When_Parent_PointerMoved_After_drag_on_non-scrolling_ScrollViewer
    • When_Parent_PointerMoved_After_drag_on_ScrollViewer_-_touch
    • When_NoSelectionWithItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • When_NoSelection_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • ProgressRing_IsEnabled_Running_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • ProgressRing_Visibility_Collapsed_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • DecimalFormatterTest_UITests_Shared_Microsoft_UI_Xaml_Controls_NumberBoxTests_NumberBoxPage
    • NativeCommandBar_Size_Uno_UI_Samples_Content_UITests_CommandBar_CommandBar_Dynamic
  • android-28-net9-Snap: 28 changed over 1065

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Default_Uno_UI_Samples_Content_UITests_WebView_WebView_AnchorNavigation_Uno_UI_Samples_Content_UITests_WebView_WebView_AnchorNavigation
    • Image_UITests_Windows_UI_Xaml_Controls_ImageTests_SvgImageSource_Basic_UITests_Windows_UI_Xaml_Controls_ImageTests_SvgImageSource_Basic
    • CommandBar_Examples_Uno_UI_Samples_Content_UITests_CommandBar_CommandBar_Examples
    • ListView_ListViewSelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItems
    • NavigationView_MUXControlsTestApp_NavigationViewRS4Page_MUXControlsTestApp_NavigationViewRS4Page
    • CommandBarFlyout_MUXControlsTestApp_CommandBarFlyoutPage_MUXControlsTestApp_CommandBarFlyoutPage
    • Gesture_Recognizer_Pointer_Events_test_bench_UITests_Shared_Windows_UI_Input_GestureRecognizer_PointersEvents
    • MUX_UITests_Shared_Microsoft_UI_Xaml_Controls_TreeViewTests_TreeViewPage_UITests_Shared_Microsoft_UI_Xaml_Controls_TreeViewTests_TreeViewPage
    • Transform_Basics_UITests_Shared_Windows_UI_Xaml_Media_Transform_Basics
    • SwipeControl_MUXControlsTestApp_SwipeControlPage2_MUXControlsTestApp_SwipeControlPage2
    • WebView_WebView2_Mailto_SamplesApp_Microsoft_UI_Xaml_Controls_WebView2Tests_WebView2_Mailto
    • Scrolling_MUXControlsTestApp_ScrollViewDynamicPage_MUXControlsTestApp_ScrollViewDynamicPage
    • Scrolling_MUXControlsTestApp_ScrollViewKeyboardAndGamepadNavigationPage_MUXControlsTestApp_ScrollViewKeyboardAndGamepadNavigationPage
    • Image_Image_Stretch_None_Uno_UI_Samples_UITests_ImageTestsControl_Image_Stretch_None
    • Icons_UITests_Shared_Windows_UI_Xaml_Controls_BitmapIconTests_BitmapIcon_Foreground_UITests_Shared_Windows_UI_Xaml_Controls_BitmapIconTests_BitmapIcon_Foreground
    • NavigationView_MUXControlsTestApp_NavigationViewCustomThemeResourcesPage_MUXControlsTestApp_NavigationViewCustomThemeResourcesPage
    • RatingControl_UITests_Microsoft_UI_Xaml_Controls_RatingControlTests_RatingControlPage_UITests_Microsoft_UI_Xaml_Controls_RatingControlTests_RatingControlPage
    • TabView_MUXControlsTestApp_TabViewPage_MUXControlsTestApp_TabViewPage
    • TeachingTip_UITests_Microsoft_UI_Xaml_Controls_TeachingTipTests_TeachingTipPage_UITests_Microsoft_UI_Xaml_Controls_TeachingTipTests_TeachingTipPage
    • ListView_ListView_With_ListViews_Count_Measure_UITests_Shared_Windows_UI_Xaml_Controls_ListView_ListView_With_ListViews_Count_Measure
  • ios: 5 changed over 213

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ProgressRing_IsEnabled_Running_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • SequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage
    • ProgressRing_Visibility_Collapsed_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • When_SingleSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • ListView_SelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItems
  • ios-Snap: 43 changed over 984

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Brushes_BorderImageBrush_Uno_UI_Samples_UITests_ImageBrushTestControl_BorderImageBrush
    • Performance_UITests_Windows_UI_Xaml_Performance_Performance_1000ButtonsContinuousRendering_UITests_Windows_UI_Xaml_Performance_Performance_1000ButtonsContinuousRendering
    • Brushes_GenericApp_Views_Content_UITests_ImageBrushTestControl_ImageBrush_UniformToFill_GenericApp_Views_Content_UITests_ImageBrushTestControl_ImageBrush_UniformToFill
    • Brushes_ImageBrushStretch2_Uno_UI_Samples_UITests_ImageBrushTestControl_ImageBrushStretch2
    • Buttons_Custom_Button_With_ContentTemplate_Uno_UI_Samples_Content_UITests_ButtonTestsControl_Custom_Button_With_ContentTemplate
    • Image_Uno_UI_Samples_UITests_Image_Image_Stretch_Alignment_Smaller_Uno_UI_Samples_UITests_Image_Image_Stretch_Alignment_Smaller
    • Image_Uno_UI_Samples_UITests_Image_Image_Stretch_Alignment_Taller_Uno_UI_Samples_UITests_Image_Image_Stretch_Alignment_Taller
    • Image_Uno_UI_Samples_UITests_Image_Image_Stretch_Alignment_Wider_Uno_UI_Samples_UITests_Image_Image_Stretch_Alignment_Wider
    • NavigationView_NavigationViewSample_SamplesApp_Samples_NavigationViewSample_NavigationViewSample
    • Brushes_EllipsemaskingEllipseGrid_Uno_UI_Samples_UITests_ImageBrushTestControl_EllipsemaskingEllipseGrid
    • Brushes_Uno_UI_Samples_UITests_ImageBrushTestControl_DoubleImageBrushInList_Uno_UI_Samples_UITests_ImageBrushTestControl_DoubleImageBrushInList
    • Image_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Alignment_SizeOnControl_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Alignment_SizeOnControl
    • Image_UITests_Windows_UI_Xaml_Controls_ImageTests_Image_Formats_UITests_Windows_UI_Xaml_Controls_ImageTests_Image_Formats
    • Transform_Basics_UITests_Shared_Windows_UI_Xaml_Media_Transform_Basics
    • Brushes_ImageBrushWithScaleTransform_Uno_UI_Samples_UITests_ImageBrushTestControl_ImageBrushWithScaleTransform
    • Default_UITests_Shared_Windows_UI_Xaml_Controls_ListView_ListView_ObservableCollection_Unused_Space_UITests_Shared_Windows_UI_Xaml_Controls_ListView_ListView_ObservableCollection_Unused_Space
    • Windows_ApplicationModel_Contacts_Pick_UITests_Windows_ApplicationModel_Contacts_PickContact
    • Icons_UITests_Microsoft_UI_Xaml_Controls_ImageIconTests_ImageIconPage_UITests_Microsoft_UI_Xaml_Controls_ImageIconTests_ImageIconPage
    • Icons_UITests_Shared_Windows_UI_Xaml_Controls_BitmapIconTests_BitmapIcon_Foreground_UITests_Shared_Windows_UI_Xaml_Controls_BitmapIconTests_BitmapIcon_Foreground
    • Image_Uno_UI_Samples_UITests_Image_Image_Stretch_Alignment_Bigger_Uno_UI_Samples_UITests_Image_Image_Stretch_Alignment_Bigger
  • skia-linux-screenshots: 92 changed over 2310

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • Buttons.png-dark
    • Gamepad_Enumeration.png-dark
    • Buttons.png
    • Gamepad_Enumeration.png
    • Gamepad_CurrentReading.png
    • DoubleAnimation opacity final state.png-dark
    • DoubleAnimation opacity final state.png
    • FileOpenPickerTests.png-dark
    • FileOpenPickerTests.png
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • DoubleAnimation transforms final state.png-dark
    • DoubleAnimation transforms final state.png
    • CalendarView_Theming.png
    • DisplayInformation.png-dark
    • ForcedTextWithCarriageReturn_MaxLines_One.png-dark
    • ForcedTextWithCarriageReturn_MaxLines_One.png
    • ButtonClippingTestsControl.png
  • skia-windows-screenshots: 432 changed over 2310

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Accessibility_ScreenReader.png-dark
    • Accessibility_ScreenReader.png
    • AndroidWindowInsets.png
    • AutomationProperties_AutomationId.png-dark
    • DoubleImageBrushInList.png-dark
    • DoubleImageBrushInList.png
    • FileOpenPickerTests.png-dark
    • FileOpenPickerTests.png
    • FileSavePickerTests.png-dark
    • FileSavePickerTests.png
    • AuthenticationBroker_Demo.png-dark
    • AndroidWindowInsets.png-dark
    • AutomationProperties_AutomationId.png
    • Battery.png
    • ApplicationViewMode.png
    • ApplicationViewSpanningRectsPage.png
    • BadgeNotificationTests.png
    • AutomationProperties_Name.png
    • ApplicationViewMode.png-dark
    • ApplicationViewSpanningRectsPage.png-dark
  • wasm: 100 changed over 1064

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • initial_state
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListView_Expandable_Item_Large
    • UITests.Shared.Windows_UI_Xaml.UIElementTests.UIElement_Native_Child
    • UITests.Shared.Windows_UI_Xaml_Controls.ToggleSwitchControl.ToggleSwitchUnloadReload
    • UITests.Windows_UI_Xaml.WindowTests.Window_Metrics
    • UITests.Windows_UI_Xaml_Controls.PasswordBoxTests.PasswordBox_AutoFill
    • UITests.Windows_UI_Xaml_Controls.TextBox.TextBox_WithPadding_Focus
    • UITests.Windows_UI_Xaml_Controls.TextBox.WASM_Multiline
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewVariableItemHeight
    • UITests.Shared.Windows_UI_Xaml_Controls.ComboBox.ComboBox_SelectedIndex
    • UITests.Shared.Windows_UI_Xaml_Controls.ScrollViewerTests.ScrollViewer_Content_Smaller_Than_Viewport
    • Uno.UI.Samples.Content.UITests.GridTestsControl.Grid_CenteredShapes
    • MUXControlsTestApp.SwipeControlPage
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ListView.ListView_IsSelected
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ComboBox.ComboBox_Corners
    • SamplesApp.Wasm.Windows_UI_Xaml_Media.Transform.Border_With_Off_Centre_RotateTransform
    • UITests.Microsoft_UI_Xaml_Controls.SplitButtonTests.SplitButtonTestsPage
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListView_Image
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListView_Inside_ListView
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewHeaderFooter_ImplicitlyBinded
  • wasm-automated-net10.0-WinUI-Benchmarks-automated: 0 changed over 1

  • wasm-automated-net10.0-WinUI-Default-automated: 14 changed over 877

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ListView_SelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItems
    • Default_StrokeThickness_MyLine
    • Default_StrokeThickness_MyPolygon
    • Default_StrokeThickness_MyEllipse
    • SequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage
    • Validate_Offscreen_Shapes_UITests_Windows_UI_Xaml_Shapes_Offscreen_Shapes
    • When_SingleSelectionWithItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • When_SingleSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • Default_StrokeThickness_MyRect
    • Default_StrokeThickness_MyPolyline
    • When_StretchAndAlignmentNone_ImageBrush-50-50-None-XLeft-YBottom
    • When_NoSelection_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • Default_StrokeThickness_MyPath
    • TestProgressRing_InitialState_UITests_Microsoft_UI_Xaml_Controls_ProgressRing_WinUIProgressRing_Features
  • wasm-automated-net10.0-WinUI-RuntimeTests-0: 0 changed over 1

  • wasm-automated-net10.0-WinUI-RuntimeTests-1: 0 changed over 1

  • wasm-automated-net10.0-WinUI-RuntimeTests-2: 0 changed over 1

@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or it will be closed in 10 days.

@github-actions github-actions Bot added the stale This item has been marked as stale and will be closed if there is no activity. label Apr 26, 2026
@MartinZikmund MartinZikmund removed the stale This item has been marked as stale and will be closed if there is no activity. label May 6, 2026
@MartinZikmund
MartinZikmund marked this pull request as ready for review May 6, 2026 07:04
Copilot AI review requested due to automatic review settings May 6, 2026 07:05
@MartinZikmund

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@MartinZikmund
MartinZikmund force-pushed the copilot/fix-keyboard-shortcut-behavior branch from a6a20a3 to aa9f15b Compare May 6, 2026 07:06
@github-actions github-actions Bot added the area/skia ✏️ Categorizes an issue or PR as relevant to Skia label May 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Skia TextBox key handling to prevent unintended character insertion when shortcut modifier keys (Ctrl/Command/Win and, on non-Apple layouts, Alt) are held, aligning WASM/Skia behavior with desktop platforms. It also adds Skia runtime tests covering the Ctrl+letter and Alt+letter scenarios.

Changes:

  • Suppress default character insertion when shortcut modifiers are active, while allowing AltGr (Ctrl+Alt) on non-Apple layouts and preserving Option-character input on Apple layouts.
  • Add Skia runtime tests to ensure Ctrl+letter and (non-Apple) Alt+letter do not type into a focused TextBox.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/Uno.UI/UI/Xaml/Controls/TextBox/TextBox.skia.cs Adds modifier-aware filtering in the default keydown path to avoid inserting characters during shortcut combinations, with AltGr/Apple layout exceptions.
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_TextBox.skia.cs Adds runtime tests asserting Ctrl+letter and Alt+letter don’t insert text (with Apple marked inconclusive for Alt/Option).
Comments suppressed due to low confidence (2)

src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_TextBox.skia.cs:4889

  • The new shortcut-modifier suppression logic includes special cases for the platform command modifier (VirtualKeyModifiers.Windows on Apple / meta) and for AltGr (Ctrl+Alt) allowing character input, but the added tests only cover Ctrl+letter and (non-Apple) Alt+letter. Please add coverage for at least: (1) Command/Windows+letter does not type, and (2) AltGr (Ctrl+Alt) still types the provided Unicode character on non-Apple layouts, to prevent regressions in these newly introduced branches.

		[TestMethod]
		[GitHubWorkItem("https://github.com/unoplatform/uno/issues/19327")]
		public async Task When_Setting_Short_Text_And_Previous_Selection_Is_OutOfBounds()
		{
			var useOverlay = FeatureConfiguration.TextBox.UseOverlayOnSkia;
			using var _ = Disposable.Create(() => FeatureConfiguration.TextBox.UseOverlayOnSkia = useOverlay);

			var SUT = new TextBox
			{
				Width = 150,
				Text = "longer text",
				TextWrapping = TextWrapping.Wrap,
				AcceptsReturn = true
			};

			SUT.KeyUp += (_, e) =>
			{
				SUT.Text = "shorter";
				e.Handled = true;
			};

			await UITestHelper.Load(SUT);

			SUT.Focus(FocusState.Keyboard);
			await WindowHelper.WaitForIdle();

			SUT.Select(SUT.Text.Length, 0);
			await WindowHelper.WaitForIdle();

			SUT.RaiseEvent(UIElement.KeyDownEvent, new KeyRoutedEventArgs(SUT, VirtualKey.Escape, VirtualKeyModifiers.None));
			await WindowHelper.WaitForIdle();
			SUT.RaiseEvent(UIElement.KeyUpEvent, new KeyRoutedEventArgs(SUT, VirtualKey.Escape, VirtualKeyModifiers.None));
		}

		[TestMethod]
		[PlatformCondition(ConditionMode.Exclude, RuntimeTestPlatforms.SkiaWasm)] // needs paste permission
		public async Task When_MaxLine_Paste()
		{
			if (!ApiExtensibility.IsRegistered<IClipboardExtension>())
			{
				Assert.Inconclusive("Platform does not support clipboard operations.");
			}

			using var _ = new TextBoxFeatureConfigDisposable();

			var SUT = new TextBox
			{
				MaxLength = 10,
				Text = "0123456789",
				SelectionStart = 4,

src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_TextBox.skia.cs:4841

  • The GitHubWorkItem links point to #20988, but in the PR metadata #20988 appears to be an existing pull request (docs(wasm): Update troubleshooting...) rather than the bug issue this change targets. Please verify the correct issue number for the TextBox modifier typing bug and update these GitHubWorkItem URLs accordingly so test metadata tracks the right work item.

		[TestMethod]
		[GitHubWorkItem("https://github.com/unoplatform/uno/issues/19327")]

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MartinZikmund

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 211115 found UI Test snapshots differences: skia-linux-screenshots: 0, skia-windows-screenshots: 84, wasm: 0

Details
  • skia-linux-screenshots: 0 changed over 2338

  • skia-windows-screenshots: 84 changed over 2338

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • CalendarView_Theming.png-dark
    • Buttons.png-dark
    • CalendarView_Theming.png
    • DisplayInformation.png-dark
    • DisplayInformation.png
    • DoubleImageBrushInList.png-dark
    • DoubleImageBrushInList.png
    • FluentStyle_NavigationViewSample.png-dark
    • FluentStyle_NavigationViewSample.png
    • ButtonClippingTestsControl.png-dark
    • ElementLevelTheme.png-dark
    • Focus_FocusVisual_Properties.png-dark
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • ContentPresenter_NativeEmbedding_ZIndex.png
    • EllipsemaskingEllipseGrid.png-dark
    • EllipsemaskingEllipseGrid.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_Enumeration.png-dark
    • Gamepad_Enumeration.png
  • wasm: 0 changed over 1073

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 211115 has failed on Uno.UI - CI.

@MartinZikmund
MartinZikmund merged commit 93221af into master May 10, 2026
46 checks passed
@MartinZikmund
MartinZikmund deleted the copilot/fix-keyboard-shortcut-behavior branch May 10, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/skia ✏️ Categorizes an issue or PR as relevant to Skia

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Skia WASM] Pressing Ctrl + letter or Alt + letter combination should not type

7 participants