ClementGre / ThreeFingerDragOnWindows

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

Fix accidentally stop and sluggish response #45

Closed libxzr closed 8 months ago

libxzr commented 8 months ago

This tool is awesome❤️

After months of usage, I have noticed a few issues.

I looked into it by myself, finding that those problems would only happen when running as administrator + run at startup, so this is likely caused by a misconfigured scheduler task. Further digging into it, I found that there was something wrong with the current scheduler task configuration.

Screenshot 2024-03-27 154225

Screenshot 2024-03-27 154313

And the task started by the task scheduler seems to run at a lower priority, which can be easily preempted by normal tasks.

Screenshot 2024-03-27 154400

All of these issues are caused by the default value in the TaskScheduler library, what we all need is to add a few lines of code to explicitly configure those settings, and everything would work fine.

Aside from my issues, this may also fix #34 #43 .

ClementGre commented 8 months ago

Thank you very much for your research through these issues! I'll merge this right now, thank's again!