Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy paste not working on the latest linux update #20984

Open
1 task done
bushubdegefu opened this issue Nov 21, 2024 · 15 comments
Open
1 task done

copy paste not working on the latest linux update #20984

bushubdegefu opened this issue Nov 21, 2024 · 15 comments
Labels
bug [core label] linux

Comments

@bushubdegefu
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Copy and paste not working on Zed editor on latest update. it can cut or copy, but past has no effect ( for both ctrl + v and manual paste)

Environment

for all projects

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log

@bushubdegefu
Copy link
Author

more like not capturing the copy command either from mouse or copy+c from within ZED

@kgritesh
Copy link

I am also facing this issue. How to solve this.

@domenkozar
Copy link

Using vim mode y and p also don't work.

@notpeter
Copy link
Member

Please run zed: copy system specs to clipboard as requested by the issue template.
I am not able to reproduce on my Linux machine, so I'm curious if there's a common pattern amongst those impacted.

Would anyone be willing to previous Zed releases to see if they can identify when it broke? Or perform the git bisect to track down a specific commit?

@notpeter notpeter added awaiting info Issue that needs more information from the user linux and removed triage labels Nov 25, 2024
@domenkozar
Copy link

0.161.1 works for me, 0.162.3 doesn't.

@notpeter notpeter removed the awaiting info Issue that needs more information from the user label Nov 25, 2024
@notpeter
Copy link
Member

0.161.1 works for me, 0.162.3 doesn't.

Here's the diff: v0.161.1...v0.162.3. Anyone down to do the git bisect?

@kgritesh
Copy link

is there a easy way to downgrade to previous version.

@notpeter
Copy link
Member

notpeter commented Nov 26, 2024

is there a easy way to downgrade to previous version.

Yes. Add the following to your settings.json:

  "auto_update": false,

Then download from our github releases and follow the linux: downloading manually instructions in the docs.

Also can people please provide their system specs ('zed: copy system specs to clipboard' from the command palette) if you are impacted by this. I'd like to see if there any common patterns (Wayland vs X11, specific distro, unofficial packages, flatpak, etc).

@BlackYoup
Copy link

I seem to be impacted by this issue too (don't mind the zed version, I don't have the latest 0.162.5 re-compiled yet):

Zed: v0.161.0 (Zed Dev 815385cc5f7da8678dc5073e0b483e705f38aa5b)
OS: Linux X11 exherbo unknown
Memory: 62.5 GiB
Architecture: x86_64
GPU: Intel(R) Xe Graphics (TGL GT2) || Intel open-source Mesa driver || Mesa 24.1.5

I'm trying to bisect, but I'm having some troubles pinpointing the right commit. Will try a bit more..

@domenkozar
Copy link

I seem to be impacted by this issue too (don't mind the zed version, I don't have the latest 0.162.5 re-compiled yet):

Zed: v0.161.0 (Zed Dev 815385cc5f7da8678dc5073e0b483e705f38aa5b)
OS: Linux X11 exherbo unknown
Memory: 62.5 GiB
Architecture: x86_64
GPU: Intel(R) Xe Graphics (TGL GT2) || Intel open-source Mesa driver || Mesa 24.1.5

I'm trying to bisect, but I'm having some troubles pinpointing the right commit. Will try a bit more..

Strange that 0.161.1 works for me, maybe it's one of the dependencies?

@kgritesh
Copy link

Any update on this. I can't use latest zed version because of this issue.

@dwretman
Copy link

I have (or had) the same issue, copying from Zed seemed to be broken on 0.165.4, both to primary (highlight) and clipboard (Ctrl+C). Pasting text put in both clipboards from en external application worked fine.

The issue appeared after I had been running Zed for a while. But remained after restarting both the application and the computer.

I downloaded and ran 0.161.1, where copying worked.

When I then started 0.165.4 again, copying started working there again. Now I cannot reproduce the issue.

Zed: v0.165.4 (Zed)
OS: Linux X11 ubuntu 24.04
Memory: 15.4 GiB
Architecture: x86_64
GPU: Intel(R) UHD Graphics 620 (WHL GT2) || Intel open-source Mesa driver || Mesa 24.0.9-0ubuntu0.2

@cole-miller
Copy link
Contributor

If you're affected by this, could you trying launching Zed with RUST_LOG=trace in the environment and sharing the resulting log for a period where copy/paste wasn't working?

@cole-miller
Copy link
Contributor

I'd also be happy to pair with anyone who's affected to try to get this fixed, just reach out to [email protected].

@luccahuguet
Copy link

luccahuguet commented Jan 23, 2025

its happening to me.. under zed 0.170.2, in pop-os COSMIC, installed via install script

 lucca@pop-os 
 ------------ 
 OS: Pop!_OS 24.04 
 Host: pop-os 
 Uptime: 1 day(s), 2 hour(s) and 47 minute(s) 
 Kernel: 6.9.3-76060903-generic 
 System OS version: 24.04 
 NB CPUs: 4 
 CPU: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz @ 2799 GHz 
 GPU #1: HD Graphics 620 
 GPU #2: GM108M [GeForce 940MX] 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [core label] linux
Projects
None yet
Development

No branches or pull requests

8 participants