-
Notifications
You must be signed in to change notification settings - Fork 9
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
Chrome loses focus when i call hyperterm with a hotkey on Win10 #3
Comments
Back in June I wasn't able to reproduce it but now that I take another look at it I am so I'll have to look into this again |
Steps to reproduce this:
|
Yes I can reproduce it with both Chrome and Discord (which is Electron so Chromium I guess). I'll have to debug it |
Discord does work just like overlay? You can hide/show it by a hotkey? Issue is in this mechanism i guess, because VSCode when minimized, not causing this bug to chrome. |
Your sentence is all jumbled up there but what I meant is that Discord also doesn't gain focus back when closing and while I can't check right now if I'd have to guess I'd say no program at all does. |
So you think it would be possible to fix? |
I don't know. I'll have to look into it when I have time. |
Update: I'm afraid I can't fix it without completely rewriting the plugin. It appears that Electron simply doesn't have a proper API to fetch the last focused window for Windows (it does for MacOS) and the reason it didn't work was because the methods used previously were simply returning It might be possible with something like electron-window-manager but like I said, that would require completely rewriting the plugin from scratch and I'm not looking to do that. |
I saw people has solutions for this issue on a Mac, but nothing on windows.
The text was updated successfully, but these errors were encountered: