Sergey Bugaev

Results 246 comments of Sergey Bugaev

Hi, > I think this is caused by `xdg-mime` misidentifying the file type when a text file starts with `MM`. Sounds so indeed. You should report it to them, and...

Indeed, I suppose this could be made more robust, thanks. We should also be reading in a loop rather than once, and checking that the byte we're trimming is indeed...

Pushed as https://github.com/bugaevc/wl-clipboard/commit/e8082035dafe0241739d7f7d16f7ecfd2ce06172 with a couple of tweaks, thanks!

Hi, why do you think this is a bug in wl-clipboard? wl-clipboard is just copying that MP4 video, which apparently Discord, Telegram, Chrome, and Firefox don't know how to paste....

On compositors that do expose data-control, the OG C wl-clipboard shouldn't be spawning a window either. Please attach `WAYLAND_DEBUG=1` logs.

> Logs with WAYLAND_DEBUG=1 I'm not seeing wlr-data-control exposed. https://invent.kde.org/plasma/kwin/-/commit/764b7230be77c49c9f37fe13a202930e4b59bb6e looks relevant. You should try either reverting that patch, or making sure you have https://github.com/bugaevc/wl-clipboard/commit/091d6028b5c9db75ad36f9fceb0db3ee718045fa.

What's breaking your tool is https://invent.kde.org/plasma/kwin/-/commit/764b7230be77c49c9f37fe13a202930e4b59bb6e, but yes, I hope to get a new release out some time soon.

Hi, if you're copying from Discord and pasting into a text editor, how is wl-clipboard involved in this at all?

> 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...

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...