NextBuild icon indicating copy to clipboard operation
NextBuild copied to clipboard

MacOS terminal window remains in background after terminal build task is triggered.

Open mszulen opened this issue 5 months ago • 5 comments

As per title, the terminal/mono window doesn't go to foreground automaticaly. It needs to be done manually. I've tried to disable the (suggested somewhere) "secure keyboard entry", but it did not change anything. Is this causes by some OS limitation/security feature or could be changed in settings?

mszulen avatar Aug 08 '25 09:08 mszulen

Unfortunately, I do not have access to MacOS so unable to provide any support on this, maybe a member of the community can?

em00k avatar Aug 24 '25 13:08 em00k

This has been the case for some years when launching CSpect via Mono via command-line tools. In the absence of a workaround, I have learned muscle memory of Command+Tab to gain focus. Another option may be to force it to launch in fullscreen mode (if that is suitable for your workflow).

NealeTools avatar Sep 24 '25 16:09 NealeTools

This has been the case for some years when launching CSpect via Mono via command-line tools. In the absence of a workaround, I have learned muscle memory of Command+Tab to gain focus. Another option may be to force it to launch in fullscreen mode (if that is suitable for your workflow).

Yes, that seems to be the best way with a single monitor setup. With a dual display, I was just dragging the VSCode window to the second display so it did not cover the terminal on the first/main one.

mszulen avatar Sep 26 '25 12:09 mszulen

Do you use -mouse option? This is a life saver when I discovered. Even if not in focus: Did you find a way to make the Mono/CSpect window launch on a specific screen? If so, please share!

NealeTools avatar Sep 26 '25 12:09 NealeTools

Do you use -mouse option? This is a life saver when I discovered. Even if not in focus: Did you find a way to make the Mono/CSpect window launch on a specific screen? If so, please share!

I haven't user -mouse.

Regarding mono - I just learned to move the vscode window to the second screen and this way mono opens on the default/first one. No idea if you can force mono window to open on a specific screen.

mszulen avatar Sep 27 '25 14:09 mszulen