mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #101] Option to limit Clipboard to Text only #77
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @W4RH4WK on GitHub (Jul 22, 2018).
Original GitHub issue: https://github.com/debauchee/barrier/issues/101
I just noticed the cursor bugging out when moving between screens (hosts).
Based on the info / debug output: my clipboard contains an image, which Barrier tries to convert, for whatever reason. As soon as I copied some text into the clipboard everything was back to normal.
While I certainly like the feature of image-based clipboard-sharing, maybe a switch for limiting clipboard-sharing to text only would be nice.
@gelldur commented on GitHub (Oct 11, 2018):
Same here also same on old Synergy. When I make screenshot via eg.
xfce4-screenshooterthen I copy to clipboard everything "hangs" (I don't see mouse and keyboard doesn't respond). Only can switch to other TTY and kill app to get back control.@p12tic commented on GitHub (Oct 13, 2018):
I've observed something similar too. Seems that whenever clipboard has a lot of data and the cursor moves between screens all the data is transferred synchronously causing jitter. This is especially noticeable on slower connections like wifi.
@ghost commented on GitHub (Apr 28, 2019):
This is crashing my server, would really appreciate if someone could do this.
@GwylimWilliams commented on GitHub (May 9, 2019):
I am also having trouble with this but it would be preferable to fix the issue with "large" data in the clipboard crashing/hanging the server please.
Server and client are both xubuntu.
@ghost commented on GitHub (Nov 14, 2019):
I had to disable clipboard in the barrier config at work (since I work with images a lot) because the server swelled to 200-400mb of ram and finally froze my input completely several times forcing me to switch tty to kill it. Don't ask how many times it took me to figure that out..
In newer synergy there is a setting for limiting clipboard size which I would really appreciate to be added to barrier, thanks!
@SamantazFox commented on GitHub (Oct 5, 2020):
AFAIK, the clipboard is already "text-only". It is defined as a
stringin the source code:https://github.com/debauchee/barrier/blob/master/src/lib/barrier/Clipboard.cpp#L114
Based on my experience using barrier, it seems to copy anything in the clipboard, up to the first NUL character (0x00), which doesn't allow to copy PNGs, for instance.
@zgxsin commented on GitHub (Apr 30, 2021):
Is there any way to enable image-supported clipboard sharing?
@jduemes commented on GitHub (Apr 30, 2021):
I would like that barrier had an option for clipboard that could be named: "Only text (no formatting)" or something, Since some application simply do not understand CTRL+Shift+V to paste text without format.
@Delwin9999 commented on GitHub (May 26, 2021):
On that same note I've found that copying something out of google docs, switching machines, and pasting it into slack it loses formatting. Doing that on the same machine it keeps formatting.
I'm guessing there's a null character separating text from format in the clipboard? I'll look into this myself but I just wanted to note it here.