smile icon indicating copy to clipboard operation
smile copied to clipboard

Use Wayland-native features if on Wayland

Open ThatOneCalculator opened this issue 1 year ago β€’ 5 comments

Currently, this is useless for people not on X11 or GNOME. Wayland compositors support wtype for automatically typing selected characters, or wl-copy for copying characters.

ThatOneCalculator avatar Jan 19 '24 00:01 ThatOneCalculator

The "wayland way" you are probably talking about is this protocol: https://wayland.app/protocols/virtual-keyboard-unstable-v1

Which, by the way, is not supported by most of wayland compositors.

Both wtype and wl-copy are two indipendent projects which are not part of the protocol

mijorus avatar Jan 23 '24 08:01 mijorus

This should NOT be closed as completed given the broken behavior is still present. Even if they're not part of the protocol, they support all major compositors, which GNOME extensions don't.

ThatOneCalculator avatar Mar 11 '24 20:03 ThatOneCalculator

This should NOT be closed as completed given the broken behavior is still present. Even if they're not part of the protocol, they support all major compositors, which GNOME extensions don't.

I will add this feature when there will be a wider adoption of these protocols

mijorus avatar Mar 11 '24 20:03 mijorus

So you're fine with keeping your app unusable for everyone on Wayland that isn't on GNOME?

ThatOneCalculator avatar Mar 11 '24 21:03 ThatOneCalculator

https://gitlab.freedesktop.org/libinput/libei

This is probably what we need, I'm reopening this for future development

mijorus avatar Mar 12 '24 07:03 mijorus