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

Random mouse pointer movement #261

Open
1 task
tigersfa8 opened this issue Jan 22, 2020 · 12 comments
Open
1 task

Random mouse pointer movement #261

tigersfa8 opened this issue Jan 22, 2020 · 12 comments
Labels

Comments

@tigersfa8
Copy link

tigersfa8 commented Jan 22, 2020

Pre-report checks

  • Have you checked (use search) Azure DevOps Board and Github issues for known bugs and plans?

Describe the bug
When attempting to click on any spot on the screen, the mouse pointer jumps up and to the left approximately 1 mouse pointer size lengths 3 times, before staying on the spot and clicking what I have selected. Ex. I am about to click a weblink, but the mouse moves up and to the left approximately the distance of the length of my mouse pointer, when I push to click, or tap to click. It does this 3 time, and seems like it jumps up and to the left in the exact same position each of the 3 times.

This occurs when I'm browsing the web, navigating through windows explorer, different apps on my PC.

To Reproduce
Random. About every hour or two hours, this issue occurs

Expected behavior
Click on the exact spot that I have placed the mouse pointer on to click on the screen.

Traces
n/a

Environment
Magic Trackpad 2, connected via USB to a port on my Keyboard, which is connected to a docking station for my desktop PC. Windows 10 1903 PC computer (not an Apple device)

AB#707

@tigersfa8 tigersfa8 added the bug label Jan 22, 2020
@reznikartem
Copy link

Have same issue too

@imbushuo
Copy link
Owner

We are discussing about jitter elimination implementation with my friends, this should be done in the following months. I don't have a clear time frame at this moment though.

@cari66ean
Copy link

I have this issue too for several months now and I'd like to add my findings on this so far.

So sometimes it happens repeatedly like 3 times or so in a row. Furthermore, it's mostly in the center of the trackpad (MT2) but that could be a coincidence, as I'm probably more likely to click in that area.

However, what I'm pretty sure about by now is that it only happens with push to click... I've never noticed this with tap to click at all so far.

@cari66ean
Copy link

Ok I think I found the issue here and I'm able to reproduce quite well. At first I noticed that it happens on certain movement patterns, e.g. right-click opening a context menu, moving the pointer down a little and clicking on the first button. It also happens very often when trying to repeat the same thing (probably doesn't make sense now but it has to do with the fact that you're getting quicker at the movement).

Then it hit me... the pointer appeared to jump to the exact same spot it was before doing the small movement + clicking. I tried having a lookout and provoking it to happen a couple of times and indeed... it's always back to the same spot.

After playing around some more I noticed how you can reproduce this basically at will as long as you're quick enough:

  • remove the finger from the surface
  • touch the pad and swiftly move the pointer for a short distance or short time
  • click immediately without leaving the surface or stopping the movement before the click

Now I don't know what is more critical here... distance or time. But in order to trigger it, it has to happen very quickly after the movement has begun. The quicker you are the more likely the pointer will jump back. I can pretty much trigger it every time I'm focusing on it.

This leads me to believe that it's not entirely a random bug per se but probably has to do with the jitter elimination implementation mentioned above by @imbushuo. It's purpose is probably to avoid accidental clicks when you move your finger on the pad while clicking and it would explain why I can't trigger it when tapping... you lift your finger before the tap, thus stopping any prior pointer movement anyway. Or maybe I'm just too slow due to having to lift my finger before the tap.

Maybe you can release a test version without the jitter elimination on clicks (e.g. one that instead of triggering when you click during < certain distance or time limit one that is triggering after <0px or <0ms, so that it basically cannot be triggered and see what happens).

@squalsoft
Copy link

This is very bad issue because click can happen anywhere on screen! I can test beta version on macbook pro 15" late 2013.

@pd90506
Copy link

pd90506 commented May 23, 2020

Ok I think I found the issue here and I'm able to reproduce quite well. At first I noticed that it happens on certain movement patterns, e.g. right-click opening a context menu, moving the pointer down a little and clicking on the first button. It also happens very often when trying to repeat the same thing (probably doesn't make sense now but it has to do with the fact that you're getting quicker at the movement).

Then it hit me... the pointer appeared to jump to the exact same spot it was before doing the small movement + clicking. I tried having a lookout and provoking it to happen a couple of times and indeed... it's always back to the same spot.

After playing around some more I noticed how you can reproduce this basically at will as long as you're quick enough:

  • remove the finger from the surface
  • touch the pad and swiftly move the pointer for a short distance or short time
  • click immediately without leaving the surface or stopping the movement before the click

Now I don't know what is more critical here... distance or time. But in order to trigger it, it has to happen very quickly after the movement has begun. The quicker you are the more likely the pointer will jump back. I can pretty much trigger it every time I'm focusing on it.

This leads me to believe that it's not entirely a random bug per se but probably has to do with the jitter elimination implementation mentioned above by @imbushuo. It's purpose is probably to avoid accidental clicks when you move your finger on the pad while clicking and it would explain why I can't trigger it when tapping... you lift your finger before the tap, thus stopping any prior pointer movement anyway. Or maybe I'm just too slow due to having to lift my finger before the tap.

Maybe you can release a test version without the jitter elimination on clicks (e.g. one that instead of triggering when you click during < certain distance or time limit one that is triggering after <0px or <0ms, so that it basically cannot be triggered and see what happens).

I can confirm! (hard) Clicking after moving the cursor in a very short period of time will reproduce the issue.

@imbushuo
Copy link
Owner

imbushuo commented May 24, 2020 via email

@omegamalkior
Copy link

omegamalkior commented Jul 12, 2020

Ok I think I found the issue here and I'm able to reproduce quite well. At first I noticed that it happens on certain movement patterns, e.g. right-click opening a context menu, moving the pointer down a little and clicking on the first button. It also happens very often when trying to repeat the same thing (probably doesn't make sense now but it has to do with the fact that you're getting quicker at the movement).

Then it hit me... the pointer appeared to jump to the exact same spot it was before doing the small movement + clicking. I tried having a lookout and provoking it to happen a couple of times and indeed... it's always back to the same spot.

After playing around some more I noticed how you can reproduce this basically at will as long as you're quick enough:

  • remove the finger from the surface
  • touch the pad and swiftly move the pointer for a short distance or short time
  • click immediately without leaving the surface or stopping the movement before the click

Now I don't know what is more critical here... distance or time. But in order to trigger it, it has to happen very quickly after the movement has begun. The quicker you are the more likely the pointer will jump back. I can pretty much trigger it every time I'm focusing on it.

This leads me to believe that it's not entirely a random bug per se but probably has to do with the jitter elimination implementation mentioned above by @imbushuo. It's purpose is probably to avoid accidental clicks when you move your finger on the pad while clicking and it would explain why I can't trigger it when tapping... you lift your finger before the tap, thus stopping any prior pointer movement anyway. Or maybe I'm just too slow due to having to lift my finger before the tap.

Maybe you can release a test version without the jitter elimination on clicks (e.g. one that instead of triggering when you click during < certain distance or time limit one that is triggering after <0px or <0ms, so that it basically cannot be triggered and see what happens).

This is really accurate! Kudos

Sijie Bu (a friend of mine) is currently working on a fix for that. Get Outlook for iOShttps://aka.ms/o0ukef

Sounds heavenly 🙏 I think if this combined with the phantom touch being fixed it will be fixed automatically. As I think the phantom touch makes it register an early movement which is why it jitter jumps to where the other finger is placed

@cari66ean
Copy link

cari66ean commented Sep 10, 2020

Just installed the new release and if I'm not mistaken... I cannot reproduce this anymore. :)

Edit: oops wrong, it still happens, I just forgot that it only happens on clicks and not on taps.

@prakharb5
Copy link

Any updates to this?

@imbushuo imbushuo modified the milestone: AzDO-Triage Jun 12, 2021
@jjoshrtca
Copy link

I have this issue, too. I think it's related to another issue. I just posted to #375

I think it has something to do with the slight fog/condensation that appears on the trackpad around the finger/s (or under the fingers when slightly hovering).

Thanks @cari66ean for letting us know that this issue does not generally happen with taps! Looks like I may have to learn to live with tapping 🤢

@sanarena
Copy link

I am experiencing same issue too. would appreciate if someone can provide a fix or remedy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

10 participants