From 012a4fa02a9b4b01ba4ad4875317e5be61d86745 Mon Sep 17 00:00:00 2001 From: Dmitry Batrak Date: Mon, 20 Oct 2025 17:38:04 +0300 Subject: [PATCH] [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 38950341f7a9a58d22e69126bf4c7b9a7c0eab2e GitOrigin-RevId: 3de66faaf700c0c15e4c1d85d6e47a41763e55cc --- .../platform-impl/src/com/intellij/ui/popup/AbstractPopup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/ui/popup/AbstractPopup.java b/platform/platform-impl/src/com/intellij/ui/popup/AbstractPopup.java index f9273dff3834..045523e57de9 100644 --- a/platform/platform-impl/src/com/intellij/ui/popup/AbstractPopup.java +++ b/platform/platform-impl/src/com/intellij/ui/popup/AbstractPopup.java @@ -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