-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple Renders/paint events processed at the same time #4998
Comments
Does it reproduce with this version?
I don't review code as zip files
How does it behave with the If that works then you'll need to find a way to test with the |
Hi @amaitland ! the problem im having is reproducable with what i have sent in the zip, which is the source of the blazor hybrid webview we are using that is based on the Baksteen.Blazor.CefSharp package. im sorry you feel like not reviewing zip files, but i had to send it as a zip file as it is hosted on a private git with my client so this is the best i can do for now, unless you want me to start a private repo that i can delete afterwards? to give a complete picture, incase i wasnt clear before, is that these packages allow blazor hybrid to work inside CEF(Sharp) and run natively instead of a full website inside WPF. it does this by starting the webview version of blazor. because of the nature of the code (a whole webview manager build on top of the CEF webview) i dont know if its that easy to reproduce in the sample applications without porting that to the project. do you want me to try that? |
Any luck testing this? |
Is there an existing issue for this?
CefSharp Version
131.2.7
Operating System
Windows 10
Architecture
x64
.Net Version
.net 8
Implementation
WPF
Reproduction Steps
the supplied code is a repo based on the blazor webview i made together with jpmikkers. its different, but similar to his version @ https://github.com/jpmikkers/Baksteen.Blazor.CefSharp.
when using the WPF example and going to the counter page, and typing a random large text quickly into the first textbox you can get a render batch exception.
CefSharp.BlazorWebview.zip
Expected behavior
no exception being thrown by blazor
Actual behavior
blazor throwing render batch exception because it is getting a render complete message before the render is actually done.
Regression?
No response
Known Workarounds
N/A
Does this problem also occur in the CEF Sample Application
Not Tested
Other information
what is actually happening, from what i can understand and figured is that 2 renders are triggered in quick succession, or simultaneously, and the second render is faster than the first. this results in blazor getting a render complete message from the second render before the first render and it throwing an exception and no longer working.
it looks like CEF(sharp) is doing the 2 renders at the same time which it shouldn't do.
or it is somehow ditching one render, saying its complete, before it did anything at all.
any information of help is very much appreciated because i have no idea how to fix this...
The text was updated successfully, but these errors were encountered: