[GH-ISSUE #483] Missing caret in IntelliJ IDEA after switching apps using Barrier #377

Open
opened 2026-05-05 06:13:24 -06:00 by gitea-mirror · 9 comments
Owner

Originally created by @mrog on GitHub (Nov 4, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/483

Operating Systems

Server: Ubuntu 18.04.3

Client: macOS Catalina 10.15.1

Barrier Version

2.3.2

Steps to reproduce bug

  1. Run IntelliJ IDEA on the Mac. https://www.jetbrains.com/idea/download/#section=mac
  2. Open a couple of files in different tabs in IDEA.
  3. Click in another application window to make that app active.
  4. Click in one of the IDEA editor panes. Note that you can select text in the editor pane, but you don't get a caret and you can't type in the pane.

Note that selecting a different file tab in IDEA restores the caret and allows typing in the pane.

Also note that if you use the Mac's mouse to click the editor pane in step 4, a caret appears and the user can type normally. The issue is only seen if the mouse click is coming from the server machine via Barrier.

Other info

  • When did the problem start to occur? When I switched from Symless synergy-core v2.0.12-beta to Barrier.
  • Is there a way to work around it? Yes, but switching editor tabs every time I change the focus between apps is a pain.
  • Does this bug prevent you from using Barrier entirely? No
Originally created by @mrog on GitHub (Nov 4, 2019). Original GitHub issue: https://github.com/debauchee/barrier/issues/483 ### Operating Systems ### Server: Ubuntu 18.04.3 Client: macOS Catalina 10.15.1 ### Barrier Version ### 2.3.2 ### Steps to reproduce bug ### 1. Run IntelliJ IDEA on the Mac. https://www.jetbrains.com/idea/download/#section=mac 2. Open a couple of files in different tabs in IDEA. 3. Click in another application window to make that app active. 4. Click in one of the IDEA editor panes. Note that you can select text in the editor pane, but you don't get a caret and you can't type in the pane. Note that selecting a different file tab in IDEA restores the caret and allows typing in the pane. Also note that if you use the Mac's mouse to click the editor pane in step 4, a caret appears and the user can type normally. The issue is only seen if the mouse click is coming from the server machine via Barrier. ### Other info ### * When did the problem start to occur? When I switched from Symless synergy-core v2.0.12-beta to Barrier. * Is there a way to work around it? Yes, but switching editor tabs every time I change the focus between apps is a pain. * Does this bug prevent you from using Barrier entirely? No
gitea-mirror added the
macOS
bug
linux
labels 2026-05-05 06:13:24 -06:00
Author
Owner

@xyzlast commented on GitHub (Nov 6, 2019):

I have same problem. plz fix it.

<!-- gh-comment-id:550552478 --> @xyzlast commented on GitHub (Nov 6, 2019): I have same problem. plz fix it.
Author
Owner

@mrog commented on GitHub (Nov 22, 2019):

I just tried Symless Synergy 1.11.0-rc2 and it has this same issue. It appears to be something they fixed in Synergy 2.x.

<!-- gh-comment-id:557651040 --> @mrog commented on GitHub (Nov 22, 2019): I just tried Symless Synergy 1.11.0-rc2 and it has this same issue. It appears to be something they fixed in Synergy 2.x.
Author
Owner

@dstutzman1 commented on GitHub (Dec 2, 2019):

I also have this issue, using macOS 10.14.6 and JetBrains WebStorm. It seems to occur most often when I'm switching between a Chrome window and a WebStorm window. The cursor will go missing, and I'll be unable to type anything into the IDE until I bring up the Find in Path window (Command + Shift + F) or the Search Everywhere window (press shift key twice) and dismiss them.

This issue is also being tracked at JetBrains and on the Synergy forums:

<!-- gh-comment-id:560567807 --> @dstutzman1 commented on GitHub (Dec 2, 2019): I also have this issue, using macOS 10.14.6 and JetBrains WebStorm. It seems to occur most often when I'm switching between a Chrome window and a WebStorm window. The cursor will go missing, and I'll be unable to type anything into the IDE until I bring up the Find in Path window (Command + Shift + F) or the Search Everywhere window (press shift key twice) and dismiss them. This issue is also being tracked at JetBrains and on the Synergy forums: - JetBrains: https://youtrack.jetbrains.com/issue/IDEA-215477 - Synergy forums: https://members.symless.com/forums/topic/2171-keyboard-input-sometimes-ignored-for-some-java-programs/
Author
Owner

@da3dsoul commented on GitHub (Dec 5, 2019):

I cannot reproduce on Windows or Linux (Rider 2019.3 EAP and PyCharm 2019.3). Figured that might help

<!-- gh-comment-id:562098758 --> @da3dsoul commented on GitHub (Dec 5, 2019): I cannot reproduce on Windows or Linux (Rider 2019.3 EAP and PyCharm 2019.3). Figured that might help
Author
Owner

@dstutzman1 commented on GitHub (Dec 5, 2019):

macOS is specifically mentioned in every place that it's being tracked, so it's possible (or even likely) that it's a macOS-only issue.

<!-- gh-comment-id:562149231 --> @dstutzman1 commented on GitHub (Dec 5, 2019): macOS is specifically mentioned in every place that it's being tracked, so it's possible (or even likely) that it's a macOS-only issue.
Author
Owner

@shymega commented on GitHub (Jul 28, 2020):

Quite possibly. Labelling as macOS for now..

EDIT: Already done it seems!

<!-- gh-comment-id:665308540 --> @shymega commented on GitHub (Jul 28, 2020): Quite possibly. Labelling as macOS for now.. EDIT: Already done it seems!
Author
Owner

@MatthewMartinFD commented on GitHub (Aug 24, 2020):

I am also experiencing this issue, please let me know if I can help.

<!-- gh-comment-id:679209582 --> @MatthewMartinFD commented on GitHub (Aug 24, 2020): I am also experiencing this issue, please let me know if I can help.
Author
Owner

@xbito commented on GitHub (Oct 25, 2020):

I am also experiencing this, but with Pycharm, for quite some time already. I never related it to switching apps, but it does look like that triggers it.

Once the cursor is lost I can sometimes recover it by opening a dialog, for example I press cmd + N and then canceling that action.

Server: Windows 10 Pro
Client: Mac OS Catalina 10.15.5

Affected app: Pycharm Professional 2020.2 (though have been experiencing it with the last 3 versions at least).

<!-- gh-comment-id:716183651 --> @xbito commented on GitHub (Oct 25, 2020): I am also experiencing this, but with Pycharm, for quite some time already. I never related it to switching apps, but it does look like that triggers it. Once the cursor is lost I can sometimes recover it by opening a dialog, for example I press cmd + N and then canceling that action. Server: Windows 10 Pro Client: Mac OS Catalina 10.15.5 Affected app: Pycharm Professional 2020.2 (though have been experiencing it with the last 3 versions at least).
Author
Owner

@romdeau23 commented on GitHub (Feb 25, 2021):

Having the same issue with PhpStorm. Moving to a second monitor and then back triggers this 100% of the time.

edit: With a new computer, which means a fresh install of OS X, barrier and PhpStorm, this has stopped happening 🤷‍♂️

<!-- gh-comment-id:785760895 --> @romdeau23 commented on GitHub (Feb 25, 2021): Having the same issue with PhpStorm. Moving to a second monitor and then back triggers this 100% of the time. edit: With a new computer, which means a fresh install of OS X, barrier and PhpStorm, this has stopped happening 🤷‍♂️
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#377
No description provided.