Skip to content

JetBrains: Force recreation of JCEF browser on every modal show

Administrator requested to merge ps/jetbrains-mac-jcef-issue-workaround into main

Created by: philipp-spiess

This is a workaround for #34773 (closed): On Mac OS, the web view is empty after opening and closing the popover repeatedly.

We work around the issue by forcing a recreation of the JCEF browser window whenever we open the popover.

Note: This fix is only meant to be temporary since it increases the modal opening times drastically and adds noticeable lag.

Test plan

https://user-images.githubusercontent.com/458591/169494988-ffca8a36-821f-4992-ba70-9feaad01a41d.mov

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading