-
Notifications
You must be signed in to change notification settings - Fork 38
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
Mouse input blocked by transparent window when any msys shell is opened #162
Comments
Could you provide a screenshot of that transparent window? What is the content of |
By transparent I meant it's not visible at all, so there is nothing to screenshot. The question might be: how do I know there is a transparent window if I can't see it? Answer is: I don't know for sure. But after opening msys2 shell in mintty, when I click within a certain region of the screen, the active window goes inactive, and subsequent mouse clicks within that region don't activate any of the visible windows.
By the way, it doesn't happen everytime. Some days, it doesn't happen. But most days, it does. There seems to be no rhyme or reason to it. |
I have the same issue on Windows 11. The attached video shows the behavior. msys2_mouse_bug.mp4
It also is inconsistent, sometimes works, sometimes not. And also I discovered that the "transparent window" changes his position. I suspect that when it works is because the transparent window just spawn outside the screen. This is my ~/.minttyrc file
|
I cannot reproduce this issue here. Maybe there is some sort of hook DLL at play? Some anti-malware for example? I'm clutching at straws here because nothing comes to mind that could cause this. |
I'm on Windows 11 and mainly use msys2 shells (UCRT64 mainly) inside MS Terminal, which means I run this command:
This causes no problem. But when I run msys2 shells in mintty, so the command above without
-defterm
arg, there seems to spawn a transparent window always on top hogging a region of the screen and blocking all mouse input inside that region. I am sure this is related to msys2 shells run in mintty because when I close the msys2 shell in mintty, the mouse inputs/clicks aren't blocked by a transparent window, and it's not caused by the shells in MS Terminal with-defterm
arg, so something else is going on here.Also, I wanted to run msys2 shells in mintty so I could use msys's tmux (it doesn't open on MS Terminal). When I spawn a tmux session, even if I then kill the mintty shell, the transparent window persists, which means it's not a mintty issue, either. From here, I don't know how to debug.
The text was updated successfully, but these errors were encountered: