https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297974

            Bug ID: 297974
           Summary: x11-toolkits/wxgtk32: middle button and mouse wheel
                    events not reported
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://repo.or.cz/wxwidgets-mouse-test.git
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to