ChocoButler icon indicating copy to clipboard operation
ChocoButler copied to clipboard

Output window not hidden when Windows Terminal is set as the default terminal

Open rollingmoai opened this issue 4 years ago • 4 comments

In windows 11, you can set Windows Terminal to be the default terminal.

Default terminal

However, it causes the ChocoButler output window to not hide on start.

rollingmoai avatar Nov 08 '21 04:11 rollingmoai

I confirm this. When I set the default terminal app to Windows Terminal, a Windows Terminal instance is shown upon restarting a Windows session (or launching ChocoButler). Of course, if I close this Windows Terminal window, ChocoButler quits.

image

If I put the setting back to the default, Windows Console Host, then the terminal does not get shown when ChocoButler launches.

Would it be a Chocolatey issue?

BTW I really like your app. Much better than anything else I've tried so far. Perfect concept.

SylChamber avatar Nov 08 '21 13:11 SylChamber

Thanks both! ChocoButler is started via chocobutler.bat which includes the -windowstyle hidden switch to the Powershell command. Looks like the new Windows Terminal is mangling that? I'll see if I can work out what's going on in Windows 11!

cokelid avatar Nov 08 '21 13:11 cokelid

Would it be a Chocolatey issue?

Looks like it is an issue with Windows Terminal: https://github.com/microsoft/terminal/issues/11627

rollingmoai avatar Nov 08 '21 13:11 rollingmoai

I've got Win11 installed now and have at least reproduced the error. I'll see if I can find a workaround...

cokelid avatar Nov 29 '21 14:11 cokelid