dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[BUG] Can't Copy and Paste from another App

Open VicAlarDev opened this issue 11 months ago • 9 comments

Describe the bug

When copying from for example the browser to another app like a code editor or the terminal or any other app, it freezes the app for a second and then says that the app stopped working.

This started since the latest update in hyprland

Steps to reproduce

  1. Copy in an app.
  2. Paste in a different app.

Expected behavior

It should allow the copying and pasting.

Screenshots

No response

Distribution

EndeavourOS

If Other, specify

No response

Additional context

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

VicAlarDev avatar Mar 28 '25 22:03 VicAlarDev

Can you update Hyprland to 0.48.1 and try again? I can't replicate the issue on my systems. If the bug still persists after updating Hyprland, please share a screenshot. Then I can check if it's a dotfiles issue. But I am pretty shure it's a local issue on your system.

mylinuxforwork avatar Mar 30 '25 08:03 mylinuxforwork

Same issue here, sometimes when paste to vscodium wayland, need terminate vscodium, app stop working.

Distribution CachyOS

Image

helio-fernandes avatar Apr 07 '25 19:04 helio-fernandes

But this can’t be a dotfiles related bug. What do you think?

mylinuxforwork avatar Apr 09 '25 15:04 mylinuxforwork

But this can’t be a dotfiles related bug. What do you think?

I don't think so. Today, I’m using the normal version of VSCodium without Wayland, and everything works fine. maybe it's an issue with the clipboard manager.

helio-fernandes avatar Apr 09 '25 21:04 helio-fernandes

I think it's an error with the clipboard manager as well, I still get the error but just happens sometimes

VicAlarDev avatar Apr 11 '25 23:04 VicAlarDev

Can you try the following. Open .config/hypr/conf/autostart.conf and comment the line including cliphist. Then reboot.

mylinuxforwork avatar Apr 12 '25 04:04 mylinuxforwork

Everything is working so far, and since I don't need the cliphist, I haven't noticed its absence.

helio-fernandes avatar Apr 13 '25 16:04 helio-fernandes

Thanks for testing. I will check as well.

mylinuxforwork avatar Apr 13 '25 19:04 mylinuxforwork

I would like to say that I tried commenting out the line containing cliphist originally, and it worked the first time, but now it fails to work again. Any time I try to copy and paste something, text or image, the program freezes. The system may give me an error, asking me to terminate the program or wait. If I wait, it stays frozen indefinitely and is immune to pkill -9. If I terminate though, thankfully it terminates. I've tried running cliphist in the terminal, I've tried running pkill -9 cliphist, and I've tried running both commands one after the other, both ways.

h3-Hanouzz avatar Apr 18 '25 23:04 h3-Hanouzz