Zed crashes when pasting text from other apps
Summary
Zed crashes when pasting text from other apps
Description
Steps to trigger the problem:
- Open a new document in Zed
- Copy a text from web browser
- Paste in Zed
Sometimes it needs to be done multiple times. Often it will not paste anything or paste will work and sometimes it will freeze.
Actual Behavior: Zed freezes and needs to be restarted
Expected Behavior: Text is pasted and I can continue coding
Zed Version and System Specs
Zed: v0.187.8 (Zed) OS: Linux Wayland arch unknown Memory: 31.3 GiB Architecture: x86_64 GPU: NVIDIA GeForce RTX 3070 Ti || NVIDIA || 570.153.02
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
No response
Could be related to Hyprland's issues when copy/pasting between Wayland and XWayland apps.
Made some changes and will report back if that's still an issue.
I'm having same issue here, did you fix it in your Hyprland's configuration? If I start zed with WAYLAND_DISPLAY='' works
@luizender in my case, I think I needed to change the clipboard settings and how it handles Wayland vs XWayland, but I can't remember. I switched to Mac now.
Hi there! 👋 We're working to clean up our issue tracker by closing older bugs that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and it will be kept open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, it will close automatically in 14 days. Thanks for your help!