mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1365] macOS app crashes when an external display is connected #1065
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#1065
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 @GasimGasimzada on GitHub (Nov 2, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1365
What happened?
Barrier macOS crashes with no error when a new monitor is connected to Macbook. Reopening the app manually fixes the issue; however, if the Macbook goes to sleep, the app will crash when logging into macOS again.
Version
v2.3.3
Git commit hash (if applicable)
No response
If applicable, where did you install Barrier from?
Installed using Chocolatey on Windows and Homebrew on macOS
What OSes are you seeing the problem on? (Check all that apply)
macOS
What OS versions are you using?
Client: macOS 12 (same issue was on macOS 11 as well)
Server: Windows 10
Relevant log output
No response
Any other information
n/
@NYR99 commented on GitHub (Nov 3, 2021):
I made a bug report two days ago about Barrier crashing during sleep on my M1 Mac mini, and I have dual monitors, so it is possibly the same problem.
@adamjrice commented on GitHub (Nov 3, 2021):
I have a similar issue that I suspect is related.
I have Mac and Windows laptops, both connected to an external monitor (Mac via Displayport, Windows via USB-C, fwiw). I'm running the Barrier server on the Mac. If I switch the monitor from the Mac to the Windows machine, Barrier crashes on the Mac.
@halterj commented on GitHub (Nov 11, 2021):
I have a TB display connected to my 2021 MBP and a Windows client. I've noticed that sometimes, the windows client seems to 'time out' if I haven't gone over to the client for a while. I have also noticed it when I come back to my desk and the MBP has gone to sleep. I'll have to reload the app on my Mac to get it to reconnect to the Win 10 client.
@GasimGasimzada commented on GitHub (Jan 25, 2022):
I think I have found the root cause of this issue. I am using Barrier on Macbook Pro. If the Barrier app's window is open on the external monitor, the app will always crash when it comes from sleep. If I move the Barrier app's window to the laptop's own screen, the app does not crash. My guess it that this problem is not related to Barrier's internal functionality but is related to the app window getting confused about its position in the OS "workspace" due to external monitor needing to come back online (it does not immediately come online on Macbook when coming back from sleep mode).