Closed wildmanlennox closed 4 years ago
This is most likely because of my simple fix to a weird windows behavior. Where windows does not allow the mouse to travel across desktop regions that are not painted to any screen.
___________ ____________
| | not painted |
| |_________
| Sceen1 | |
| | Sceen2 |
|___________|_________|
The mouse can not move between two points when the straight line connecting both points goes through a not painted region.
For every teleportation, move the mouse to the center of the target screen and from there move it to the destination position.
Do some fancy math to always find the rigth path.
Can you please send me a screenshot of the "Mousetrap Settings" window where your screens setup is visible?
Further Info: the problem can be reproduced at any location between monitors, simply wiggle the mouse back and forth and it will happen eventually. Also my monitors differ in resolution but are the same physical size
Thanks, I will see what i can do.
It's still happening.
Just downloaded and testing. This issue still exists. Mouse will jump to center of screen you are moving cursor to. Will update if more problems arise but so far super smooth.
@ThaBoss07 I can't reproduce this bug on any computer or configuration.
Can you specify your configuration?
%APPDATA%\MouseTrap\ScreenConfigCollection.json
WIN+i
-> System -> Display -> Scale and layout)I just did a fresh install and can confirm this issue with the following setup:
[{"ScreenId":0,"Name":"Screen1","TopBridge":null,"LeftBridge":null,"RightBridge":{"TopOffset":0,"BottomOffset":361,"TargetScreenId":1},"BottomBridge":null},{"ScreenId":1,"Name":"Screen2","TopBridge":null,"LeftBridge":{"TopOffset":0,"BottomOffset":0,"TargetScreenId":0},"RightBridge":null,"BottomBridge":null}]
@wildmanlennox already described how the problem can be reproduced, for example by wiggling the mouse back and forth between screens
In this version, I've done some optimizations regarding this Problem. Please try it out and report back if the issue is resolved.
I will close this issue now and if the problem continues to occur, then please reopen the issue or create a new one.
Thanks for the update! I just tested it, but unfortunately it seems that the issue still persists.
Setup is the same as described in https://github.com/r-Larch/MouseTrap/issues/2#issuecomment-731729920
Can you please reproduce the bug with realtime loggong on, in the new diagnostic window, and send me then the diagnostic data to analyze.
Thanks for this quick reaction
I did a complete reinstall of the new release now and the problem seems to be solved now. No more cursor teleportation. Will observe it further and let you know, when the problem arises again.
But it seems to be fixed for now, thank you very much!
I'm happy to hear that, thank you.
I suspect on your first try you got the victim of my mechanism to only keep one instance running, because this mechanism awakes the running instance (if there is one) instead of running a new one. This means you can double click on the new version and what happens is, it opens the settings screen of the old (currently running) version.
Have a nice day!
on some passes between monitors, the cursor will jump to the center of the next screen