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

Mouse re-centers due to "temporary safety feature" #89

Open
BirchArray opened this issue Dec 21, 2024 · 1 comment
Open

Mouse re-centers due to "temporary safety feature" #89

BirchArray opened this issue Dec 21, 2024 · 1 comment
Labels
other Anything not covered by other labels, ex: temporary implementations in Cursr

Comments

@BirchArray
Copy link

Describe the Bug/Issue

Mouse recenters on main screen, error message pops up when cursr is opened:
"
Mouse Stuck on Y Axis
Mouse re-centered due to temporary safety feature in v1.7.3-prerelease.5, please report this on git or [email protected] if mouse was actually stuck somewhere or if it was not stuck and this interrupted your workflow. Please report the issue on Github/Cursr
"

Can be reproduced for "stuck on X-Axis" too

Steps to Reproduce

Slide mouse along the top of the screen/ the side of the screen for "stuck on x/y" error message.

Expected Behavior

There was nothing wrong, mouse was not stuck. Guess that temporary safety feature triggers in more situations than neccessary.

Your Environment

  • OS details: Win11Pro 64bit
  • Cursr Version: v1.7.3. prerelease 6
  • License: Free

Additional Context

I'm using dual 27" screens WQHD and 4k, left and right, with only the center translation being managed by cursr.
Sliding mouse along any other screen border gives this bug

@ragauskl
Copy link
Contributor

Thanks for letting me know, there's a bug that's hard to catch/replicate (happens since re-work of how transitions work) as it happens very rarely so I added that 'safety' that breaks out of the bug (mouse getting stuck alongside one border) while I look for a solution for it.

The threshold should however be high enough to ignore 'sliding along borders' in most common situations. If you keep sliding along edge for long time on purpose it will hit the threshold for sure. But I assume first time you saw it was not on purpose. You can safely ignore this and/or downgrade to previous version if it happens to often for you.

It will be removed with stable release and it's a temporary measure to release pre-release fixes for other issues while I look for ways to solve the one for which safety fallback was added, which also allows me to see how often it happens to others (and by reports to see how often it was not caused by the bug, but got triggered in normal use)

@ragauskl ragauskl added the other Anything not covered by other labels, ex: temporary implementations in Cursr label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
other Anything not covered by other labels, ex: temporary implementations in Cursr
Projects
None yet
Development

No branches or pull requests

2 participants