mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #573] Mouse 'locks / sticks' to the top / bottom of monitor on clients #452
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#452
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jaxjexjox on GitHub (Feb 23, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/573
Operating Systems
Windows 10 / Windows 7.
Barrier latest x64 build as of post date.
When using the remote system (The one I'm literally typing this on now) if I mouse towards the top or bottom of the display (sides of the monitor which do NOT connect to other displays) the mouse 'sticks' there and needs to be pulled down a bit more than normal. It's quite weird and annoying.
I've rebooted obviously many timers -i t's been like this for a few months.
Is there a settinhg I can check that would cause this?
@the-wes commented on GitHub (Mar 1, 2020):
Does your client (remote system) have multiple monitors configured in its Display properties? Even if they are not in use, if there is one configured which has a higher height than the one you're looking at, it can create the phenomenon you are describing. There may also be other causes, but this is a good one to check first.
@github-actions[bot] commented on GitHub (Sep 28, 2020):
This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.
@p12tic commented on GitHub (Jan 10, 2021):
Since there was no response, we can assume that the issue was likely the one pointed to by
the-wes. Therefore, I'm closing the issue.@twpol commented on GitHub (May 3, 2021):
I am pretty sure I am experiencing the annoyance in https://github.com/debauchee/barrier/issues/573#issuecomment-593062014, but can't find any other references - should I open a new issue (it is very annoying behaviour) or is it considered a wont-fix?
@the-wes commented on GitHub (May 3, 2021):
I'll reopen this one so you can contribute if you wish.
@twpol commented on GitHub (May 3, 2021):
Server
Operating system: Windows 10 20H2 (latest)
Software: Barrier 2.3.3 (latest)
Software configuration:
Monitor configuration:
Client
Operating system: Windows 10 20H2 (latest)
Software: Barrier 2.3.3 (latest)
Monitor configuration:
Issue
Almost certainly because the bounding box of the client monitors includes dead space (where no monitor area exists), the mouse can virtually move off the top and bottom edges of the primary monitor on the client and will take an equal amount of reverse movement to return (unless it has hit the bounding box).
This is super annoying, especially as the client's mouse visually appears at the edge of the monitor even though Barrier's virtual position is way off the edge.
The only way I've found to fix the sticky mouse is to enable
relativeMouseMovesand turn onlockCursorToScreen. This is also what is required to make mouse control work in some games, so it's not entirely surprising it changes the behaviour here.@the-wes commented on GitHub (May 3, 2021):
That is a different issue from what was reported originally. Here are a bunch of open issues related to this:
https://github.com/debauchee/barrier/issues/1112
https://github.com/debauchee/barrier/issues/944
https://github.com/debauchee/barrier/issues/680
https://github.com/debauchee/barrier/issues/550
https://github.com/debauchee/barrier/issues/127
@twpol commented on GitHub (May 4, 2021):
This issue sounds a lot more like mine than any of those you've linked... as in, it matches https://github.com/debauchee/barrier/issues/573#issuecomment-593062014
I suppose making Barrier understand multi-monitor computers, as some of those other issues are, might indirectly help, but they don't seem to be describing the actual problem I am having - which is what this issue does
@sillyslux commented on GitHub (Oct 30, 2021):
I can confirm this works in a linux/linux setup as well. Below is what i have added to my configuration. This makes mouse movement fun again. Two downsides are, after cursor locking, mouse movement won't wake the monitors after they have switched to standby and obviously you have to unlock if you want to switch to the other computer at screen edge.
But ty @twpol ymmd.