mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix expandable hints on completion popup
This commit is contained in:
@@ -334,6 +334,9 @@ public abstract class AbstractExpandableItemsHandler<KeyType, ComponentType exte
|
||||
Window owner = SwingUtilities.getWindowAncestor(myComponent);
|
||||
Window popup = SwingUtilities.getWindowAncestor(myTipComponent);
|
||||
Window focus = WindowManagerEx.getInstanceEx().getMostRecentFocusedWindow();
|
||||
if (focus == owner.getOwner()) {
|
||||
focus = null; // do not check intersection with parent
|
||||
}
|
||||
boolean focused = SystemInfo.isWindows || owner.isFocused();
|
||||
for (Window other : owner.getOwnedWindows()) {
|
||||
if (!focused && !SystemInfo.isWindows) {
|
||||
|
||||
Reference in New Issue
Block a user