mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-185581 Can't add new Startup Tasks configuration
This commit is contained in:
@@ -121,6 +121,7 @@ public class BookmarksAction extends AnAction implements DumbAware, MasterDetail
|
||||
});
|
||||
|
||||
Point location = DimensionService.getInstance().getLocation(DIMENSION_SERVICE_KEY, project);
|
||||
myPopup.getContent().putClientProperty("BookmarkPopup", "TRUE");
|
||||
if (location != null) {
|
||||
popup.showInScreenCoordinates(WindowManagerEx.getInstanceEx().getMostRecentFocusedWindow(), location);
|
||||
}
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ class EditBookmarkDescriptionAction extends DumbAwareAction {
|
||||
return;
|
||||
}
|
||||
Bookmark bookmark = BookmarksAction.getSelectedBookmarks(myList).get(0);
|
||||
// myPopup.setUiVisible(false);
|
||||
myPopup.setUiVisible(false);
|
||||
|
||||
BookmarkManager.getInstance(myProject).editDescription(bookmark, myList);
|
||||
|
||||
|
||||
@@ -79,11 +79,6 @@ public final class IdePopupManager implements IdeEventQueue.EventDispatcher {
|
||||
&& !ultimateParentForFocusedComponent.equals(ultimateParentForEventWindow)) {
|
||||
shouldCloseAllPopup = true;
|
||||
}
|
||||
else if (focused instanceof Dialog && ((Dialog)focused).isModal()) {
|
||||
// close all popups except one that is opening a modal dialog
|
||||
closeAllPopups(true, focused.getOwner());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (shouldCloseAllPopup) {
|
||||
|
||||
@@ -922,9 +922,12 @@ public class AbstractPopup implements JBPopup {
|
||||
window.setFocusableWindowState(myRequestFocus);
|
||||
window.setFocusable(myRequestFocus);
|
||||
// temporary w/a (will be brought back in jdk)
|
||||
if (SystemInfo.isJetBrainsJvm) {
|
||||
if ("TRUE".equals(getContent().getClientProperty("BookmarkPopup"))) {
|
||||
window.setType(Window.Type.NORMAL);
|
||||
} else if (SystemInfo.isJetBrainsJvm) {
|
||||
window.setType(Window.Type.POPUP);
|
||||
}
|
||||
|
||||
// Swing popup default always on top state is set in true
|
||||
window.setAlwaysOnTop(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user