-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Hightlighting text to copy into the Linux primary clipboard truncates or includes too many characters #36618
Copy link
Copy link
Labels
area:editorFeedback for code editing, formatting, editor iterations, etcFeedback for code editing, formatting, editor iterations, etcfrequency:commonBugs that happen for at least a third of the users across all platforms and kinds of usageBugs that happen for at least a third of the users across all platforms and kinds of usageplatform:linuxhappens only on linux, not other OShappens only on linux, not other OSpriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstaleLabel used by `stale` actionLabel used by `stale` actionstate:needs reproNeeds reproduction steps and/or someone to reproduceNeeds reproduction steps and/or someone to reproduce
Metadata
Metadata
Assignees
Labels
area:editorFeedback for code editing, formatting, editor iterations, etcFeedback for code editing, formatting, editor iterations, etcfrequency:commonBugs that happen for at least a third of the users across all platforms and kinds of usageBugs that happen for at least a third of the users across all platforms and kinds of usageplatform:linuxhappens only on linux, not other OShappens only on linux, not other OSpriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstaleLabel used by `stale` actionLabel used by `stale` actionstate:needs reproNeeds reproduction steps and/or someone to reproduceNeeds reproduction steps and/or someone to reproduce
Type
Fields
Give feedbackNo fields configured for Bug.
Summary
When I drag highlight text in Zed to copy text into my Primary clipboard it cuts off text or adds too much text in the primary clipboard buffer.
Description
Steps to reproduce:
Expected Behavior:
The exact text that I highlight goes into the primary clipboard.
Actual Behavior:
I highlighted this line left to right drag:

It cut off the highlighted texxt on the first try and on the second it grabbed too much:

Double click clicking to highlight or using olde trusty highlight text and
ctrl + cworks as expected.Maybe this is related to previous primary clipboard issues? #14362
Zed Version and System Specs
Zed: v0.199.10 (Zed)
OS: Linux Wayland fedora 42
Memory: 251.5 GiB
Architecture: x86_64
GPU: NVIDIA GeForce RTX 5090 || NVIDIA || 575.64.05