flyingpie / windows-terminal-quake

Enable Quake-style dropdown for (almost) any application.
https://wtq.flyingpie.nl
MIT License
598 stars 39 forks source link

Main window handle not accessible #97

Closed PhilLovesToCode closed 6 months ago

PhilLovesToCode commented 3 years ago

This problem just started today. Whenever I try to launch the app, I get the error "Error Starting Windows Terminal Quake: Main window handle not accessible." Could it be that there was a Windows 11 update that borked this? I'm running OS build 22000.160.

worthwhileindustries commented 3 years ago

@PhilLovesToCode This happens to me on windows 10 after upgrading windows terminal sometimes and then I have to manually go to the quake exe and launch it. Seems to fix it in that scenario anyway.

garf commented 1 year ago

For me, this was happening if my WT app was already launched. Killing the app and then launching WTQ worked.

Arakhor commented 1 year ago

Happens to me if I try to add windows-terminal-quake as a startup program. I tried "Run" registry, startup shell folder, task scheduler and task scheduler with 10 sec delay, for some reason the app just refuses to be launched on startup. I also tried setting launch executable in the program's config to "wt -p Powershell -command windows-terminal-quake", but it seems like the program is unable to pass arguments to the executable?

flyingpie commented 6 months ago

Many of the "Main window handle not accessible"-related issues have been fixed in the last two (v2) releases. I'm gonna close this, feel free to re-open or create new issue if anyone encounters it still!