https://kotlinlang.org logo
Title
z

Zach Klippenstein (he/him) [MOD]

11/06/2020, 6:30 PM
Compose desktop has what seem to be low level apis for detecting mouse pointer enter/exit. I believe, based on comments in various CLs, that there are plans to support pointers on android as well, since it is possible to use a mouse on android (both on android devices and chrome os). Enter/exit seems like it should usually be handled via an ‘InteractionState’ for “hover”. Is this sort of thing in the works?
👀 3
j

jim

11/06/2020, 6:59 PM
cc @Shep Shapard @matvei
m

matvei

11/09/2020, 12:09 PM
Thanks Zach!
Enter/exit seems like it should usually be handled via an ‘InteractionState’ for “hover”
It will be indeed handled by the InteractionState to react on the hover. This is the last missing general interaction. But we need the mouse basic machinery first.
Is this sort of thing in the works?
This work is planned and we want to end up with the common API surface for that, but we have no any ETA yet 🙂 Maybe Shep can add more details if you're interested
z

Zach Klippenstein (he/him) [MOD]

11/09/2020, 2:54 PM
Always interested, but that already satisfies my curiosity. Thanks!
👍 1
o

orangy

07/16/2021, 8:06 PM
Any progress on
Interaction
for hovering?
👍🏼 1
👍 2
j

jim

07/16/2021, 11:36 PM
Timeline for this has been hard to predict. Shep ended up transferring to a different team. We've been trying to push this forward, but an onslaught of other priorities have sidetracked everyone. I think George is looking into it right now (as of earlier today), and I hear there is a giant CL in progress, but mouse input appears to be haunted, so it's hard to predict until it has landed.
:tnx: 2
👻 1