[GH-ISSUE #393] Keyboard not being shared since macOS update (10.14.6 (18G87)) #311

Closed
opened 2026-05-05 06:00:24 -06:00 by gitea-mirror · 18 comments
Owner

Originally created by @domparry on GitHub (Aug 7, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/393

Operating Systems

Server: macOS Mojave 10.14.6 (18G87)

Client: macOS High Sierra 10.13.6

Barrier Version

2.1.0 and 2.3.0

Steps to reproduce bug

  1. Open Barrier on both machines
  2. Move the mouse into the screen of the client.
  3. Mouse control is transferred and works normally.
  4. Keyboard still active on server, but not on client

Other info

  • When did the problem start to occur? Since running the latest macOS update (on 7-08-2019)
  • Is there a way to work around it? No
  • Does this bug prevent you from using Barrier entirely? No
Originally created by @domparry on GitHub (Aug 7, 2019). Original GitHub issue: https://github.com/debauchee/barrier/issues/393 ### Operating Systems ### Server: macOS Mojave 10.14.6 (18G87) Client: macOS High Sierra 10.13.6 ### Barrier Version ### 2.1.0 and 2.3.0 ### Steps to reproduce bug ### 1. Open Barrier on both machines 2. Move the mouse into the screen of the client. 3. Mouse control is transferred and works normally. 4. Keyboard still active on server, but not on client ### Other info ### * When did the problem start to occur? Since running the latest macOS update (on 7-08-2019) * Is there a way to work around it? No * Does this bug prevent you from using Barrier entirely? No
gitea-mirror 2026-05-05 06:00:24 -06:00
  • closed this issue
  • added the
    macOS
    bug
    labels
Author
Owner

@domparry commented on GitHub (Aug 19, 2019):

Just as an update, I've tested this on 2.3.1 and it still persists.

<!-- gh-comment-id:522474857 --> @domparry commented on GitHub (Aug 19, 2019): Just as an update, I've tested this on 2.3.1 and it still persists.
Author
Owner

@domparry commented on GitHub (Aug 30, 2019):

Something I see in the logs when I switch to the other machine:

2019-08-30 17:28:53.195 barriers[1353:12766] pid(1353)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
<!-- gh-comment-id:526645265 --> @domparry commented on GitHub (Aug 30, 2019): Something I see in the logs when I switch to the other machine: ``` 2019-08-30 17:28:53.195 barriers[1353:12766] pid(1353)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!! ```
Author
Owner

@AdrianKoshka commented on GitHub (Aug 30, 2019):

That's a long-time warning, iirc it's doesn't interfere with anything.

<!-- gh-comment-id:526670701 --> @AdrianKoshka commented on GitHub (Aug 30, 2019): That's a long-time warning, iirc it's doesn't interfere with anything.
Author
Owner

@bookshelfdave commented on GitHub (Sep 2, 2019):

I'm experiencing the same issue. I added a bunch of traces throughout the source to log events (EventQueue, OSXKeyState, OSXScreen etc), and it appears that only mouse events are being fired. If anyone has pointers on where I should be looking in the source, I'd be happy to debug some more.

<!-- gh-comment-id:527250744 --> @bookshelfdave commented on GitHub (Sep 2, 2019): I'm experiencing the same issue. I added a bunch of traces throughout the source to log events (EventQueue, OSXKeyState, OSXScreen etc), and it appears that only mouse events are being fired. If anyone has pointers on where I should be looking in the source, I'd be happy to debug some more.
Author
Owner

@domparry commented on GitHub (Sep 3, 2019):

Any work around on your side to get it going again @metadave ?

<!-- gh-comment-id:527325298 --> @domparry commented on GitHub (Sep 3, 2019): Any work around on your side to get it going again @metadave ?
Author
Owner

@jbirthisel commented on GitHub (Sep 5, 2019):

This is happening to me off and on all the time.

Example: Today quit working in morning. Reset both server and client side. Rebooted client even. No fix. Then 5 minutes ago (14:00) the keyboard just started working again.

<!-- gh-comment-id:528383005 --> @jbirthisel commented on GitHub (Sep 5, 2019): This is happening to me off and on all the time. Example: Today quit working in morning. Reset both server and client side. Rebooted client even. No fix. Then 5 minutes ago (14:00) the keyboard just started working again.
Author
Owner

@bookshelfdave commented on GitHub (Sep 5, 2019):

Any work around on your side to get it going again @metadave ?

not yet, still debugging and learning about iokit. All signs currently point to keyboard events not being fired on the server.

edit:

All signs currently point to keyboard events not being fired on the server.

control/option/command appear to fire events, letter/number keys do not

<!-- gh-comment-id:528423912 --> @bookshelfdave commented on GitHub (Sep 5, 2019): > Any work around on your side to get it going again @metadave ? not yet, still debugging and learning about iokit. All signs currently point to keyboard events not being fired on the server. edit: > All signs currently point to keyboard events not being fired on the server. control/option/command appear to fire events, letter/number keys do not
Author
Owner

@noisyshape commented on GitHub (Sep 6, 2019):

I couldn't reproduce this with VMware guests and I'm not seeing any difference in behavior with 10.14.6. This may be identical to https://github.com/symless/synergy-core/issues/6513 where supposedly it's something to do with input source settings.

When all else fails, post full debug logs.

<!-- gh-comment-id:528657934 --> @noisyshape commented on GitHub (Sep 6, 2019): I couldn't reproduce this with VMware guests and I'm not seeing any difference in behavior with 10.14.6. This may be identical to https://github.com/symless/synergy-core/issues/6513 where supposedly it's something to do with input source settings. When all else fails, post full debug logs.
Author
Owner

@domparry commented on GitHub (Sep 8, 2019):

I've double checked the keyboard input source settings as described in that issue, and that's not the case here. @noisyshape When you say full debug logs, are you referring to something more than the logs shown from the show log function? If there's a way to turn on more detailed logs, let me know and I'll happily do so.

<!-- gh-comment-id:529229527 --> @domparry commented on GitHub (Sep 8, 2019): I've double checked the keyboard input source settings as described in that issue, and that's not the case here. @noisyshape When you say full debug logs, are you referring to something more than the logs shown from the `show log` function? If there's a way to turn on more detailed logs, let me know and I'll happily do so.
Author
Owner

@noisyshape commented on GitHub (Sep 9, 2019):

@domparry In the settings dialog (F4) there is a logging level option. Set it to Debug2 and restart the client/server. If you can log a short session with a couple of failed keystrokes that could be helpful. You can use pastebin for this.

<!-- gh-comment-id:529291108 --> @noisyshape commented on GitHub (Sep 9, 2019): @domparry In the settings dialog (F4) there is a logging level option. Set it to Debug2 and restart the client/server. If you can log a short session with a couple of failed keystrokes that could be helpful. You can use pastebin for this.
Author
Owner

@domparry commented on GitHub (Sep 9, 2019):

*** Edit - I didn't restart barrier after setting the debug level, so re-pasting the logs ***

Here you go @noisyshape . I've included both the client and server logs below.

Client Log: https://pastebin.com/EcCyjHMR
Server Log:https://pastebin.com/1VwreTTK

<!-- gh-comment-id:529313184 --> @domparry commented on GitHub (Sep 9, 2019): *** Edit - I didn't restart barrier after setting the debug level, so re-pasting the logs *** Here you go @noisyshape . I've included both the client and server logs below. Client Log: https://pastebin.com/EcCyjHMR Server Log:https://pastebin.com/1VwreTTK
Author
Owner

@domparry commented on GitHub (Sep 13, 2019):

Please let me know if there is anything else I can provide to help find the cause of this. It essentially makes barrier unusable.

<!-- gh-comment-id:531139620 --> @domparry commented on GitHub (Sep 13, 2019): Please let me know if there is anything else I can provide to help find the cause of this. It essentially makes barrier unusable.
Author
Owner

@bookshelfdave commented on GitHub (Sep 17, 2019):

As barrier and synergy aren't working for me because of this bug, I tried using https://www.sharemouse.com/. It has the same problem with keyboard sharing, _however, it also shows an orange icon when running that says "Keyboard not working?". Clicking on the icon takes you to the ShareMouse support page that describes apps that leave MacOS Secure Input enabled.

tl;dr I started killing apps until my keyboard worked again. Some possibly useful info here and here.

also, props to the sharemouse folks for showing that helpful warning.

edit - I should mentioned that I think Evernote is the culprit, but I'll have to observe over a few days to verify.

edit: one more doc that's helpful

cc @domparry

<!-- gh-comment-id:532204182 --> @bookshelfdave commented on GitHub (Sep 17, 2019): As barrier and synergy aren't working for me because of this bug, I tried using https://www.sharemouse.com/. It has the same problem with keyboard sharing, _however, it also shows an orange icon when running that says "Keyboard not working?". Clicking on the icon takes you to the [ShareMouse support page](https://www.sharemouse.com/doc/troubleshooting/#keyboard) that describes apps that leave [MacOS Secure Input](https://developer.apple.com/library/archive/technotes/tn2150/_index.html) enabled. tl;dr I started killing apps until my keyboard worked again. Some possibly useful info [here](https://security.stackexchange.com/questions/47749/how-secure-is-secure-keyboard-entry-in-mac-os-xs-terminal) and [here](https://rakhesh.com/mac/macos-find-app-using-secure-input/). also, props to the sharemouse folks for showing that helpful warning. ~edit - I should mentioned that I think Evernote is the culprit, but I'll have to observe over a few days to verify.~ edit: [one more doc](https://smilesoftware.com/textexpander/secureinput) that's helpful cc @domparry
Author
Owner

@domparry commented on GitHub (Sep 17, 2019):

@metadave, you're awesome. Spot on. My issue was secureinput locked by a startup app (workflowy). Huge Thank you.

<!-- gh-comment-id:532283303 --> @domparry commented on GitHub (Sep 17, 2019): @metadave, you're awesome. Spot on. My issue was secureinput locked by a startup app (workflowy). Huge Thank you.
Author
Owner

@domparry commented on GitHub (Sep 25, 2019):

I'm closing this because it's solved (And not a Barrier issue)

<!-- gh-comment-id:534868659 --> @domparry commented on GitHub (Sep 25, 2019): I'm closing this because it's solved (And not a Barrier issue)
Author
Owner

@iulo commented on GitHub (Nov 23, 2020):

@metadave thanks bro, save my life.
for other who face on this problem, a possiable solution is just: locking and unlocking your system.

<!-- gh-comment-id:732063585 --> @iulo commented on GitHub (Nov 23, 2020): @metadave thanks bro, save my life. for other who face on this problem, a possiable solution is just: locking and unlocking your system.
Author
Owner

@royriojas commented on GitHub (Dec 4, 2020):

@metadave thanks bro, save my life.
for other who face on this problem, a possiable solution is just: locking and unlocking your system.

This is the simplest solution so far... many many thanks @iulo

<!-- gh-comment-id:738992811 --> @royriojas commented on GitHub (Dec 4, 2020): > @metadave thanks bro, save my life. > for other who face on this problem, a possiable solution is just: locking and unlocking your system. This is the simplest solution so far... many many thanks @iulo
Author
Owner

@shabeer commented on GitHub (May 17, 2023):

thanks @iulo for the quick solution

<!-- gh-comment-id:1551155532 --> @shabeer commented on GitHub (May 17, 2023): thanks @iulo for the quick solution
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#311
No description provided.