private void updateVisibility() {
    ModalityUiUtil.invokeLaterIfNeeded(ModalityState.stateForComponent(this), () -> {
      if (Disposer.isDisposed(this)) return;

      boolean hasCollectors = updateCollectors(myCrumbsShown);
      if (hasCollectors != isVisible()) {
        setVisible(hasCollectors);
        revalidate();
        repaint();
      }
      queueUpdate();
    });
  }
private void updateVisibility()