ClementGre / ThreeFingerDragOnWindows

Enables macOS-style three-finger dragging functionality on Windows Precision touchpads.
https://apps.microsoft.com/detail/9MSX91WQCM2V?
MIT License
605 stars 40 forks source link

Single contact mode switches to false leading the app not to work #52

Closed knights1337 closed 6 months ago

knights1337 commented 7 months ago

Hi ClementGre,

I love this software, it's great. Recently, after I updated to v.2.0.3.0, I found a bug. At first I run the software, it work well. The main windows is as below, it can identify each fingers position. image

But after it ran for a period of time I found it didn't work. I found when my fingers touched the touchpad, it only identified one finger, and the single contact mode became false. image

The settings are: image image image image image image

The log is below: Logs_ThreeFingerDragOnWindows.txt

Could you please help me to check the bug?

Thanks.

bozwellox commented 7 months ago

I'm also having this problem and can reproduce it (i.e. all three fingers show as inputs to start with, but after some time it only shows input from one). On Windows 11 also.

ClementGre commented 6 months ago

Hi, sorry for the late response. The version 2.0.3 of TFDOW introduced the single contact mode detection to prevent issues on touchpads that sends empty contacts lists among normal contacts lists. But when an empty contact list is detected, the app switches to the multi contact mode which prevents the app to work properly on touchpads that sends single contact lists. I couldn’t see any empty contact list on your logs, but if you can catch an empty contact list in the logs (when the app starts to disfunction, when Single contact mode switches to False), it would confirm this.

I patched the bug in the source code and the issue should then be fixed for the next release.

If you restart the app, Single contact mode will be switched back to True. Meanwhile, can uninstall the v2.0.3 and install the v2.0.2 from GitHub.

knights1337 commented 6 months ago

Hi, sorry for the late response. The version 2.0.3 of TFDOW introduced the single contact mode detection to prevent issues on touchpads that sends empty contacts lists among normal contacts lists. But when an empty contact list is detected, the app switches to the multi contact mode which prevents the app to work properly on touchpads that sends single contact lists. I couldn’t see any empty contact list on your logs, but if you can catch an empty contact list in the logs (when the app starts to disfunction, when Single contact mode switches to False), it would confirm this.

I patched the bug in the source code and the issue should then be fixed for the next release.

If you restart the app, Single contact mode will be switched back to True. Meanwhile, can uninstall the v2.0.3 and install the v2.0.2 from GitHub.

Thanks. Yes, I tried v2.0.2 and v2.0.1, both of those two versions work well and I didn't encounter this issue.

Thank you again : )

ClementGre commented 6 months ago

You can now update to v2.0.4 which should have fixed the bug! Thank you!