|
Background: I've started using So, for passwords specifically there's a thing with But even for non-passwords I'm not sure I like the way this works, reading everything I could select (primary selection) or copy... One problem for example is that mpv will read data one chunk at a time and remember it all so I could just make a client streaming infinite data and crash mpv. Anyway it's getting late for me and I'm losing focus; first thing first I'll open a PR with the x-kde-passwordthing in the next few days unless someone screams not to. Thanks! |
Replies: 4 comments 8 replies
I think the current mpv policy on wayland is to avoid compositor or application specific handlings like this.
This cannot be done because clipboard is accessed through properties and property access is always synchronous and happens in main player thread. Any delay in property access will cause the player to lock up. Async access to clipboard would require new commands.
|
I would like to note that |
|
See #17367 (comment) for my thoughts on this; tldr it sounds like the limitations of the Linux clipboard APIs mean that we should probably replace the property with an async command. PRs welcome. As for the unexpected |
Fixed by: #17608