When trying to copy anything from discord the process hangs
When trying to copy something from discord, steam (for example, text), and try to paste it to somewhere else (for example to browser or text editor), the process of that app hangs. And also the clipboard can't notice the copied data. Related to this: https://github.com/sentriz/cliphist/issues/140
Hi,
if you're copying from Discord and pasting into a text editor, how is wl-clipboard involved in this at all?
Uhh... What do you mean? It's... a clipboard utility? I'm trying to copy something to clipboard and it hangs? It doesn't copy the data (text, image) to clipboard.
I'm trying to copy something to clipboard and it hangs?
Are you trying to copy something using wl-copy? (and not from the Discord app)
It sounds like you're copying and pasting between two applications and not between an application and wl-clipboard, which is why I'm confused about wl-clipboard's involvement in this.
Just in case you're misunderstanding this: the actual clipboard is implemented by your compositor, not by wl-clipboard. wl-clipboard just provides two command-line utilities, wl-copy and wl-paste, to access it.
Well, I'm using clipboard manager cliphist, which is set to watch wl-paste with this:
wl-paste --type text --watch cliphist store
wl-paste --type image --watch cliphist store
Is it means that basically clipboard in compositor tries to copy data and wl-clipboard just provides wl-paste in order to access said data? And the data is corrupted or something?
Does the hang also happen if you don't run the wl-paste --watch commands? Does it happen when you copy from anything else but Discord?
basically clipboard in compositor tries to copy data and wl-clipboard just provides
wl-pastein order to access said data?
Basically that, yeah.
Does the hang also happen if you don't run the
wl-paste --watchcommands? Does it happen when you copy from anything else but Discord?
Yeah, it does happens when not setting wl-paste --watch. So it's probably hyprland issue then. When commands are set then wl-copy hangs in the processes.