From 8c54d0d00d842de5ec247486edd4ace663db97fb Mon Sep 17 00:00:00 2001 From: Alexander Doroshko Date: Fri, 22 Aug 2025 16:05:17 +0200 Subject: [PATCH] [auto-trial] fix CME after IJPL-202845 'Trial has started' popup may get overlapped by notification balloons (like 'npm install', 'plugin available, Windows Defender, SSL, and others) All notification balloons are postponed until a user closes the 'Trial has started' Got It popup. This is a dirty and hacky fix, sorry. There are no better ideas at the moment GitOrigin-RevId: 895704651db51bd6446e8f9685a98142bf12e3c2 --- .../intellij/notification/impl/NotificationsManagerImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/notification/impl/NotificationsManagerImpl.java b/platform/platform-impl/src/com/intellij/notification/impl/NotificationsManagerImpl.java index 7b508886deef..8e3cd100bd68 100644 --- a/platform/platform-impl/src/com/intellij/notification/impl/NotificationsManagerImpl.java +++ b/platform/platform-impl/src/com/intellij/notification/impl/NotificationsManagerImpl.java @@ -176,8 +176,9 @@ public final class NotificationsManagerImpl extends NotificationsManager { @IntellijInternalApi public void resumeNotifications() { if (myPostponedNotifications != null) { - myPostponedNotifications.forEach(pair -> showNotificationWithSpan(pair.first, pair.second)); + List> postponedNotifications = myPostponedNotifications; myPostponedNotifications = null; + postponedNotifications.forEach(pair -> showNotificationWithSpan(pair.first, pair.second)); } }