Bugzilla Automation <[email protected]> has asked freebsd-desktop (Team)
<[email protected]> for maintainer-feedback:
Bug 297974: x11-toolkits/wxgtk32: middle button and mouse wheel events not
reported
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297974



--- Description ---
During testing of deskutils/treesheet I noticed that mouse wheel scrolling does
not work.

Packages installed, FreeBSD 16.0, Xorg with x11-wm/dwm as a window manager (no
"proper" desktop environment)

gtk3-3.24.52                   Graphical UI toolkit (GTK3 library)
wx30-gtk3-3.0.5.1_7            The wxWidgets GUI toolkit with GTK bindings
wx32-gtk3-3.2.8.1_1            GUI toolkit (wxWidgets) with GTK+3 bindings
wx33-gtk3-3.3.3                GUI toolkit (wxWidgets) with GTK+3 bindings

wx33-gtk3 comes from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288467

I have asked perplexity.ai to prepare two programs to reproduce the problem:

https://repo.or.cz/wxwidgets-mouse-test.git

* mouse_events_gtk3 displays mouse events captured by GTK3:

MOUSE: BUTTON_PRESS button=1 at (777, 519)
MOUSE: BUTTON_PRESS button=1 at (777, 519)
MOUSE: BUTTON_RELEASE button=1 at (777, 519)
MOUSE: BUTTON_RELEASE button=1 at (777, 519)
MOUSE: BUTTON_PRESS button=3 at (777, 519)
MOUSE: BUTTON_PRESS button=3 at (777, 519)
MOUSE: BUTTON_RELEASE button=3 at (777, 519)
MOUSE: BUTTON_RELEASE button=3 at (777, 519)
MOUSE: BUTTON_PRESS button=2 at (777, 519)
MOUSE: BUTTON_PRESS button=2 at (777, 519)
MOUSE: BUTTON_RELEASE button=2 at (777, 519)
MOUSE: BUTTON_RELEASE button=2 at (777, 519)
MOUSE: SCROLL_SMOOTH delta=(0,00, 0,00)
MOUSE: SCROLL_DOWN delta=(0,00, 1,00)
MOUSE: SCROLL_SMOOTH delta=(0,00, 0,00)
MOUSE: SCROLL_UP delta=(0,00, -1,00)
MOUSE: SCROLL_SMOOTH delta=(0,00, 0,00)
MOUSE: SCROLL_UP delta=(0,00, -1,00)
MOUSE: SCROLL_SMOOTH delta=(0,00, 0,00)
MOUSE: SCROLL_DOWN delta=(0,00, 1,00)
MOUSE: MOTION at (777, 519) state=0x0

* mouse_events reports the events as reported by wxgtk32:

MOUSE: RIGHT_DOWN at (736, 515) buttons=--R
MOUSE: RIGHT_UP at (736, 515) buttons=---
MOUSE: LEFT_DOWN at (736, 515) buttons=L--
MOUSE: LEFT_UP at (736, 515) buttons=---
MOUSE: MOTION at (737, 516) buttons=---

No events are reported for the M button or the scrolling wheel.

Reply via email to