mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #769] Under linux, select the text first, then take a screenshot, the selected text appears in the windows clipboard instead of the image data. #604
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#604
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 @mokyle on GitHub (Jun 25, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/769
Operating Systems
Server: Manjaro 20.0.3 Lysia
Client: windows 10 v2004
Barrier Version
2.3.2-1
Steps to reproduce bug
When I first selected a piece of text (not copied to the clipboard), then took a screenshot (the image data was copied to the clipboard), and then switched to the windows screen, the text of the selected text appeared in the windows clipboard, but there was no image data.
Other info
Later I learned that X under Linux does have two clipboards: https://unix.stackexchange.com/questions/139191/whats-the-difference-between-primary-selection-and-clipboard-buffer. Knowing this feature, I slightly changed the source code to ignore the clipboard called primary:
Sorry, I only learned C language at the university for dozens of classes, but the changes did work.
I'm not sure if I just encountered this problem, maybe this issue can help some people.
@github-actions[bot] commented on GitHub (Sep 18, 2020):
This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.
@p12tic commented on GitHub (Jan 10, 2021):
Let's not close valid bugs without a valid reason.