In slint I have tried ``` TouchArea { pointer-event(event) => { if (event.button == PointerEventButton.left) { debug("left click"); } if (event.button == PointerEventButton.middle) { debug("tets click"); } if (event.button == PointerEventButton.right) { debug("Right click"); } } } ``` and on each button press Im getting only left click even when I press the right button or middle button it still prints left click
Activity
dotsem commentedon Jun 6, 2026
Good catch! This is because we are currenlty only passing the left mouse button to slint on any press/release event:
Spell/spell-framework/src/wayland_adapter/win_impl.rs
Lines 345 to 376 in e274e1e
I'll look into this.