salvadordf / WebView4Delphi

WebView4Delphi is an open source project created by Salvador Díaz Fau to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows.
https://www.briskbard.com/forum/
MIT License
280 stars 56 forks source link

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

Closed salvadordf closed 7 months ago

salvadordf commented 7 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 CEF4Delphi project.

salvadordf commented 7 months ago

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

salvadordf commented 7 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.