[GH-ISSUE #378] Drag and drop file transfers doesn't work #300

Closed
opened 2026-05-05 05:59:11 -06:00 by gitea-mirror · 8 comments
Owner

Originally created by @weeeo on GitHub (Jul 27, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/378

Operating Systems

Server: MacOS 10.14

Client: win 10 v1803

Barrier Version

v2.3.0

Steps to reproduce bug

server and client is connected, share clipboard is working, but drag and drop file transfers not.

Logs:

W is host server, p is client

a) dragging file from host to client:
in the host
"2019-07-27 16:56:42.833 barriers[34930:397913] pid(34930)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
[2019-07-27T16:56:42] INFO: switch from "W" to "p" at 0,324
[2019-07-27T16:56:42] INFO: leaving screen
[2019-07-27T16:56:42] WARNING: cursor may not be visible"

in the client
"[2019-07-27T16:56:40] INFO: entering screen
[
2019-07-27T16:56:41] ERROR: drop file failed: drop target is empty"

b) dragging file form client to host
in the host
"019-07-27 17:01:15.569 barriers[34930:391877] pid(34930)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
[2019-07-27T17:01:17] INFO: switch from "p" to "W" at 1433,804
[2019-07-27T17:01:17] INFO: entering screen"

in the client
"[2019-07-27T17:01:15] INFO: leaving screen"

Originally created by @weeeo on GitHub (Jul 27, 2019). Original GitHub issue: https://github.com/debauchee/barrier/issues/378 ### Operating Systems ### Server: MacOS 10.14 Client: win 10 v1803 ### Barrier Version ### v2.3.0 ### Steps to reproduce bug ### server and client is connected, share clipboard is working, but drag and drop file transfers not. Logs: W is host server, p is client a) dragging file from host to client: in the host "2019-07-27 16:56:42.833 barriers[34930:397913] pid(34930)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!! [2019-07-27T16:56:42] INFO: switch from "W" to "p" at 0,324 [2019-07-27T16:56:42] INFO: leaving screen [2019-07-27T16:56:42] WARNING: cursor may not be visible" in the client "[2019-07-27T16:56:40] INFO: entering screen [ 2019-07-27T16:56:41] ERROR: drop file failed: drop target is empty" b) dragging file form client to host in the host "019-07-27 17:01:15.569 barriers[34930:391877] pid(34930)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!! [2019-07-27T17:01:17] INFO: switch from "p" to "W" at 1433,804 [2019-07-27T17:01:17] INFO: entering screen" in the client "[2019-07-27T17:01:15] INFO: leaving screen"
gitea-mirror 2026-05-05 05:59:11 -06:00
Author
Owner

@ArthurVinbeau commented on GitHub (Aug 8, 2019):

Same issue with windows 10 1803 enterprise as the server and macOS 10.14.5 as the client.
However the log window on windows closes when trying to drag&drop from windows.
Drag&Drop from mac outputs
barrierc[717:9088] pid(717)/euid(1596652451) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
and windows outputs
ERROR: drop file failed: drop target is empty

(The mac error also happens when using shift on the windows keyboard)

Barrier versions are
2.3.0-snapshot-8e8b38b4 on windows
2.3.0-Release-8e8b38b4 on mac

<!-- gh-comment-id:519441527 --> @ArthurVinbeau commented on GitHub (Aug 8, 2019): Same issue with windows 10 1803 enterprise as the server and macOS 10.14.5 as the client. However the log window on windows closes when trying to drag&drop from windows. Drag&Drop from mac outputs barrierc[717:9088] pid(717)/euid(1596652451) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!! and windows outputs ERROR: drop file failed: drop target is empty (The mac error also happens when using shift on the windows keyboard) Barrier versions are 2.3.0-snapshot-8e8b38b4 on windows 2.3.0-Release-8e8b38b4 on mac
Author
Owner

@weeeo commented on GitHub (Aug 13, 2019):

Same issue with windows 10 1803 enterprise as the server and macOS 10.14.5 as the client.
However the log window on windows closes when trying to drag&drop from windows.
Drag&Drop from mac outputs
barrierc[717:9088] pid(717)/euid(1596652451) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
and windows outputs
ERROR: drop file failed: drop target is empty

(The mac error also happens when using shift on the windows keyboard)

Barrier versions are
2.3.0-snapshot-8e8b38b4 on windows
2.3.0-Release-8e8b38b4 on mac

I got this log window closes problem too. I believe if you drag and drop before opening log window, you can see the same log history as I posted.

<!-- gh-comment-id:520795192 --> @weeeo commented on GitHub (Aug 13, 2019): > Same issue with windows 10 1803 enterprise as the server and macOS 10.14.5 as the client. > However the log window on windows closes when trying to drag&drop from windows. > Drag&Drop from mac outputs > barrierc[717:9088] pid(717)/euid(1596652451) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!! > and windows outputs > ERROR: drop file failed: drop target is empty > > (The mac error also happens when using shift on the windows keyboard) > > Barrier versions are > 2.3.0-snapshot-8e8b38b4 on windows > 2.3.0-Release-8e8b38b4 on mac I got this log window closes problem too. I believe if you drag and drop before opening log window, you can see the same log history as I posted.
Author
Owner

@AriaLyy commented on GitHub (Aug 29, 2019):

I also encountered the same problem, mac is the server, win10 is the client

<!-- gh-comment-id:526081703 --> @AriaLyy commented on GitHub (Aug 29, 2019): I also encountered the same problem, mac is the server, win10 is the client
Author
Owner

@abn5x commented on GitHub (Dec 26, 2019):

I have the same problem as described. Mac Server, Win 10 client.

<!-- gh-comment-id:569114925 --> @abn5x commented on GitHub (Dec 26, 2019): I have the same problem as described. Mac Server, Win 10 client.
Author
Owner

@Hack5190 commented on GitHub (Jan 6, 2020):

Note: this issue exists when both the server and client are running macOS.

Current setup (for both server & client) is Barrier v2.3.2-Release-210c2b70 running on macOS Mojave v10.14.6 (18G2022).

<!-- gh-comment-id:571209883 --> @Hack5190 commented on GitHub (Jan 6, 2020): Note: this issue exists when both the server and client are running macOS. Current setup (for both server & client) is Barrier v2.3.2-Release-210c2b70 running on macOS Mojave v10.14.6 (18G2022).
Author
Owner

@elgandoz commented on GitHub (May 24, 2020):

Same as @Hack5190 : 2 MacOs Catalina, running Barrier v2.3.2-Release-210c2b70.
Clipboard gets updated but it's empty as soon you move to the other device.
Drag and drop doesn't work. I s there any CLI workaround?

<!-- gh-comment-id:633199102 --> @elgandoz commented on GitHub (May 24, 2020): Same as @Hack5190 : 2 MacOs Catalina, running Barrier v2.3.2-Release-210c2b70. Clipboard gets updated but it's empty as soon you move to the other device. Drag and drop doesn't work. I s there any CLI workaround?
Author
Owner

@phillip-haydon commented on GitHub (Jun 5, 2020):

I can't drag and drop between Ubuntu 20.04 <> Ubuntu 20.04, or Windows 10 <> Ubuntu 20.04.

:(

Can't copy paste files either.

<!-- gh-comment-id:639255844 --> @phillip-haydon commented on GitHub (Jun 5, 2020): I can't drag and drop between Ubuntu 20.04 <> Ubuntu 20.04, or Windows 10 <> Ubuntu 20.04. :( Can't copy paste files either.
Author
Owner

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

Closing in favour of #855.

<!-- gh-comment-id:682744053 --> @shymega commented on GitHub (Aug 28, 2020): Closing in favour of #855.
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#300
No description provided.