@NotNull
  @Override
  public Rectangle getVisibleWindowBounds() {
    var result = getBounds();
    JBInsets.removeFrom(result, ToolWindowExternalDecoratorKt.getInvisibleInsets(this));
    return result;
  }
@NotNull
  @Override
  public Rectangle getVisibleWindowBounds()