Gtk.GestureDrag ends on drag-update when using mouse buttons 2 & 3 (wheel and right buttons)
Minimal Js Example here: https://gitlab.gnome.org/-/snippets/5354
GTK version: 4.8.3
Steps to reproduce using demo above:
- launch the demo: gjs -m gesturedrag.js
- press and hold left mouse button in the application window
- move the mouse
- note console window output for drag-update events
Repeat steps above using mouse buttons 2 & 3 (wheel and right buttons) noting that the drag gesture ends as soon as the mouse moves
Behaviour: Gtk.GestureDrag ends immediately when using mouse buttons 2 & 3 (wheel and right buttons)
Expected Behaviour: Gtk.GestureDrag::drag-update is emitted for mouse buttons 2 & 3. Same as for mouse button 1.
Edited by Daniel Wood