JetBrains: Hiding the popup the way we do it now doesn’t work well with some themes
Created by: vdavid
Context
We keep our popup open in the background (we just hide it) when the user “closes” it. We need this behavior because the JCEF browser has glitches with off-screen rendering on Mac, and we can’t reliably close and reopen it.
Problem
Some themes define a gray overlay over the whole editor when a popover is opened. Since we keep our popover alive, it does not go away when we press Escape.
The IDE looks faded, like this:
This can be reproduced with the Material UI theme
Solution ideas
- Figure out what aspect of the popup these themes watch, and try to imitate it being closed.
- Close the popup, and “save” the JCEF browser in some other, visible area of the IDE by making it 1x1px and putting it somewhere
- Think about more solutions? :)