-
Notifications
You must be signed in to change notification settings - Fork 6
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
Wox does not get focused on Alt+Tab #6
Comments
try 1.3.109 |
I will test more extensively this week on a real Windows installation. So far, in the VM when I set the hotkey to Alt+Tab it reacts to the first one correctly, but sequential presses of tab get recognized as Alt+Tab. Cannot confirm if this is a VM issue or not at this point. |
could you try 1.3.103 to test this problem? |
|
Revert d78c258 because it cause problem here: Wox-launcher/Wox.Plugin.Switcheroo#6 (comment)
how about 114...? |
do you have this problem in release version v1.3.67 ? |
@happlebao Builds 114, 122 have the same issue. Wox is shown, but not focused. In build 1.3.67 upon launching Wox with the hotkey set to Alt+Tab I'm notified that the hotkey could not be set. If build 1.3.67 is using NHotkey to register the Alt+Tab hotkey it will not work, because NHotkey tries to register a new system-wide hotkey and not adding a hook to the chain of calls. |
|
methods to register/hook alt+tab
how other applications doing
I can't find any working method or working application now. |
Sorry for the delays between answers, I am a little busy with finals. I think the way to go is to keep using the low-level hook, but also add the functionality to be able to focus the Wox window also on a low-level. What do you think? Also, on a separate topic, I recently found GoToWindow and I think Switcheroo could be eventually replaced by it. While both projects (Switcheroo&GotoWindow) are not in active development, GoToWindow has some interesting functionality (as jumping to specific browser tabs). |
@lances101 |
Edit:
The key_up (260) and key_down (261) events are watched and the function returns false, but then it fires once more and returns true. |
could you get focus when using switcheroo (alt tab enabled)? |
All of what I said in my last comment is related to 1.3.67 with Alt+Tab in Switcheroo enabled. |
I know. |
I took a look at their code now. It seems like they had the same problem. Take a look at the comment here |
e92367a seems to have fixed the issue. I've tested on several machines and it seems to work as expected now. |
I tested 1.0.7, alt+tab did not work for me. Windows 10 10586 X64 |
As of 1.0.6, still, while the Alt+Tab hotkey is overriden and Wox is shown, the focus is not on Wox's input field.
The text was updated successfully, but these errors were encountered: