mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
[feedback] IJPL-177421 Check for dialog presence does not really make sense in IdleFeedbackResolver
(cherry picked from commit 55027258a12caab87f2de999626eb18988da86f9) (cherry picked from commit 0de92aa97b172cfb62ef1c055d58bbcf1247a371) IJ-MR-155667 GitOrigin-RevId: 83ca27e0d368d4205f431bb8c1d38eec7897238a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
88af5d2f2d
commit
ccbbb17dd8
@@ -10,8 +10,6 @@ import com.intellij.openapi.diagnostic.thisLogger
|
||||
import com.intellij.openapi.extensions.ExtensionPointName
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.util.registry.Registry
|
||||
import com.intellij.openapi.wm.IdeFrame
|
||||
import com.intellij.openapi.wm.WindowManager
|
||||
import com.intellij.platform.feedback.FeedbackSurvey
|
||||
import com.intellij.platform.feedback.impl.notification.RequestFeedbackNotification
|
||||
import com.intellij.platform.feedback.impl.state.DontShowAgainFeedbackService
|
||||
@@ -45,11 +43,6 @@ class IdleFeedbackResolver(private val cs: CoroutineScope) {
|
||||
return
|
||||
}
|
||||
|
||||
if (WindowManager.getInstance().mostRecentFocusedWindow !is IdeFrame) {
|
||||
thisLogger().debug("There is a dialog shown on top of the IDE frame, not showing the feedback notifications")
|
||||
return
|
||||
}
|
||||
|
||||
val feedbackNotifications = NotificationsManager.getNotificationsManager()
|
||||
.getNotificationsOfType(RequestFeedbackNotification::class.java, project)
|
||||
if (feedbackNotifications.isNotEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user