Replies: 5 comments 3 replies
-
Converted to discussion as this is unlikely a bug in CefSharp. What troubleshooting have you done already? Check the log file? What command line args are you using if any? |
Beta Was this translation helpful? Give feedback.
-
I was able to reproduce the issue in minimal example. It seems the issue is not present in version 96.0.180 and appear in next version 97.1.11 Steps to reproduce:
Expected: Empty page should be loaded immediately. I prepared two commits in this fork where you can see it First commit is with version 96 where it works fine, second commit bump the version to 97 and you can see the delay with naked eye Initially I tried to reproduce this without ResourceHandler with LoadHtml method but I couldn't. Once I created the TestResourceHandler this became reproducible. |
Beta Was this translation helpful? Give feedback.
-
I was able to reproduce it with CEF Sample application |
Beta Was this translation helpful? Give feedback.
-
This was accepted as bug from Chromium team. For workaround for this issue you can use |
Beta Was this translation helpful? Give feedback.
-
What architecture x86 or x64?
x64
What version of .Net?
.Net 4.8
On what operating system?
Win11
Are you using
WinForms
,WPF
orOffScreen
?WinForms with WindowsFormsHost in WPF app
I just upgraded from CefSharp 81 to 100 and I noticed delay of browser repaint after the page is loaded.
Here gif that shows the issue. This is mail app and I am switching between emails. On the right in the debugger you can clearly see that DOM is loaded fast but on the right in the browser the image of the old page is visible for a while.
I was able to capture the issue in the performance tab. You can clearly see DOM Loaded occurred at ~190ms but the repaint happened at ~990ms
I rolled back to version 81 and this is how fast is repainted there
Any suggestions what could cause this? Is there any setting that I can turn on/off to bring the old behavior?
Beta Was this translation helpful? Give feedback.
All reactions