bugaevc / wl-clipboard

Command-line copy/paste utilities for Wayland
GNU General Public License v3.0
1.62k stars 60 forks source link

"[src/mainloop.c:875] application has closed" message on wl-copy exit #140

Closed Yutsuten closed 2 years ago

Yutsuten commented 2 years ago

I am probably missing something, so there is a big chance that it is not a bug. Sorry for my ignorance in advance.

I installed wl-clipboard in a remote linux server building it by myself (used the instructions in the README), and I'm sharing the remote clipboard with my local machine using waypipe. It is working.

The problem is that after I copy something else into my clipboard, a previous wl-copy will spawn a message to my console.

S1991863: 36.422916 [src/mainloop.c:875] application has closed

So if nvim is opened at this moment, the layout gets broken and it is annoying. There is any way to prevent this message from appearing in my screen?

YaLTeR commented 2 years ago

That does not sound like wl-copy. For one, there's no src/mainloop.c.

Yutsuten commented 2 years ago

Indeed. It is waypipe who is writing this message to my console. source I'll look for a way to silence it and write here in case anyone else falls in this issue.

YaLTeR commented 2 years ago

Alright, thanks!

Yutsuten commented 2 years ago

I created an issue in waypipe's repository: https://gitlab.freedesktop.org/mstoeckl/waypipe/-/issues/62

ghost commented 2 years ago

(Sorry for the offtopic, but I don't want to create an account on the freedesktop.org GitLab because I'm lazy) @Yutsuten you can get rid of the issue by commenting out that line 875 in the Waypipe source code and recompiling it.

Yutsuten commented 2 years ago

I thought of that too, and indeed it will solve the problem for me. I'd like to fix the issue upstream too.