You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove Windows.UI.Input.* from the public API #18875
difficulty/starter 🚀Categorizes an issue for which the difficulty level is reachable by newcomerskind/breaking-change 💥Categorizes an issue or PR as requiring a breaking change to be fixed.kind/bugSomething isn't working
This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.
This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.
This issue was closed because it had no activity for 10 days after being marked as stale. If you believe this is still relevant, feel free to reopen it or open a new issue with updated context.
Closing this as invalid: the Windows.UI.Input.* types are public in WinUI 3 too.
WinUI 3 apps target net*-windows10.0.x, which references the Windows SDK projection (Microsoft.Windows.SDK.NET.dll), and every Windows.UI.Input.* type is public there. I compared the type metadata:
Uno (Uno.WinRT.dll, 7.1.0-dev.161) has 173 public Windows.UI.Input.* types.
Windows SDK projection 10.0.19041 has exactly the same 173 types: Uno has nothing extra and is missing nothing.
Windows SDK projection 10.0.26100 adds 31 more (Preview.Text.*, PhysicalGestureRecognizer, Touchpad*). They aren't in Uno because the sync generator references the 19041 projection.
Several of these types also work in WinUI 3 desktop apps, for example Windows.UI.Input.Preview.Injection.InputInjector, which our own runtime tests use when they run against WinUI. Making them internal or removing them would break source compatibility with code written for WinUI.
A separate, real problem turned up during the investigation: the Uno.UI/UI/Input/WinRT/*.cs files are also compiled into Uno.WinRT under Windows.UI.Input. As a result, Windows.UI.Input.GestureRecognizer.ProcessDown/Move/UpEvent take Microsoft.UI.Input.PointerPoint instead of Windows.UI.Input.PointerPoint, and a few Uno-only members appear in that namespace. That will be tracked in a separate issue.
difficulty/starter 🚀Categorizes an issue for which the difficulty level is reachable by newcomerskind/breaking-change 💥Categorizes an issue or PR as requiring a breaking change to be fixed.kind/bugSomething isn't working
Activity
github-actions commentedon May 8, 2026
This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.
github-actions commentedon Oct 18, 2026
This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.
github-actions commentedon Oct 29, 2026
This issue was closed because it had no activity for 10 days after being marked as stale. If you believe this is still relevant, feel free to reopen it or open a new issue with updated context.
MartinZikmund commentedon Nov 18, 2026
Closing this as invalid: the
Windows.UI.Input.*types are public in WinUI 3 too.WinUI 3 apps target
net*-windows10.0.x, which references the Windows SDK projection (Microsoft.Windows.SDK.NET.dll), and everyWindows.UI.Input.*type is public there. I compared the type metadata:Uno.WinRT.dll, 7.1.0-dev.161) has 173 publicWindows.UI.Input.*types.Preview.Text.*,PhysicalGestureRecognizer,Touchpad*). They aren't in Uno because the sync generator references the 19041 projection.Several of these types also work in WinUI 3 desktop apps, for example
Windows.UI.Input.Preview.Injection.InputInjector, which our own runtime tests use when they run against WinUI. Making them internal or removing them would break source compatibility with code written for WinUI.A separate, real problem turned up during the investigation: the
Uno.UI/UI/Input/WinRT/*.csfiles are also compiled into Uno.WinRT underWindows.UI.Input. As a result,Windows.UI.Input.GestureRecognizer.ProcessDown/Move/UpEventtakeMicrosoft.UI.Input.PointerPointinstead ofWindows.UI.Input.PointerPoint, and a few Uno-only members appear in that namespace. That will be tracked in a separate issue.