YaLTeR / niri

A scrollable-tiling Wayland compositor.
https://matrix.to/#/#niri:matrix.org
GNU General Public License v3.0
3.83k stars 115 forks source link

binds are not processed for `virtual-keyboard` events #631

Closed sodiboo closed 2 months ago

sodiboo commented 2 months ago

Whilst trying to use a software called lan-mouse, I had to implement some protocols for it to work properly. One protocol i didn't implement was virtual-keyboard. This one seems to be mostly implemented in Smithay, and niri's implementation basically boils down to delegating to Smithay. nonetheless, I haven't investigated the code for this and am not 100% confident that this is surely a Smithay bug. I've only tested it in niri.

You can reproduce the issue like so:

System Information

YaLTeR commented 2 months ago

Someone actually opened an issue for this before: https://github.com/YaLTeR/niri/issues/403

I haven't looked into it yet, not sure whether it is possible to catch those events from Smithay to handle them manually. Or maybe Smithay should send them through the compositor input handling? If so then virtual events should be somehow differentiated I guess so the compositor can ignore specific shortcuts from them?

sodiboo commented 2 months ago

Oh, i see! This is a duplicate issue then.