From ab6fad9379ea68d6e6b0ed1c2a0d75fe7d378722 Mon Sep 17 00:00:00 2001 From: Dmitry Batrak Date: Tue, 11 Jun 2024 13:12:50 +0300 Subject: [PATCH] GTW-8767 PV actions are not working: target component is not showing Add logging GitOrigin-RevId: 8cf936855f245abdfc1e0b62efc66aacc8dd33d1 --- .../src/com/intellij/toolWindow/InternalDecoratorImpl.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/platform/platform-impl/src/com/intellij/toolWindow/InternalDecoratorImpl.kt b/platform/platform-impl/src/com/intellij/toolWindow/InternalDecoratorImpl.kt index c95324dea8bb..de1c3b358206 100644 --- a/platform/platform-impl/src/com/intellij/toolWindow/InternalDecoratorImpl.kt +++ b/platform/platform-impl/src/com/intellij/toolWindow/InternalDecoratorImpl.kt @@ -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