Touch device (Windows 64 bit) 2 in 1 PC (convertible).
When in a Widget’s mouseUp() callback handler you call isMouseOver(true) you receive:
- true when using a physical mouse (and the pointer is on the widget)
- false when you use the touch display (and your finger is on the widget when you lift it up)
If you move the mouse pointer over the widget and then touch and lift your finger then isMouseOver(true) gives back true.
How am I supposed to test if the user has lifted up the finger over the widget it has clicked (= touched) a moment before?
Although I was extremely careful of NOT moving the finger in between the press (touch) and the release (lift), I have also tested isMouseOverOrDragging(true), just in case. The result is always the same: false is returned.
It seems to me a juce bug. Or not?