Issue '/anaconda3/bin/jupyter lab' in a terminal in one Linux workspace, but the JupyterLab appears as a tab in firefox in a ANOTHER workspace

I issue ‘/anaconda3/bin/jupyter lab’ in a terminal in one Linux workspace, but the JupyterLab appears as a tab in firefox in a ANOTHER workspace.

So I have to keep switching between workspace to work, since the terminal is holding the
output of console.

I have deliberately put Firefox in ANOTHER workspace is so that I do not want to clutter my terminal workspace.

How can I let it appear in the Firefox browser in the SAME workspace?

This probably depends on your Linux desktop environment, but dragging a firefox tab to a empty space should make it into a new window, which you can then move between workspaces.

I “solved” this problem by first opening a Firefox browser in the current workspace. Seems to work.

If it keeps floating to other workspace where Firefox window resides
then I have to think of other solutions.

Thanks.