Description
What happened?
Hello dear WebView2-Team.
We're running a CDialog derived (MFC) application which hosts an instance of the WebView2 control.
To prevent the application from flickering e.g. in tab change scenarios we WM_SETREDRAW the dialog.
Unfortunately, this causes WebView2 control to partly heavy flicker for any WM_SETREDRAW message issued.
Can you please take a look into the problem?
Is there a way to remedy this flickering problem?
For reproduction convenience I attached a simple demo project to this ticket.
Best regards,
Sascha
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
133.0.3065.92
SDK Version
1.0.3124.44
Framework
Win32
Operating System
Windows 11
OS Version
26100.2894
Repro steps
Please find a demo project attached to this ticket which you can use to reproduce this problem.
- Unzip the file
- Build the project
- Run the application
After the dialog shows up the flicker of the WebView2 control starts almost immediately.
The flickering is triggered from within the dialog's OnTimer implementation.
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Don't know
Last working version (if regression)
No response