-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
Description
-
What version of the product are you using?
- Nuget v85.3.130
-
What architecture x86 or x64?
x64 -
On what operating system?
Win10 20H2 -
Are you using
WinForms
,WPF
orOffScreen
?
WPF -
What steps will reproduce the problem?
- use MinimalExample complied CefSharp.MinimalExample.Wpf
- open WPF example on 11th Intel Core cpu whit Iris Xe graphics.
- the web page don't auto redraw unless manual resize window.
-
What is the expected output? What do you see instead?
it's not any expected output, just this page doesn't redraw. -
Please provide any additional information below.
CefSharp.WinForm dosen't have this problem. just WPF have.
use this code disable WPF hardware acceleration, everything seem normal.
protected override void OnSourceInitialized(EventArgs e)
{
base.OnSourceInitialized(e);
HwndSource source = PresentationSource.FromVisual(this) as HwndSource;
if (source != null)
source.CompositionTarget.RenderMode = RenderMode.SoftwareOnly;
}
- Does this problem also occur in the
CEF
Sample Application
NO, only occur in CefSharp.WPF.