Tracking the gesture outside the widget

Hi again

Another feature/question :

Can you keep track of the touch even outside the widget ? That would be very useful in some use cases like:

  • No spring back to default as long as the finger is still touching the surface, even though it's outside the widget (vs now : springs to default as soon as the fingers goes outside the widget)
  • "True Vertical" mode for Knobs, where you can still increase/decrease the value in the same vertical gesture even if you're moving outside the widget (vs now : increase/decrease stops when you get out of the widget, and you have to either initiate a second vertical gesture or make a circular motion to complete the increase/decrease) (NB: the range of the vertical gesture would ideally be adjustable) (and maybe horizontal mode ?)
  • Also "True Circular" mode for Knobs, where you would press the knob, get outside of it, place your finger in the right circular position, visualizing it on the knob, and release when you're ok
  • A Menu where you can still select the option even though you're outside the menu range (very useful for circular for example)
  • A new "quadrant"/"Circular menu" widget where you would just press the widget, and you would have 4 different gestures and responses depending on where you exit the widget (up/down/left/right) and how far away your finger goes (horizontal/vertical range would be adjustable). For visualization of the range the widget could be a fader or a knob with up/down/left/right choice symbolized by a text on the widget or a color change ...

A benefit of such gestures outside the widget is that you can see the chosen value on the widget as your finger does not stay on top of it (useful for small-sized widgets on cramped surfaces...)
A problem obviously is that gesturing outside the widget would be limited if the widget is close to the edges of the screen.

L01c

That's the default behavior actually, unless one of the widget's ancestors has traversing set to true.

Edit: noted for the circular menu, could be nice indeed.

Damn. Okay, that was the case. Thanks. :yum:

A little experiment with the canvas widget regarding your last point:
anglepicker.json (2.9 KB)