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

Bug: kanata wintercept doesn't send anything on any keyboard and mouse if you disconnect and reconnect a mouse input device #767

Closed
1 task done
flamingjupiter opened this issue Feb 21, 2024 · 5 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@flamingjupiter
Copy link

Requirements

Describe the bug

Just as the title says, if you disconnect and reconnect a mouse/mouse like input device, kanata stops sending any input from any keyboard and/or mice, except for cursor input and mouse buttons from hardware ids not listed on windows-interception-mouse-hwid defcfg option.

Kanata still shows when you change layers and all that on its terminal, but you won't actually send anything. Then you have to move the cursor with any mouse/cursor input device (it doesn't block cursor input/movement) to close kanata's window using only mouse buttons, because nothing else will actually input on the system (I move the cursor to kanata's terminal window and just click on the close button). Then you can input anything normally, albeit without kanata modifications, because it isn't running.

I need to restart the computer in order to use kanata normally again. If I disconnect/reconnect the mouse, be it with kanata opened or closed, this bug will happen over and over whenever I open/have kanata running on my system, until I restart it.

I still haven't tested what happens if I connect another keyboard (so 2 keyboards in total) and list only one of them on the windows-interception-keyboard-hwids, to see if the keyboard that's not listed retain input capability. And putting the computer to sleep and waking up doesn't cause this bug. Didn't test hibernating the computer as well.

I will also test disconnecting the mouse and not reconnecting, to see if the bug happens or not.

Relevant kanata config

No response

To Reproduce

Expected behavior

.

Kanata version

kanata v1.6.0-prerelease-1

Debug logs

No response

Operating system

Windows 11

Additional context

No response

@flamingjupiter flamingjupiter added the bug Something isn't working label Feb 21, 2024
@flamingjupiter
Copy link
Author

I will also test disconnecting the mouse and not reconnecting, to see if the bug happens or not.

Merely disconnecting the mouse is enough to cause the bug. I'm typing this with kanata closed at the moment.

@flamingjupiter
Copy link
Author

Couldn't replicate the issue on another machine, seems there's a conflict with another application running. Will investigate.

@jtroo jtroo added the question Further information is requested label Feb 22, 2024
@jtroo
Copy link
Owner

jtroo commented Feb 22, 2024

Yea I haven't been able to reproduce the issue myself on the machine where I use Interception

@flamingjupiter
Copy link
Author

Well, now I can't replicate the issue on any machine, no matter what I do or run. Strange. It kept invariably happening for more than a month, then I didn't do anything (besides restarting the pc, but that I needed to do everytime) and it doesn't happen anymore. Should I just close this issue?

@jtroo
Copy link
Owner

jtroo commented Feb 25, 2024

Hmm maybe a Windows update broke and then fixed it? If we can't reproduce then no point keeping open 🤷

@jtroo jtroo closed this as not planned Won't fix, can't repro, duplicate, stale Feb 25, 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 question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants