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
WebView2 does not repaint itself when not attached to a debugger
I have a Vue.JS based PWA that I'd like to display in a native WebView2 window, for some special features provided by webview.
With this app after navigation in the application the window fails to be repainted for the 80% ot the cases, as it seems. Alt-tab for the windows with the WebView2 app back and forth repaints it. When running the app under debugger from Visual Studio it consistently works as expected.
I cannot provide call stacks, or error messages, but can show video recording on a non-public channel, or can produce those if given some pointers of what might be of interest.
Version
SDK: 1.0.1901.177
Runtime: 115.0.1901.188 (64 bits)
Framework: WPF, WinForms (on WinForms the bug happened even when the app was run under the debugger!)
OS: Win10
Regression
Was this working before but has regressed? no
Repro Steps
Spin up the vue PWA application
Start the WebView2 kiosk frame application directly from explorer
Do a navigation to a view by clicking a PWA button
Screen is updated to the relevant content
Do a navigation to a view by clicking a PWA button
Actual Behaviour: BUG: Screen is seemingly not updated to the relevant content (in 80% of the cases). (Expected: Screen is redrawn to show the view which was target of the navigation)
a. Click on the non-updated screen might cause navigation to views of the application available only from a view where the navigation was successful, suggesting only a repaint was missed
b. alt-tab back-and forth repaints the window and it can be seen that we are on the desired screen
close the application, and repeat the steps when a debugger is attached to the process
no problems are noticed, all repaints are performed perfectly
The text was updated successfully, but these errors were encountered:
WebView2 does not repaint itself when not attached to a debugger
I have a Vue.JS based PWA that I'd like to display in a native WebView2 window, for some special features provided by webview.
With this app after navigation in the application the window fails to be repainted for the 80% ot the cases, as it seems. Alt-tab for the windows with the WebView2 app back and forth repaints it. When running the app under debugger from Visual Studio it consistently works as expected.
I cannot provide call stacks, or error messages, but can show video recording on a non-public channel, or can produce those if given some pointers of what might be of interest.
Version
SDK: 1.0.1901.177
Runtime: 115.0.1901.188 (64 bits)
Framework: WPF, WinForms (on WinForms the bug happened even when the app was run under the debugger!)
OS: Win10
Regression
Was this working before but has regressed? no
Repro Steps
a. Click on the non-updated screen might cause navigation to views of the application available only from a view where the navigation was successful, suggesting only a repaint was missed
b. alt-tab back-and forth repaints the window and it can be seen that we are on the desired screen
The text was updated successfully, but these errors were encountered: