-
Notifications
You must be signed in to change notification settings - Fork 693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xbox UWP app: Pointer mode does not work properly when scaling is set to default (200 %) #9076
Comments
This is an UWP issue, not a WinUI issue! Example with pointer issue:App.xaml.cs:
MainPage.xaml:
MainPage.xaml.cs:
ImportanceBlocking. My app's basic functions are not working due to this issue. Runtime ChannelStable release (WebView2 Runtime) Runtime VersionNo response SDK Version1.0.2088.41 FrameworkWinUI2/UWP Operating SystemXbox OS Version10.0.25398.2538 |
Please see this note regarding WinUI2 issues. Closing as not planned. |
This is business critical, because my commercial app is not working without fixing the issue! I need WebView2 for the use case. On Xbox there are no alternatives of using UWP. |
Hi @remokeitel, thank you so much for opening this and bringing it to our attention. Our intention with WinUI2 bugs is to address them if they severely impact our business priorities, such as if a UWP bug caused a system vulnerability, but I can see why you understood the note the way you did. Apologies if this was confusing - I've updated the wording to make things a little clearer (see this PR: #9129). In the meantime, I'm sorry but this bug is not on our plan to fix. |
This issue has been moved from a ticket on Developer Community.
The UWP app is configured for the Xbox so that the pointer mode is only enabled when requested (RequiresPointerMode = ApplicationRequiresPointerMode.WhenRequested). The scaling is set to default (200 % for UWP apps). One page was created with a ScrollViewer and one with a WebView2 element. Both elements have the properties "RequiresPointer=WhenEngaged" and "IsFocusEngagementEnabled=True". As soon as the elements receive the focus and the pointer mode is activated (IsFocusEngaged = True), the pointer appears. However, the pointer can only be used in 25 % of the area of the element at the top left. As soon as scaling is disabled (ApplicationViewScaling.TrySetDisableLayoutScaling(true)) and the app is displayed at 100 %, the pointer can be navigated over the entire area of the element.
Original Comments
Feedback Bot on 11/12/2023, 05:55 PM:
(private comment, text removed)
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: