mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1088] Host and client both lose mouse after host and client both wake from sleep #869
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#869
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 @caitp on GitHub (Mar 3, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1088
Describe the bug
Host (Windows 10) and client (MacBook Pro on Big Sur) both lose access to host mouse after waking from sleep.
Presumably, the order of which machine fell asleep matters, as well as which machine currently is controlling the mouse, and if network connectivity is terminated by sleeping or not. I'm not positive which factors specifically were at play in this scenario, though.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Ideally, the host would stop trying to pass on input messages to the client if the client is no longer ACK-ing, and a failsafe hotkey to shutdown the service could be provided by default.
Screenshots
N/A
Desktop (please complete the following information):
Host:
Client:
Additional context
N/A
@RogerHall commented on GitHub (Mar 11, 2021):
I often experience this as well, or at least something very similar.
Monitor - Left - mDP input from windows 10 PC - Host
Monitor - Middle - mDP input from windows 10 PC
Monitor - Middle - hdmi input from MAC Book Pro
Monitor - Right - laptop monitor on MAC Book Pro - Client
The keyboard and mouse are attached to the windows 10 PC.
If I work on only the PC, then I never have any issues. I use DMM (Dell Display Manager) to switch middle monitor between the PC and the MAC, but I don't think that is related. I could use input selection button on monitor.
When I am logged into both and the have both gone to sleep, I often find that the mouse is stuck on the MAC.
What I do in this situation is to turn off the Left and Middle monitors which are attached to the PC and then turn them back on again. So long as I move the mouse to the left after this, the PC (Barrier Host) picks up the mouse and keyboard again. I suspect this works because the monitors are also connected to the PC's USB ports. Toggling the power on the monitors causes the sound to be made when new USB devices are connected. The mouse and keyboard do connect direct to the PC though and do not connect via the monitors.
@myn commented on GitHub (Nov 16, 2021):
Can confirm this bug still exists. Validated tonight on windows 10 (server) and macOS 12(client) using 2.3.4.