[popups] IJPL-177529 Quick preview is not focused (cannot copy with keyboard shortcut from Quick Preview)

this restores the meaning of 'focusable' flag for popups that was 'broken' since commit 38950341f7

GitOrigin-RevId: 3de66faaf700c0c15e4c1d85d6e47a41763e55cc
This commit is contained in:
Dmitry Batrak
2025-10-21 08:24:10 +00:00
committed by intellij-monorepo-bot
parent f9835df460
commit 012a4fa02a
@@ -1349,7 +1349,7 @@ public class AbstractPopup implements JBPopup, ScreenAreaConsumer, AlignedPopup
LOG.warn("Lightweight popup is shown using AbstractPopup class. But this class is not supposed to work with lightweight popups.");
}
window.setFocusableWindowState(myRequestFocus);
window.setFocusableWindowState(myFocusable);
window.setFocusable(myRequestFocus);
// Swing popup default always on top state is set in true