microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.45k stars 6.56k forks source link

Find My Mouse Shake always activates with drawing screen pen #19103

Open Nicolii opened 2 years ago

Nicolii commented 2 years ago

Microsoft PowerToys version

0.59.1

Running as admin

Area(s) with issue?

Mouse Utilities

Steps to reproduce

Find My Mouse 'On' Find My Mouse set to 'Shake Mouse' Shake distance '4000'

Hover drawing screen pen over display at height to move cursor.

✔️ Expected Behavior

Find My Mouse to not activate unless I am shaking my cursor at or above my threshold.

❌ Actual Behavior

Find My Mouse immediately activates.

I would have to typical amount of shaking of holding my pen above my display (sub mm shaking), but this is well below my set threshold of 4000.

Other Software

Hardware

Huion Kamvas 24 Plus

Nicolii commented 2 years ago

Yeah, whitelisting my programs is... fine. But when interacting with many apps, it gets annoying.

snickler commented 2 years ago

So this is something that only occurs with this external drawing canvas? I can't reproduce this behavior when using my Surface Pen on my Surface.

snickler commented 2 years ago

I can't reproduce this behavior when using my Surface Pen on my Surface.

@snickler I did have this on my SP4.

Interesting. I can't repro this on my SPX at all. Heck, my Surface Pen doesn't activate Mouse Shake at all no matter what I even try.

jaimecbernardo commented 2 years ago

I think there's some setting that makes pens being treated as mouse pointers for the OS. In the case of @snickler it's likely that it's not being interpreted as a mouse pointer but for @Nicolii it is. Not sure how to control this setting, though. I think "Huion Kamvas 24 Plus" it's a specific hardware that is sending the mouse pointer coordinates directly and sending them in a shaking way or resetting very quickly between coordinates.

Nicolii commented 2 years ago

A little bit of testing. The Huion driver allows you to run in Windows Ink mode. The bug only happens when Windows Ink mode is turned ON. Might need to test other setups that allows Windows Ink to be active and disabled.

I do use a number of Windows Ink and non-Windows Ink apps, so disabling it isn't really an option.

I feel the best solution would be to disable find my mouse when a pen is detected as the mouse is always under the pen regardless, if this is possible to do.

Jay-o-Way commented 2 years ago

@crutkas I would like a "hardware-related" label please?

Jay-o-Way commented 2 years ago

I think it's the hardware that sends actual mouse coordinates, not pen coordinates. Don't know what we can do.

cinnamon-msft commented 3 weeks ago

Are you still experiencing this issue? /needinfo

Nicolii commented 3 weeks ago

Are you still experiencing this issue? /needinfo

I'll check in a month when I return home

Nicolii commented 2 weeks ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

I just said I'll check in a month when I return home. I already have a reminder set for when I return. Don't make to keep returning every 5 days when my time is already known