@Override
  public void setVisibleWindowBounds(@NotNull Rectangle r) {
    myBoundsHelper.setBounds(r);
    var newBounds = new Rectangle(r);
    JBInsets.addTo(newBounds, ToolWindowExternalDecoratorKt.getInvisibleInsets(this));
    super.setBounds(newBounds);
  }
@Override
  public void setVisibleWindowBounds(@NotNull Rectangle r)