[GH-ISSUE #845] Multiple Dock Icons - Why #671

Open
opened 2026-05-05 06:52:40 -06:00 by gitea-mirror · 22 comments
Owner

Originally created by @bwt615 on GitHub (Aug 20, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/845

Operating Systems

Server: MacOS Catalina

Client: Windows 10

READ ME, DELETE ME: On Windows, hold the Windows key and press 'r', type 'winver' and hit return to get your OS version. On Mac, hit the Apple menu (top left of the screen) and check 'About this Mac'. Linux users... you know what you're using ;)

Barrier Version

2.33

Steps to reproduce bug

READ ME, DELETE ME: Try to be succinct. If your bug is intermittent, try and describe what you're doing when it happens most.

  1. Open Barrier
    image

Other info

  • When did the problem start to occur? When I...
  • Is there a way to work around it? No/Yes, you can...
  • Does this bug prevent you from using Barrier entirely? Yes/No

Put anything else you can think of here.

Originally created by @bwt615 on GitHub (Aug 20, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/845 ### Operating Systems ### Server: MacOS Catalina Client: Windows 10 **READ ME, DELETE ME**: On Windows, hold the Windows key and press 'r', type 'winver' and hit return to get your OS version. On Mac, hit the Apple menu (top left of the screen) and check 'About this Mac'. Linux users... you know what you're using ;) ### Barrier Version ### 2.33 ### Steps to reproduce bug ### **READ ME, DELETE ME**: Try to be succinct. If your bug is intermittent, try and describe what you're doing when it happens most. 1. Open Barrier <img width="374" alt="image" src="https://user-images.githubusercontent.com/48396397/90803422-b6799c00-e2e6-11ea-900a-a539e16c0dd6.png"> ### Other info ### * When did the problem start to occur? When I... * Is there a way to work around it? No/Yes, you can... * Does this bug prevent you from using Barrier entirely? Yes/No Put anything else you can think of here.
Author
Owner

@lsundnli commented on GitHub (Feb 4, 2022):

Still a problem. Filling out Bug Report in More Detail:

Operating Systems
Server: MacOS Monterey 12.0.1; M1 Pro; 16 GB

Client: Windows 10

Barrier Version
2.4.0-release-3e0d758b
Build Date: Nov 1, 2021

Steps to reproduce bug
Unclear, but sometimes, 4,5,6 barrier apps will appear in dock and are unable to be removed. Happens when system has been running for a while and maybe attempts to relaunch barrier instead of restart, creates two in the dock or more.

Other info
When did the problem start to occur? After system been active for a while.
Is there a way to work around it? Yes, you need to restart the Mac, and it will appear once and seem to be stable initially.
Does this bug prevent you from using Barrier entirely? Yes, if the dock keeps being populated with Barrier icon/apps.

<!-- gh-comment-id:1030275132 --> @lsundnli commented on GitHub (Feb 4, 2022): Still a problem. Filling out Bug Report in More Detail: Operating Systems Server: MacOS Monterey 12.0.1; M1 Pro; 16 GB Client: Windows 10 Barrier Version 2.4.0-release-3e0d758b Build Date: Nov 1, 2021 Steps to reproduce bug Unclear, but sometimes, 4,5,6 barrier apps will appear in dock and are unable to be removed. Happens when system has been running for a while and maybe attempts to relaunch barrier instead of restart, creates two in the dock or more. Other info When did the problem start to occur? After system been active for a while. Is there a way to work around it? Yes, you need to restart the Mac, and it will appear once and seem to be stable initially. Does this bug prevent you from using Barrier entirely? Yes, if the dock keeps being populated with Barrier icon/apps.
Author
Owner

@lsundnli commented on GitHub (Feb 10, 2022):

New Dock icons seem to appear every 24 hours. Has anyone else noticed this behavior?

Screen Shot 2022-02-09 at 10 02 41 PM
<!-- gh-comment-id:1034444173 --> @lsundnli commented on GitHub (Feb 10, 2022): New Dock icons seem to appear every 24 hours. Has anyone else noticed this behavior? <img width="296" alt="Screen Shot 2022-02-09 at 10 02 41 PM" src="https://user-images.githubusercontent.com/98613034/153329262-681f9389-bc6c-4c31-b86f-3c817956d7e0.png">
Author
Owner

@neuroradiology commented on GitHub (Feb 22, 2022):

I experience this as well, and it persists across uninstalling/installing barrier; I am on version 2.4.0-release

<!-- gh-comment-id:1047843334 --> @neuroradiology commented on GitHub (Feb 22, 2022): I experience this as well, and it persists across uninstalling/installing barrier; I am on version 2.4.0-release
Author
Owner

@hdwatts commented on GitHub (Jul 18, 2022):

This is occurring for me as well.

<!-- gh-comment-id:1187549902 --> @hdwatts commented on GitHub (Jul 18, 2022): This is occurring for me as well.
Author
Owner

@rchrdw commented on GitHub (Jul 24, 2022):

This happens to me as well, 2.4.0-release-3e0d758b.

<!-- gh-comment-id:1193385588 --> @rchrdw commented on GitHub (Jul 24, 2022): This happens to me as well, 2.4.0-release-3e0d758b.
Author
Owner

@eldios commented on GitHub (Sep 29, 2022):

hey for whoever is still having this issue (I certainly am) you can get rid of all icons by running in a terminal:

killall -KILL Dock

Be sure to close Barrier to avoid new icons to pop-up, cheers.

<!-- gh-comment-id:1262910086 --> @eldios commented on GitHub (Sep 29, 2022): hey for whoever is still having this issue (I certainly am) you can get rid of all icons by running in a terminal: ``` killall -KILL Dock ``` Be sure to close Barrier to avoid new icons to pop-up, cheers.
Author
Owner

@lsundnli commented on GitHub (Sep 29, 2022):

Eldios: YES, Thank You!!! For others, this allowed me to right-click "Quit" on the Barrier icons on the Dock, and the Barrier icon was able to be undocked.

Anybody have an idea what the reason for this is?

<!-- gh-comment-id:1262922990 --> @lsundnli commented on GitHub (Sep 29, 2022): Eldios: YES, Thank You!!! For others, this allowed me to right-click "Quit" on the Barrier icons on the Dock, and the Barrier icon was able to be undocked. Anybody have an idea what the reason for this is?
Author
Owner

@lsundnli commented on GitHub (Jan 9, 2023):

Noting here a finding: With eidios's solution, the dock can be killed with say n dock icons, and all Barrier dock icons can be exited/deleted. But when Barrier is restarted without restarting the Mac, if it gets past a certain amount of continuous time (i.e. that moment you know this problem will occur), all the n-number of dock icons reemerge. This means to me there's some bookkeeping for dock icon persistence that is occurring and accumulating as a bug. Restarting the Macbook will resolve this.

<!-- gh-comment-id:1376001874 --> @lsundnli commented on GitHub (Jan 9, 2023): Noting here a finding: With eidios's solution, the dock can be killed with say n dock icons, and all Barrier dock icons can be exited/deleted. But when Barrier is restarted without restarting the Mac, if it gets past a certain amount of continuous time (i.e. that moment you know this problem will occur), all the n-number of dock icons reemerge. This means to me there's some bookkeeping for dock icon persistence that is occurring and accumulating as a bug. Restarting the Macbook will resolve this.
Author
Owner

@dan2bit commented on GitHub (Mar 24, 2023):

Another detailed finding about this super annoying issue.

my barrier client macbook air running OS X Monterey 12.6 does not have this issue
my barrier server macbook pro running OS X Monterey 12.6.3 does have this issue

both are due to be updated to Ventura, I will update here if new behavior is observed

<!-- gh-comment-id:1482994541 --> @dan2bit commented on GitHub (Mar 24, 2023): Another detailed finding about this super annoying issue. my barrier client macbook air running OS X Monterey 12.6 does not have this issue my barrier server macbook pro running OS X Monterey 12.6.3 does have this issue both are due to be updated to Ventura, I will update here if new behavior is observed
Author
Owner

@johnvanham commented on GitHub (May 25, 2023):

Experiencing this also on Ventura 13.3.1 with 2.4.0-release-3e0d758b.

Holding down option and right clicking on each dock icon allows force quit which removes them and barrier continues to function fine between my Mac Mini, Linux and Windows machines, I just have to quit these additional icons every so often. I'm not sure if maybe they appear each time there's a new connection from one of the clients maybe?

<!-- gh-comment-id:1562574871 --> @johnvanham commented on GitHub (May 25, 2023): Experiencing this also on Ventura 13.3.1 with 2.4.0-release-3e0d758b. Holding down option and right clicking on each dock icon allows force quit which removes them and barrier continues to function fine between my Mac Mini, Linux and Windows machines, I just have to quit these additional icons every so often. I'm not sure if maybe they appear each time there's a new connection from one of the clients maybe?
Author
Owner

@akinnee commented on GitHub (Mar 12, 2024):

Killing dock or right-click quit doesn't work. Have to option+right-click -> force quit.

<!-- gh-comment-id:1992716912 --> @akinnee commented on GitHub (Mar 12, 2024): Killing dock or right-click quit doesn't work. Have to `option`+`right-click` -> `force quit`.
Author
Owner

@RTM909 commented on GitHub (May 19, 2024):

I'm on Mac OS 14.1.1 (23B81), and this is still happening. It seems to be worse on my machine. Within a couple of hours, 5-10 barrier dock icons show up. I have to manually force them to quit every time.

<!-- gh-comment-id:2119327229 --> @RTM909 commented on GitHub (May 19, 2024): I'm on Mac OS 14.1.1 (23B81), and this is still happening. It seems to be worse on my machine. Within a couple of hours, 5-10 barrier dock icons show up. I have to manually force them to quit every time.
Author
Owner

@johnrhunt commented on GitHub (May 21, 2024):

Yup me also, it's completely out of control.

<!-- gh-comment-id:2123305037 --> @johnrhunt commented on GitHub (May 21, 2024): Yup me also, it's completely out of control.
Author
Owner

@jdweiner526 commented on GitHub (Jul 1, 2024):

It happens here too. Sonoma 14.4.1, Barrier 2.4.0-release-3e0d758b. The additional icons do not have the "running" dot, and can simply be dragged out of the Dock, but they keep coming back.

<!-- gh-comment-id:2201143706 --> @jdweiner526 commented on GitHub (Jul 1, 2024): It happens here too. Sonoma 14.4.1, Barrier 2.4.0-release-3e0d758b. The additional icons do not have the "running" dot, and can simply be dragged out of the Dock, but they keep coming back.
Author
Owner

@RTM909 commented on GitHub (Jul 1, 2024):

In my case, the icons had a dot under them; I'm not sure why. I had to force quit every single one manually so I just ended up switching to Synergy.

<!-- gh-comment-id:2201147058 --> @RTM909 commented on GitHub (Jul 1, 2024): In my case, the icons had a dot under them; I'm not sure why. I had to force quit every single one manually so I just ended up switching to Synergy.
Author
Owner

@hobyvh commented on GitHub (Aug 11, 2024):

Happening to me as well, though I don't think it did until recently.

<!-- gh-comment-id:2282888585 --> @hobyvh commented on GitHub (Aug 11, 2024): Happening to me as well, though I don't think it did until recently.
Author
Owner

@jswhisperer commented on GitHub (Nov 3, 2024):

hey for whoever is still having this issue (I certainly am) you can get rid of all icons by running in a terminal:

killall -KILL Dock

Be sure to close Barrier to avoid new icons to pop-up, cheers.
killall -KILL Dock

This and removing minimize to dock seems to help so far.
Sonoma M1

<!-- gh-comment-id:2453566761 --> @jswhisperer commented on GitHub (Nov 3, 2024): > hey for whoever is still having this issue (I certainly am) you can get rid of all icons by running in a terminal: > > ``` > killall -KILL Dock > ``` > > Be sure to close Barrier to avoid new icons to pop-up, cheers. killall -KILL Dock This and removing minimize to dock seems to help so far. Sonoma M1
Author
Owner

@AbdullahSiddiqiGit commented on GitHub (Feb 13, 2025):

Experiencing this as well on Sequoia 15.2 on M1, I don't run barrier for extended periods of time past 2-3 hours, so the most that accumulate are 5 instances in the dock.

<!-- gh-comment-id:2656665253 --> @AbdullahSiddiqiGit commented on GitHub (Feb 13, 2025): Experiencing this as well on Sequoia 15.2 on M1, I don't run barrier for extended periods of time past 2-3 hours, so the most that accumulate are 5 instances in the dock.
Author
Owner

@nbolton commented on GitHub (Feb 14, 2025):

Please try Deskflow or Input Leap as Barrier is no longer in development.

https://github.com/deskflow/deskflow
https://github.com/input-leap/input-leap

Both are compatible with Barrier client/server so you can try on one of your computers.

If this is still an issue in those projects, we would appreciate a cross-post of this issue.

<!-- gh-comment-id:2658796641 --> @nbolton commented on GitHub (Feb 14, 2025): Please try Deskflow or Input Leap as Barrier is no longer in development. https://github.com/deskflow/deskflow https://github.com/input-leap/input-leap Both are compatible with Barrier client/server so you can try on one of your computers. If this is still an issue in those projects, we would appreciate a cross-post of this issue.
Author
Owner

@jswhisperer commented on GitHub (Feb 14, 2025):

Please try Deskflow or Input Leap as Barrier is no longer in development.

deskflow/deskflow input-leap/input-leap

Both are compatible with Barrier client/server so you can try on one of your computers.

If this is still an issue in those projects, we would appreciate a cross-post of this issue.

Barrier is the only one that seems to work (apart from this bug) out of the box cross platform.

Personally been trying to get Input Leap compiled to Ubuntu / Pop-os has been a nightmare, it doesn't seem to be distributed to any package manager like snap or flatpack, and even compiling from source can be tricky.

I had big hopes for Input Leap but it just doesn't seem to connect

<!-- gh-comment-id:2660054930 --> @jswhisperer commented on GitHub (Feb 14, 2025): > Please try Deskflow or Input Leap as Barrier is no longer in development. > > [deskflow/deskflow](https://github.com/deskflow/deskflow) [input-leap/input-leap](https://github.com/input-leap/input-leap) > > Both are compatible with Barrier client/server so you can try on one of your computers. > > If this is still an issue in those projects, we would appreciate a cross-post of this issue. Barrier is the only one that seems to work (apart from this bug) out of the box cross platform. Personally been trying to get Input Leap compiled to Ubuntu / Pop-os has been a nightmare, it doesn't seem to be distributed to any package manager like snap or flatpack, and even compiling from source can be tricky. I had big hopes for Input Leap but it just doesn't seem to connect
Author
Owner

@nbolton commented on GitHub (Feb 17, 2025):

Barrier is the only one that seems to work

What issue did you have with Deskflow?

<!-- gh-comment-id:2663042181 --> @nbolton commented on GitHub (Feb 17, 2025): > Barrier is the only one that seems to work What issue did you have with Deskflow?
Author
Owner

@jswhisperer commented on GitHub (Feb 19, 2025):

@nbolton the same environment from barrier
MacOS to Ubuntu with the same settings including disabled TLS and modified ports
Did not connect with DeskFlow I didn't save the error output but from memory it was just a standard could not connect.

If I get time in the future I'll run the experiment again and get a full error log for you but that was my experience late in 2024

<!-- gh-comment-id:2670042115 --> @jswhisperer commented on GitHub (Feb 19, 2025): @nbolton the same environment from barrier MacOS to Ubuntu with the same settings including disabled TLS and modified ports Did not connect with DeskFlow I didn't save the error output but from memory it was just a standard could not connect. If I get time in the future I'll run the experiment again and get a full error log for you but that was my experience late in 2024
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#671
No description provided.