Closed sodiboo closed 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?
Oh, i see! This is a duplicate issue then.
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:
wev
on Computer A (which one is A or B is arbitrary)Super+Up
on Computer A keyboardwev
receives just aSuper
keypress. TheUp
is eaten by niri.keyboard-shortcuts-inhibit
on B andvirtual-keyboard
on A)wev
receivesSuper+Up
Super+T
and notice that in one case a terminal opens, and the other wev just receives the keypress.virtual-keyboard
System Information