[PR #653] [MERGED] Fix TIS/TSM in logs #1668

Closed
opened 2026-05-05 07:59:01 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/debauchee/barrier/pull/653
Author: @simons-public
Created: 5/5/2020
Status: Merged
Merged: 5/12/2020
Merged by: @shymega

Base: masterHead: tis-tsm-fix


📝 Commits (2)

📊 Changes

1 file changed (+7 additions, -0 deletions)

View changed files

📝 src/cmd/barriers/barriers.cpp (+7 -0)

📄 Description

Silences the "is calling TIS/TSM in non-main thread environment" messages in the log when running a MacOS server as it is a red herring that causes a lot of issues to be filed. The messages are silenced by setting the OS_ACTIVITY_DT_MODE environment variable to NO.

Image of logs before:
before-setenv-OS_ACTIVITY_DT_MODE

Image of logs after:
after-setenv-OS_ACTIVITY_DT_MODE

Example issues that include mentions of TIS/TSM where it was not an issue:
#643, #599, #563, #532, #393, #232, #212, #112

This error comes from text input being handled by barriers which is another thread from the main barrier application. More info about Text Input Manager (TIS) & Text Services Manager TSM can be found here


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/debauchee/barrier/pull/653 **Author:** [@simons-public](https://github.com/simons-public) **Created:** 5/5/2020 **Status:** ✅ Merged **Merged:** 5/12/2020 **Merged by:** [@shymega](https://github.com/shymega) **Base:** `master` ← **Head:** `tis-tsm-fix` --- ### 📝 Commits (2) - [`30c7749`](https://github.com/debauchee/barrier/commit/30c77497df874f150ce1bf949e8ff456343ab68d) Fix TIS/TSM in logs - [`7a2b38a`](https://github.com/debauchee/barrier/commit/7a2b38ad56cdcfda5904d40694767fbc17b85f06) replace tabs with spaces ### 📊 Changes **1 file changed** (+7 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/cmd/barriers/barriers.cpp` (+7 -0) </details> ### 📄 Description Silences the "is calling TIS/TSM in non-main thread environment" messages in the log when running a MacOS server as it is a red herring that causes a lot of issues to be filed. The messages are silenced by setting the `OS_ACTIVITY_DT_MODE` environment variable to `NO`. Image of logs before: <img width="1553" alt="before-setenv-OS_ACTIVITY_DT_MODE" src="https://user-images.githubusercontent.com/35010457/81039650-7e953880-8e5e-11ea-96e6-c5eacbf43d4a.png"> Image of logs after: <img width="992" alt="after-setenv-OS_ACTIVITY_DT_MODE" src="https://user-images.githubusercontent.com/35010457/81039657-8228bf80-8e5e-11ea-888d-75c7de22a66c.png"> Example issues that include mentions of TIS/TSM where it was not an issue: #643, #599, #563, #532, #393, #232, #212, #112 This error comes from text input being handled by `barriers` which is another thread from the main `barrier` application. More info about [Text Input Manager (TIS) & Text Services Manager TSM can be found here](https://developer.apple.com/library/archive/documentation/Carbon/Conceptual/UnderstandTextInput_TSM/tinptsm_intro/tinptsm_intro.html#//apple_ref/doc/uid/TP40000957) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 07:59:01 -06:00
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#1668
No description provided.