uno
uno copied to clipboard
feat: Support for touch/pen input in WPF
GitHub Issue (If applicable): closes https://github.com/unoplatform/uno/issues/15542
PR Type
What kind of change does this PR introduce?
- Feature
What is the current behavior?
What is the new behavior?
PR Checklist
Please check if your PR fulfills the following requirements:
- [ ] Docs have been added/updated which fit documentation template (for bug fixes / features)
- [ ] Unit Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
- [ ] Validated PR
Screenshots Compare Test Runresults. - [x] Contains NO breaking changes
- [x] Associated with an issue (GitHub or internal) and uses the automatic close keywords.
- [x] Commits must be following the Conventional Commits specification.
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-15543/index.html
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-15543/index.html
The build 113256 found UI Test snapshots differences: android-28-net7: 0, android-28-net7-Snap: 52, ios: 175, ios-Snap: 676, skia-gtk-screenshots: 17, skia-wpf-screenshots: 18, wasm: 72, wasm-automated-net7.0-UWP-Default-automated: 30, wasm-automated-net7.0-UWP-RuntimeTests-0: 0, wasm-automated-net7.0-UWP-RuntimeTests-1: 0, wasm-automated-net7.0-UWP-RuntimeTests-2: 1, wasm-automated-net7.0-WinUI-Benchmarks-automated: 0, wasm-automated-net7.0-WinUI-RuntimeTests-0: 0, wasm-automated-net7.0-WinUI-RuntimeTests-1: 0, wasm-automated-net7.0-WinUI-RuntimeTests-2: 0
Details
-
android-28-net7: 0 changed over 1 -
android-28-net7-Snap: 52 changed over 1051🚨🚨 Comparison Details (first 20) 🚨🚨
Icons_UITests_Microsoft_UI_Xaml_Controls_ImageIconTests_ImageIconPage_UITests_Microsoft_UI_Xaml_Controls_ImageIconTests_ImageIconPageIcons_UITests_Shared_Windows_UI_Xaml_Controls_BitmapIconTests_BitmapIcon_Foreground_UITests_Shared_Windows_UI_Xaml_Controls_BitmapIconTests_BitmapIcon_ForegroundDefault_SamplesApp_Wasm_Windows_UI_Xaml_Controls_ListView_ListView_IsSelected_SamplesApp_Wasm_Windows_UI_Xaml_Controls_ListView_ListView_IsSelectedListView_ListView_With_ListViews_Count_Measure_UITests_Shared_Windows_UI_Xaml_Controls_ListView_ListView_With_ListViews_Count_MeasureGridView_GenericApp_Views_Samples_Shared_Content_UITests_GridViewMultipleSelectionMode_GenericApp_Views_Samples_Shared_Content_UITests_GridViewMultipleSelectionModeImage_UITests_Windows_UI_Xaml_Controls_ImageTests_SvgImageSource_Icons_UITests_Windows_UI_Xaml_Controls_ImageTests_SvgImageSource_IconsImage_UITests_Windows_UI_Xaml_Controls_ImageTests_SvgImageSource_FromMsAppData_UITests_Windows_UI_Xaml_Controls_ImageTests_SvgImageSource_FromMsAppDataImage_UITests_Windows_UI_Xaml_Controls_ImageTests_SvgImageSource_FromStream_UITests_Windows_UI_Xaml_Controls_ImageTests_SvgImageSource_FromStreamMUX_UITests_Microsoft_UI_Xaml_Controls_SplitButtonTests_SplitButtonTestsPage_UITests_Microsoft_UI_Xaml_Controls_SplitButtonTests_SplitButtonTestsPageProgress_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220SwipeControl_MUXControlsTestApp_SwipeControlPage2_MUXControlsTestApp_SwipeControlPage2MediaPlayerElement_Using_mkv_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Mkv_ExtensionMediaPlayerElement_Using_mov_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Mov_ExtensionMediaPlayerElement_Using_mp3_Audio_only_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Mp3_ExtensionMediaPlayerElement_Using_ogg_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Ogg_ExtensionFocus_GetFocus_Uno_UI_Samples_Content_UITests_FocusTests_FocusManager_GetFocus_AutomatedFocus_UITests_Windows_UI_Xaml_FocusTests_Focus_FocusCycle_UITests_Windows_UI_Xaml_FocusTests_Focus_FocusCycleNavigationView_MUXControlsTestApp_NavigationViewTopNavPage_MUXControlsTestApp_NavigationViewTopNavPageScrolling_ScrollViewer_Content_Smaller_Than_Viewport_UITests_Shared_Windows_UI_Xaml_Controls_ScrollViewerTests_ScrollViewer_Content_Smaller_Than_ViewportRatingControl_UITests_Microsoft_UI_Xaml_Controls_RatingControlTests_RatingControlPage_UITests_Microsoft_UI_Xaml_Controls_RatingControlTests_RatingControlPage
-
ios: 175 changed over 266🚨🚨 Comparison Details (first 20) 🚨🚨
CheckBox_IsEnabled_Validation_Uno_UI_Samples_Content_UITests_ButtonTestsControl_CheckBox_IsEnabled_AutomatedContentControl_Changing_ContentTemplate_Uno_UI_Samples_Content_UITests_ContentControlTestsControl_ContentControl_Changing_ContentTemplateImage_Margins_Identical_WriteableBitmap_Invalidate_-_ResultKeyboard_Textbox_NoScrollViewer_Validation_5_-_Remove_Focus_on_numberTextBoxScreenshots_Image_Stretch_Algmnt_Inf_Horizontal_Mode-3Screenshots_Image_Stretch_Algmnt_Inf_Vertical_Mode-0SelectionTest_UITests_Microsoft_UI_Xaml_Controls_RadioButtonsTests_RadioButtonsPageSequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPageUpDownTest_UITests_Shared_Microsoft_UI_Xaml_Controls_NumberBoxTests_NumberBoxPageCheckBox_DoubleTapValidation_Uno_UI_Samples_Content_UITests_ButtonTestsControl_CheckBox_IsEnabled_AutomatedFocusManager_FocusDirection_Down_Validation_Uno_UI_Samples_Content_UITests_FocusTests_FocusManager_FocusDirectionImage_Source_Nullify_image_source_nullify_emptyKeyboard_Textbox_NoScrollViewer_Validation_4_-_Remove_Focus_on_multilineTextBoxScreenshots_Image_Stretch_Alignment_SizeOnControl_Mode-2Screenshots_Image_Stretch_Alignment_SizeOnControl_Mode-3TextBox_TextChanged_UITests_Shared_Windows_UI_Xaml_Controls_TextBoxTests_TextBox_TextChangedTextBox_TextChanging_Capitalize_UITests_Shared_Windows_UI_Xaml_Controls_TextBoxTests_TextBox_TextChangingWhen_MaxLines_Changed_With_TextWrapping_UITests_Shared_Windows_UI_Xaml_Controls_TextBlockControl_SimpleText_MaxLines_Different_Font_SizeWhen_MaxLines_Then_AlignmentPositionIsCorrect_Uno_UI_Samples_Content_UITests_TextBlockControl_SimpleText_MaxLines_Two_With_WrapCheckBox_IsEnabled_StatePreservation_Uno_UI_Samples_Content_UITests_ButtonTestsControl_CheckBox_IsEnabled_Automated
-
ios-Snap: 676 changed over 1042🚨🚨 Comparison Details (first 20) 🚨🚨
AutoSuggestBox_BasicAutoSuggestBox_UITests_Shared_Windows_UI_Xaml_Controls_AutoSuggestBoxTests_BasicAutoSuggestBoxBorder_AutoBorderStretchwithtopmargin_Uno_UI_Samples_UITests_BorderTestsControl_AutoBorderStretchwithtopmarginBorder_Border_CornerRadius_BorderThickness_UITests_Windows_UI_Xaml_Controls_BorderTests_Border_CornerRadius_BorderThicknessBorder_OnepxThicknessandRadiusAndTextBlock_Uno_UI_Samples_UITests_BorderTestsControl_OnepxThicknessandRadiusAndTextBlockBorder_UITests_Windows_UI_Xaml_Controls_BorderTests_Border_LinearGradientBrush_UITests_Windows_UI_Xaml_Controls_BorderTests_Border_LinearGradientBrushBrushes_Uno_UI_Samples_UITests_ImageBrushTestControl_DoubleImageBrushInList_Uno_UI_Samples_UITests_ImageBrushTestControl_DoubleImageBrushInListClipping_SamplesApp_Windows_UI_Xaml_Clipping_Transform_Ellipse_In_Canvas_in_Two_Grids_SamplesApp_Windows_UI_Xaml_Clipping_Transform_Ellipse_In_Canvas_in_Two_GridsClipping_SamplesApp_Windows_UI_Xaml_Clipping_Transform_Ellipse_in_Canvas_SamplesApp_Windows_UI_Xaml_Clipping_Transform_Ellipse_in_CanvasComboBox_ComboBox_NoDataContext_UITests_Shared_Windows_UI_Xaml_Controls_ComboBox_ComboBox_NoDataContextComboBox_ComboBox_Picker_SamplesApp_Wasm_Windows_UI_Xaml_Controls_ComboBox_ComboBox_PickerDefault_UITests_Windows_UI_Xaml_Controls_Canvas_Grid_ZIndex_UITests_Windows_UI_Xaml_Controls_Canvas_Grid_ZIndexDefault_UITests_Windows_UI_Xaml_Controls_ComboBox_ComboBox_Dropdown_Background_4418_UITests_Windows_UI_Xaml_Controls_ComboBox_ComboBox_Dropdown_Background_4418Dialogs_UITests_Shared_MessageDialogTests_MessageDialogTest_UITests_Shared_MessageDialogTests_MessageDialogTestDialogs_UITests_Windows_UI_Xaml_Controls_ContentDialogTests_ContentDialog_Dialogs_UITests_Windows_UI_Xaml_Controls_ContentDialogTests_ContentDialog_DialogsFlyouts_MenuFlyout_DroidAltTab_UITests_Windows_UI_Xaml_Controls_MenuFlyoutTests_MenuFlyout_DroidAltTabFlyouts_MenuFlyout_IosNative_UITests_Shared_Windows_UI_Xaml_Controls_MenuFlyoutTests_MenuFlyout_IosNativeFocus_FocusManagerTest_Uno_UI_Samples_Content_UITests_FocusTests_FocusManagerTestFocus_GetFocus_Uno_UI_Samples_Content_UITests_FocusTests_FocusManager_GetFocus_AutomatedGrid_Grid_with_Fixed_Size_Uno_UI_Samples_Content_UITests_GridTestsControl_Grid_with_Fixed_SizeGrid_Grid_with_OutOfRange_Cells_UITests_Shared_Windows_UI_Xaml_Controls_GridTestsControl_Grid_with_OutOfRange_Cells
-
skia-gtk-screenshots: 17 changed over 1101🚨🚨 Comparison Details (first 20) 🚨🚨
MediaPlayerElement-Using .mp3 (Audio only).pngMicrosoft.UI.Composition-CompositionMaskBrush.pngMicrosoft.UI.Composition-RedirectVisual.pngProgress-WindowsProgressRing_GH1220.pngAutomation-AutomationProperties_Name.pngProgress-ProgressRingHeightTest.pngListView-ListViewSelectedItems.pngMUX-WinUIProgressRingPage.pngImage-ImageSourceStream.pngMicrosoft.UI.Composition-CompositionVisualSurface.pngProgress-WinUIProgressRing_Features.pngPipsPager-PipsPagerExamples.pngWinUI-PipsPagerExamples.pngDragAndDrop-DragDrop_TestPage.pngMUX-WinUIProgressRing_CustomSources.pngProgress-WinUIProgressRingPage.pngProgress-WinUIProgressRing_CustomSources.png
-
skia-wpf-screenshots: 18 changed over 1101🚨🚨 Comparison Details (first 20) 🚨🚨
MUX-WinUIProgressRingPage.pngMUX-WinUIProgressRing_CustomSources.pngDragAndDrop-DragDrop_TestPage.pngMicrosoft.UI.Composition-CompositionVisualSurface.pngMicrosoft.UI.Composition-RedirectVisual.pngBrushes-ImageBrushChangingCornerRadius.pngListView-ListViewSelectedItems.pngImage-UniformToFill100x100.pngPipsPager-PipsPagerExamples.pngImage-Image_Stretch.pngProgress-ProgressRingHeightTest.pngProgress-WindowsProgressRing_GH1220.pngMicrosoft.UI.Composition-CompositionMaskBrush.pngProgress-WinUIProgressRing_CustomSources.pngProgress-WinUIProgressRing_Features.pngTransform-TransformToVisual_Translate2d.pngProgress-WinUIProgressRingPage.pngWinUI-PipsPagerExamples.png
-
wasm: 72 changed over 1047🚨🚨 Comparison Details (first 20) 🚨🚨
GenericApp.Views.Samples.Shared.Content.UITests.GridViewMultipleSelectionModeSamplesApp.Windows_UI_Xaml_Controls.ListView.HorizontalListView_TemplatesSamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewWithinScollViewerUITests.Windows_UI_Xaml_Controls.SymbolIconTests.SymbolIcon_GenericUITests.Microsoft_UI_Xaml_Controls.ProgressRing.WinUIProgressRing_FeaturesUITests.Shared.Microsoft_UI_Xaml_Controls.TwoPaneViewTests.TwoPaneViewPageUITests.Shared.Windows_UI_Xaml_Controls.ListView.ListView_Margin_On_ContainerUITests.Shared.Windows_UI_Xaml_Controls.TextBoxTests.TextBox_DisabledUno.UI.Samples.Content.UITests.TextBoxControl.Input_Test_NoScrollViewer_AutomatedUno.UI.Samples.Content.UITests.TextBoxControl.Input_With_PlaceholderTextUITests.Microsoft_UI_Xaml_Controls.ProgressRing.ProgressRingHeightTestUITests.Shared.Windows_ApplicationModel.Email.EmailManagerTestsUITests.Shared.Windows_UI_Xaml.Enability.BasicEnabilityUITests.Windows_UI_Xaml_Controls.ImageTests.SvgImageSource_BasicUITests.Windows_UI_Xaml_Controls.TextBox.TextBox_SelectionHighlightColorUno.UI.Samples.Content.UITests.GridView.GridView_Item_TextBlock_And_ButtonMUXControlsTestApp.RefreshVisualizerPageSamplesApp.Samples.Microsoft_UI_Xaml_Controls.NavigationViewTests.FluentStyle.FluentStyle_NavigationViewSampleSamplesApp.Samples.NavigationViewSample.NavigationViewSampleSamplesApp.Windows_UI_Xaml_Controls.ListView.ListView_Changing_Text
-
wasm-automated-net7.0-UWP-Default-automated: 30 changed over 1951🚨🚨 Comparison Details (first 20) 🚨🚨
MediaPlayerElement_Mini_player_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_MinimalMediaPlayerElement_Sources_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_SourcesColorPicker_WinUIColorPickerPage_UITests_Shared_Microsoft_UI_Xaml_Controls_ColorPickerTests_WinUIColorPickerPageListView_SelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItemsListView_ListViewSelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItemsMediaPlayerElement_MediaPlayerElement_Stretch_Fill_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Stretch_FillPipsPager_MUXControlsTestApp_PipsPagerExamples_MUXControlsTestApp_PipsPagerExamplesAutomation_UITests_Shared_Windows_UI_Xaml_Automation_AutomationProperties_Name_UITests_Shared_Windows_UI_Xaml_Automation_AutomationProperties_NameProgress_UITests_Microsoft_UI_Xaml_Controls_ProgressRing_WinUIProgressRingPage_UITests_Microsoft_UI_Xaml_Controls_ProgressRing_WinUIProgressRingPageProgress_UITests_Microsoft_UI_Xaml_Controls_ProgressRing_WinUIProgressRing_CustomSources_UITests_Microsoft_UI_Xaml_Controls_ProgressRing_WinUIProgressRing_CustomSourcesProgress_UITests_Microsoft_UI_Xaml_Controls_ProgressRing_WinUIProgressRing_Features_UITests_Microsoft_UI_Xaml_Controls_ProgressRing_WinUIProgressRing_FeaturesProgress_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220TextBlock_TextBlockSimpleContrainedHorizontalCenterWrap2_Uno_UI_Samples_Content_UITests_TextBlockControl_TextBlockSimpleContrainedHorizontalCenterWrap2TextBlock_Textblocktimespancustomformat_Uno_UI_Samples_Content_UITests_TextBlockControl_TextblocktimespancustomformatTextBlock_TextBlockTimespan_Uno_UI_Samples_Content_UITests_TextBlockControl_TextBlockTimespanUpDownTest_UITests_Shared_Microsoft_UI_Xaml_Controls_NumberBoxTests_NumberBoxPageTextBlock_TextBlockMultilineInStarStackPanel_Uno_UI_Samples_Content_UITests_TextBlockControl_TextBlockMultilineInStarStackPanelMediaPlayerElement_Using_3gp_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_3gp_ExtensionMediaPlayerElement_Using_flv_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Flv_ExtensionSequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage
-
wasm-automated-net7.0-UWP-RuntimeTests-0: 0 changed over 1 -
wasm-automated-net7.0-UWP-RuntimeTests-1: 0 changed over 1 -
wasm-automated-net7.0-UWP-RuntimeTests-2: 1 changed over 1🚨🚨 Comparison Details (first 20) 🚨🚨
RunRuntimeTests_SamplesApp_Samples_UnitTests_UnitTestsPage
-
wasm-automated-net7.0-WinUI-Benchmarks-automated: 0 changed over 1 -
wasm-automated-net7.0-WinUI-RuntimeTests-0: 0 changed over 1 -
wasm-automated-net7.0-WinUI-RuntimeTests-1: 0 changed over 1 -
wasm-automated-net7.0-WinUI-RuntimeTests-2: 0 changed over 1
Awesome. I'm really looking forward to this feature. Thank you!
Does this feature include in the UNO version of 5.1.80 ?
And I test fail with the UNO version of 5.1.80, and it still does not support multiple touch in WPF.
@lindexi I don't think this PR implements multi touch. It was only intended for proper detection of the pointer device type.