[GH-ISSUE #97] Dead corner setting not working #72

Open
opened 2026-05-05 04:56:56 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @jeroenvanzijp on GitHub (Jul 18, 2018).
Original GitHub issue: https://github.com/debauchee/barrier/issues/97

Operating Systems

Server: Windows 10 Version 1803 17134.165
Client: Mac OS X 10.13.6

Barrier Version

2.1.0

Steps to reproduce bug

  1. Within Barrier, go to Configure Server > Advanced Server Settings > Dead corners
  2. Check any of the dead corner positions (in my case lower- and upper-left, since my Mac client is configured to the left of my Windows host.
  3. Increase the Corner Size to any amount above 0 (I even tried maximum value 99)
  4. Press OK, restart Barrier server
  5. Reconnect Barrier client to server
  6. Move mouse to top left or bottom left corner (expect not to switch to client), still does switch to client

Other info

  • When did the problem start to occur? From time of install
  • Is there a way to work around it? No
  • Does this bug prevent you from using Barrier entirely? Yes
Originally created by @jeroenvanzijp on GitHub (Jul 18, 2018). Original GitHub issue: https://github.com/debauchee/barrier/issues/97 ### Operating Systems ### Server: Windows 10 Version 1803 17134.165 Client: Mac OS X 10.13.6 ### Barrier Version ### 2.1.0 ### Steps to reproduce bug ### 1. Within Barrier, go to _Configure Server_ > _Advanced Server Settings_ > _Dead corners_ 2. Check any of the dead corner positions (in my case lower- and upper-left, since my Mac client is configured to the left of my Windows host. 3. Increase the _Corner Size_ to any amount above _0_ (I even tried maximum value _99_) 3. Press OK, restart Barrier server 4. Reconnect Barrier client to server 5. Move mouse to top left or bottom left corner (expect not to switch to client), still does switch to client ### Other info ### * When did the problem start to occur? From time of install * Is there a way to work around it? No * Does this bug prevent you from using Barrier entirely? Yes
Author
Owner

@jeroenvanzijp commented on GitHub (Jul 18, 2018):

To add, my logs show this:
[2018-07-18T11:55:06] INFO: switch from "JeroenWS" to "Jeroens-MacBook-Pro.local" at 1679,1049
[2018-07-18T11:55:06] INFO: leaving screen
[...]
[2018-07-18T11:55:10] INFO: switch from "JeroenWS" to "Jeroens-MacBook-Pro.local" at 1679,0
[2018-07-18T11:55:10] INFO: leaving screen

Please note that both of these switches to my Mac were in the absolute top left (first excerpt), and bottom left (second excerpt) corners, so the coordinates look kinda unusual to me, but I might be wrong. Only using one screen on the server (as well as on the Mac client), and no DPI scaling has been applied. Resolution on server is 1920x1080.

<!-- gh-comment-id:405878234 --> @jeroenvanzijp commented on GitHub (Jul 18, 2018): To add, my logs show this: `[2018-07-18T11:55:06] INFO: switch from "JeroenWS" to "Jeroens-MacBook-Pro.local" at 1679,1049` `[2018-07-18T11:55:06] INFO: leaving screen` [...] `[2018-07-18T11:55:10] INFO: switch from "JeroenWS" to "Jeroens-MacBook-Pro.local" at 1679,0` `[2018-07-18T11:55:10] INFO: leaving screen` Please note that both of these switches to my Mac were in the absolute top left (first excerpt), and bottom left (second excerpt) corners, so the coordinates look kinda unusual to me, but I might be wrong. Only using one screen on the server (as well as on the Mac client), and no DPI scaling has been applied. Resolution on server is 1920x1080.
Author
Owner

@demonbane commented on GitHub (Oct 19, 2018):

I had the same issue and decided to check the config for this. It seems that the default config that Barrier writes specifically defines switchCorners for each host, but the Advanced server settings GUI setting only modifies the options section, so the screen-specific settings take over.

@jeroenvanzijp To fix your problem temporarily, you can try modifying the setting for your host directly instead of going to the Advanced server settings tab and it should work.

<!-- gh-comment-id:431526009 --> @demonbane commented on GitHub (Oct 19, 2018): I had the same issue and decided to check the config for this. It seems that the default config that Barrier writes specifically defines `switchCorners` for each host, but the Advanced server settings GUI setting only modifies the options section, so the screen-specific settings take over. @jeroenvanzijp To fix your problem temporarily, you can try modifying the setting for your host directly instead of going to the Advanced server settings tab and it should work.
Author
Owner

@a7hybnj2 commented on GitHub (Nov 30, 2018):

Thanks for the info. I did a temporary workaround by just editing the screens individually and leaving the advanced settings off. Works fine.

<!-- gh-comment-id:443335675 --> @a7hybnj2 commented on GitHub (Nov 30, 2018): Thanks for the info. I did a temporary workaround by just editing the screens individually and leaving the advanced settings off. Works fine.
Author
Owner

@masudpce commented on GitHub (Jun 11, 2020):

where is the default configuration (.sgc) file located ?

<!-- gh-comment-id:642430162 --> @masudpce commented on GitHub (Jun 11, 2020): where is the default configuration (.sgc) file located ?
Author
Owner

@masudpce commented on GitHub (Jun 11, 2020):

thanks , @demonbane your solution worked. Though i did need to save config file from menu and changed it. I'm explaining the steps, in case someone need:

  1. Save a copy of config file
    image
  2. select to use new config file (we will edit this file)
    image
  3. Now edit this file . Change in the first section
    image
    [Hint: to get the format, first change the configuration from settings, then save the config file. The change will be in the last section of the file. just copy and paste in the first section. ]
<!-- gh-comment-id:642435687 --> @masudpce commented on GitHub (Jun 11, 2020): thanks , @demonbane your solution worked. Though i did need to save config file from menu and changed it. I'm explaining the steps, in case someone need: 1. Save a copy of config file ![image](https://user-images.githubusercontent.com/59303745/84351610-8bcfe080-abdd-11ea-9ea7-f760bd9553dc.png) 2. select to use new config file (we will edit this file) ![image](https://user-images.githubusercontent.com/59303745/84351742-c6d21400-abdd-11ea-959f-705f283386d4.png) 3. Now edit this file . Change in the first section ![image](https://user-images.githubusercontent.com/59303745/84351898-17e20800-abde-11ea-93a0-efec25f4742a.png) [Hint: to get the format, first change the configuration from settings, then save the config file. The change will be in the last section of the file. just copy and paste in the first section. ]
Author
Owner

@francorg commented on GitHub (Oct 14, 2021):

Hi,
I just installed v2.3.3 on Windows10 as Server and MacOs as client and had the same problem with dead corners.
Solved as suggested by @masudpce

Thank you!!

<!-- gh-comment-id:943354046 --> @francorg commented on GitHub (Oct 14, 2021): Hi, I just installed v2.3.3 on Windows10 as Server and MacOs as client and had the same problem with dead corners. Solved as suggested by @masudpce Thank you!!
Author
Owner

@JGondek commented on GitHub (Nov 3, 2023):

For anyone having this problem, this solved it for me:
Instead of setting the corners on the "Advanced server settings" tab, double click your host icon on the "Screens and links" tab and set it there.

<!-- gh-comment-id:1792169200 --> @JGondek commented on GitHub (Nov 3, 2023): For anyone having this problem, this solved it for me: Instead of setting the corners on the "Advanced server settings" tab, double click your host icon on the "Screens and links" tab and set it there.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#72
No description provided.