GTW-8767 PV actions are not working: target component is not showing

Add logging

GitOrigin-RevId: 8cf936855f245abdfc1e0b62efc66aacc8dd33d1
This commit is contained in:
Dmitry Batrak
2024-06-11 12:37:58 +00:00
committed by intellij-monorepo-bot
parent ed04d771a9
commit ab6fad9379
@@ -818,6 +818,9 @@ class InternalDecoratorImpl internal constructor(
}
override fun addNotify() {
if (log().isTraceEnabled) {
log().trace(Throwable("Tool window $toolWindowId shown"))
}
super.addNotify()
if (isSplitUnsplitInProgress()) {
return
@@ -841,6 +844,9 @@ class InternalDecoratorImpl internal constructor(
}
override fun removeNotify() {
if (log().isTraceEnabled) {
log().trace(Throwable("Tool window $toolWindowId hidden"))
}
super.removeNotify()
if (isSplitUnsplitInProgress()) {
return