openOrReveal open filebrowser

I have an extension that adds its own file browser.
To open a notebook, I use DocumentManager.openOrReveal.

In jupyterlab, loading the notebook is a bit slow, so the signal ( _activateRequested) which should open the file browser comes too early and the sync doesn’t work (which works for me).

But with jupyterlite opening is faster and jupyterApps opens its file browser (above mine).
Although the operation under jupyterlite is good, it does not help me.

So

  • There is a signal loss issue if the notebook takes too long to open.
  • and most importantly, I would like to know if it is possible to prevent openOrReveal from sending the signal to the file browser (to prevent synchronization) ?