salvadordf / CEF4Delphi

CEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows, Linux and MacOS.
https://www.briskbard.com/forum/
Other
1.19k stars 363 forks source link

App crash when initializing CEF and WebView2 browsers in the same form. #500

Closed salvadordf closed 5 months ago

salvadordf commented 5 months ago

The latest WebView2 update seems to cause a crash when the application has CEF and WebView2 browsers in the same form.

Also reported in the CEFSharp project and the WebView4Delphi project.

salvadordf commented 5 months ago

I created an issue in the WebView2 feedback repository. https://github.com/MicrosoftEdge/WebView2Feedback/issues/4343

salvadordf commented 5 months ago

After further investigation I could see that this issue only happens when the application uses different versions of Chromium and Edge. CEF 120 + Webview2 120 -> Not affected. CEF 121 + Webview2 121 -> Not affected. CEF 120 + Webview2 121 -> Affected. CEF 121 + Webview2 120 -> Affected.

Update CEF4Delphi, WebView4Delphi and Windows to fix this issue.