-
-
Notifications
You must be signed in to change notification settings - Fork 966
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
[MacOS] Kitty grabs focus in split fullscreen unexpectedly #1803
Comments
I cannot reproduce the issue. Here is what I tried:
|
Try starting kitty with |
Ok, having played around I know what this is - I'm switching away to another kitty window on the next desktop. This takes focus, then when I return to the split view kitty is actually retaining the focus it got from the next window. This is probably a MacOS thing, sorry to bother. |
That's weird, even when I have another kitty window open on the second desktop, kitty still doesn't have focus when I switch back. |
Is the other kitty window a separate instance of the app? Grr, just invalidated my previous theory while writing this comment. I switch the other way to Slack while typing here, switch back and kitty has focus again 🤔 |
Did you try the |
I did, but perhaps not rigorously enough. Trying again with a more systematic approach. |
Desktop setup is [ Slack ] | [ Chrome + kitty ] [ kitty ]. Result is what happens when switching back:
✅ = On return, same app has focus Something in my config is causing that first focus theft then, I'll try and figure that out. Current config
|
Did you figure anything out? |
I had the same problem. Removing |
@DazWorrall I couldn't reproduce the issue with your config file. Can you try to figure out which config option is responsible for your issue? After looking at the code of |
no followup |
If 2 windows - A and B - share a native fullscreen desktop on MacOS, the window with focus is preserved as you switch to and from that desktop. E.g. if you're typing something into window A, switch to another desktop to copy some text and switch back, you can hit paste and have the contents land exactly where you left your cursor. If kitty is one of those windows it will always grab focus when returning to the split view. The previous example is a real life one for me and several times I've pasted something I didnt mean to into my shell!
Using 0.14.2.
The text was updated successfully, but these errors were encountered: