-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimized terminal without explorer is not interactable #16635
Comments
Okay so this might be a dumb question - how are you interacting with a minimized window, if explorer is dead (and presumably, there's no taskbar)/? |
It does? I've never seen that before and I can't repro that now. That does look like the "iconified" state of the HWND, but typically iconified HWNDs are placed off at (-3200, -3200) IIRC. Do you know if that's actually a Terminal HWND - for like, windowsterminal.exe? I have a sneaking suspicion that the hwnd there is actually OpenConsole.exe (though, I guess that would have the old conhost icon, not the Terminal one...). Is there anything else running on your PC that might be messing with HWNDs? PowerToys? AHK? |
Both PowerToys and AutoHotKey are running, but the same thing happens even after killing those two.
I'm not sure how I can check that. That pill disappears when alt+tabbing back to WT or clicking on the icon when restarting explorer - so they are related. |
Okay maybe we need to take a step back here - why are you killing explorer? Is there like, a reason you're trying to run without it? I'm pretty confident that running with explorer killed is largely an unsupported scenario, so like... Here be dragons 🐉/? |
If explorer is unable to start for whatever reason, using the console to restart explorer/run some checks/whatever is probably not an unlikely scenario. |
Right click to the rescue! no-explorer-wt-maximize.mp4For why the buttons don't work... maybe there's a WinUI overlay that we are drawing on top of system caption buttons which is stealing all the mouse events 🤔 Since right click gets you the same functionality, I don't think we need any special arrangement for a no-explorer case. |
Does this repro with console host? |
No, it works as expected with conhost. |
Windows Terminal version
1.18.3181.0
Windows build number
10.0.22631.3085
Other Software
No response
Steps to reproduce
taskkill -f -im explorer.exe
)Expected Behavior
The buttons work. The window is draggable, as with other apps.
Actual Behavior
The buttons don't work. The window isn't draggable.
The window is restorable by Alt+Tab or enabling quake mode, for instance, though, as expected.
The text was updated successfully, but these errors were encountered: