-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Broken window focus #4360
Comments
install git 64 windows on windows11 .then open git bash.This will cause all programs to lose focus on windows11. You can only turn off gitbash. |
I can't reproduce this issue. |
from github release download git.then install Git-2.40.0-64-bit.exe and Git-2.39.2-64-bit.exe and Git-2.38.1-64-bit.exe all defualt.then open gitbash.then move other programs (two programs .the second and later.) all programs to lose focus on windows11 lastversion |
Neither can I. |
I am using a simplified Chinese language pack. Is there any possibility of this being relevant? |
Please try ftgamma, which is a simple program with nothing beyond CreateWindow and some basic GDI, or you can try something else. I just confirmed that it used to work and grab the keyboard focus under Windows 10. The most recent version under Windows 11 does not. Notepad is not a good example to try. I re-filed this issue with mintty. |
You issue is irrelevant to my bug report. It is not nice to hijack other bug reports for your needs. It only confuses the developers. File your own issue "This will cause all programs to lose focus on windows11," whatever this means. My issue is about not passing the focus to a very simple and very fast window executable. |
Sorry, I couldn't understand your description, even after translation. Just seeing the focus lost. Thought it was the same question as me.And my problem also is not passing the focus.in all can move window program |
pbrush.exe also starts in the back without focus, but mintty also loses focus while staying raised. This is Windows 11 fully updated on the brand new Dell desktop. I have a feeling that this has something to do with popup/notification features. |
To narrow it down, this seems to be a problem on Windows 11 only. To reproduce, see if you can start pbrush.exe (aka mspaint.exe) from the command line normally. For me it starts behind the mintty window with the focus lost completely for either window. |
|
@rimrul, is that on Windows 11? |
Yes. Windows 11 Pro 22H2 Build 22621.1105 |
Windows 11 |
Thanks for the |
Perhaps I will post a video. Recording.2023-08-01.202307.mp4 |
I can reproduce this for |
I had meanwhile tested this on Windows 11. Running calc from a cygwin shell in mintty transfers focus to calc for me. |
When I launch a program, e.g. ftgamma which opens a window, the focus stays on the mintty window. It used to switch to the launched window as it should normally, as it does from cmd. Something broke in 2.40.0.I know that it is not git but I have no idea which component either.
The text was updated successfully, but these errors were encountered: