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

Modifier keys seem sticky or don't get detected properly #82

Open
Johnhersh opened this issue Oct 14, 2024 · 3 comments
Open

Modifier keys seem sticky or don't get detected properly #82

Johnhersh opened this issue Oct 14, 2024 · 3 comments
Labels
bug Something isn't working marked for closure There were no further complaints after update or inactive/additional information was not provided

Comments

@Johnhersh
Copy link

Describe the Bug/Issue

Modifier keys don't get properly detected immediately.

Steps to Reproduce

In Safari I usually use Ctrl+Tab to switch tabs. On the client machine if I hold Ctrl, then press Tab it acts like pressing Tab without Ctrl and selects the url bar, if I keep Ctrl still pressed and press Tab again it actually navigates to the next tab.

So to do Ctrl+Tab I have to do Ctrl+Tab+Tab.

I see similar behavior with shift and cmd for closing tabs or switching between apps. Another example is dragging a file from one folder to another. Usually pressing the Opt button adds a green + icon to show the file will be copied. But I have to press it twice for that to get picked up.

Expected Behavior

It should detect modifier buttons.

Your Environment

  • OS details: MacOS 15.0.1 (on both client and server)
  • Cursr Version: 1.7.2
  • License: Free

Additional Context

Attached log of when this happens:

app.log

@ragauskl
Copy link
Contributor

I tried reproducing the issue and majority of keys work as expected for me, but I'm also doing this on 1.7.3 which I'll be releasing as 'beta' now so I'd suggest enabling 'Early Access' in setting and see if 1.7.3 helps. I can however still semi-reproduce the "Usually pressing the Opt button adds a green + icon to show the file will be copied" one, where the green arrow shows up but disappears as soon as mouse is moved.

Let me know if 1.7.3 will solve this (will be released in next hour or so) or if it will be still an issue, in which case I'll have a look again

@ragauskl ragauskl added the bug Something isn't working label Oct 19, 2024
@Johnhersh
Copy link
Author

I tried this for about a day or so now and it seems to work much better!

The only new issue I have now is that it seems modifier keys are applied on both the host machine and the client. For me I use an IDE (Pycharm) and double-shift brings up a menu. If I have it open on both computers I see the menu open up on both computers.

This is totally not a big deal.

But I haven't seen the keys issue in this version.

@ragauskl
Copy link
Contributor

The 'new' issue may not be so new, Cursr doesn't fully consume certain modifier keys so that the keyboard would still emit correct modified keys. This is a temporary thing until I fully and correctly implement handling the state of keyboard to Cursr.

If original issue does not occur by the time 1.7.3 is released as stable I'll close this issue right after stable release then

@ragauskl ragauskl added the marked for closure There were no further complaints after update or inactive/additional information was not provided label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working marked for closure There were no further complaints after update or inactive/additional information was not provided
Projects
None yet
Development

No branches or pull requests

2 participants