diff --git a/platform/platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionToolbarImpl.java b/platform/platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionToolbarImpl.java index 66f023ec037d..3c943299f0d6 100644 --- a/platform/platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionToolbarImpl.java +++ b/platform/platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionToolbarImpl.java @@ -1000,6 +1000,7 @@ public class ActionToolbarImpl extends JPanel implements ActionToolbar { final ComponentPopupBuilder builder = JBPopupFactory.getInstance().createComponentPopupBuilder(popupToolbar, null); builder.setResizable(false) .setMovable(true) // fit the screen automatically + .setMayBeParent(true) // a dialog-based popup is not always on top .setRequestFocus(false) .setTitle(null) .setCancelOnClickOutside(true)