I have an occasional problem with copy and paste from Firefox. It’s occasional as a restart of Firefox solves it. Perhaps coincidentally I am unable to detach tabs with the mouse in the same scenario, requiring a restart of Firefox. These problems start at the same time, and the same restart of Firefox solves them for a while. So I’m thinking it’s either a Firefox problem, or more of a system/wayland problem.
When I copy text from Firefox into another app it simply doesn’t work, no pasting, not even previously copied text. For some such as VSCodium it freezes and completely crashes. Having installed a clipboard manager I can see that no new entry is added. If when VSCodium is frozen I copy text from a non-Firefox window it unfreezes and lets me paste the newly copied text.
I had no idea of anything until I noticed when pasting into Terminator this message. This comes up after a short freeze period.
bracketed-paste-magic:zle:47: not enough arguments for -U
I have no idea where this problem originates from, so don’t know which forums/projects to start reporting/asking about this. A challenge is that I can’t reproduce the issue directly, just after a short while of use I’ll notice I can’t copy text out and I can’t pull windows off (have to just shortcut v + w on tab right click).
This has persisted across many versions of Firefox and VSCodium (also affected VSCode and FOSS-VSCode). My current versions are:
I’m still experiencing this issue, even after updating to the latest Firefox version (82.0.3). When trying to paste something copied out of Firefox the app freezes (e.g. VS Code, Discord, etc.).
I also noticed another odd problem: When trying to paste something from Firefox into Google Chrome, Chrome doesn’t accept input anymore. It doesn’t freeze, as it’s still possible to create tabs for example, but I can’t type in Chrome anymore. This can be fixed by copying something from another app. As soon as I copy something out of VS Code or GNOME Software for example I can type again.