Unless there are people using this feature and verify that it works, I think we should remove it since its just a burden. With OSC 52 support in the works, accessing the clipboard in GNOME environments should be fine (VTE terminals dont support it, but Ghostty does and its fully GTK so...). The tests on my machine for the focus stealing code don't seem to pass + we can't really test it in a CI environment since it requires certain capabilities on seats. Overall this is pretty much a broken feature in my eyes. Thoughts?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@chrisbra thoughts?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
I thought this was added to work around a limitation where it was not possible for wayland to copy from a different window? Is this no longer an issue then?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
I thought this was added to work around a limitation where it was not possible for wayland to copy from a different window? Is this no longer an issue then?
I'm not sure what you mean by "copy from a different window", but this was added mainly for GNOME environments (Mutter compositor), since it doesn't support the protocols needed to directly access the clipboard. However with OSC 52 in the works, I mostly don't see the benefit of keeping this workaround (it would remove a lot of complexity, possibly unoticed bugs), when a user (in the future) can just use a terminal with OSC 52 support.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
okay fine then
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Related (but indirectly): @64-bitman. Is it correct understood +wayland and +wayland_clipboard is really only for tui vim and no more protocols are planned?
Since the (only) wayland gui (gtk3) has its own wayland compositor and this code is not active during gvim- is it clear enough from naming?
I learnt from the code, but I could see someone being confused if running gvim in wayland, but version said -wayland -wayland_clipboard in red.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Related (but indirectly): @64-bitman. Is it correct understood +wayland and +wayland_clipboard is really only for tui vim and no more protocols are planned?
Since the (only) wayland gui (gtk3) has its own wayland compositor and this code is not active during gvim- is it clear enough from naming?
I learnt from the code, but I could see someone being confused if running gvim in wayland, but version said
-wayland -wayland_clipboardin red.
Yes it is only for the tui. As for protocols, if any relevant ones becoming mainstream, then i will try adding support for it.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()