Skip to content
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

Key presses in Switcheroo can be sent to other windows #34

Closed
kvakulo opened this issue Feb 22, 2015 · 0 comments
Closed

Key presses in Switcheroo can be sent to other windows #34

kvakulo opened this issue Feb 22, 2015 · 0 comments
Milestone

Comments

@kvakulo
Copy link
Owner

kvakulo commented Feb 22, 2015

As first reported in #27. It seems to affect Enter and Esc.

What happens is that when a user select and program in Switcheroo, and press Enter, then the selected window is immediately focused and activated. The user then releases Enter and the window then receives the message that Enter has been released, and might act on this.

The solution seems to be not to switch to the selected window before the user has released Enter - and likewise with Esc not to dismiss the Switcheroo window before the user releases the key.

kvakulo added a commit that referenced this issue Feb 22, 2015
This commit should prevent `Enter` and `Esc` key releases to be sent to
the window focused after pressing either `Enter` or `Esc` in Switcheroo.
@kvakulo kvakulo mentioned this issue Feb 22, 2015
kvakulo added a commit that referenced this issue Feb 23, 2015
This commit should prevent `Enter` and `Esc` key releases to be sent to
the window focused after pressing either `Enter` or `Esc` in Switcheroo.
@kvakulo kvakulo closed this as completed Feb 23, 2015
@kvakulo kvakulo modified the milestone: 0.9 Mar 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant