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
With WebView (version 1) there is no issue with the pointer!
Importance
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
No response
SDK Version
1.0.2088.41
Framework
WinUI2/UWP
Operating System
Xbox
OS Version
10.0.25398.2538
Repro steps
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). A page was created with a WebView2 control. The control has the properties “RequiresPointer=WhenEngaged” and “IsFocusEngagementEnabled=True”. As soon as the control receives 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 control 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 control.
Expected behavior: Pointer can be moved within whole WebView2 area when focused and engaged.
What happened?
In XBOX UWP app when pointer is used with WebView2 control, the pointer cannot be moved within the whole WebView2 area.
App.xaml.cs:
MainPage.xaml:
MainPage.xaml.cs:
With WebView (version 1) there is no issue with the pointer!
Importance
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
No response
SDK Version
1.0.2088.41
Framework
WinUI2/UWP
Operating System
Xbox
OS Version
10.0.25398.2538
Repro steps
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). A page was created with a WebView2 control. The control has the properties “RequiresPointer=WhenEngaged” and “IsFocusEngagementEnabled=True”. As soon as the control receives 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 control 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 control.
Expected behavior: Pointer can be moved within whole WebView2 area when focused and engaged.
Regression
No, this never worked
Last working version (if regression)
No response
AB#47779728
The text was updated successfully, but these errors were encountered: