On Mon, 30 Oct 2023 at 14:06, Neil C Smith <[email protected]> wrote: > On Mon, 30 Oct 2023 at 13:51, Laszlo Kishalmi <[email protected]> > wrote: > > can confirm that mouse wheel left/right is button 4/5 on my mouse on linux > > (swing event numbers, which are not the button numbers i see via piper or > > xev) > > > > I can confirm on both X11 and Wayland. Horizontal wheels, two finger > > scrolls on touchpad are converted to 4/5 (left/right) buttons. Back/forward > > is 6/7 (even on my TrackMan Marble, I dug up from the bottom of an old > > wires box). > > > > Proposed patch: https://github.com/apache/netbeans/pull/6636 > > Thanks for taking a look and confirming those values. I've been tied > up the last few days but had started looking at a fix. I think we > should handle in the mouse event handler, though, before it gets to > the utilities method.
Had a look at fixing this in the handler - https://github.com/apache/netbeans/pull/6644 What do you think? I do think we should consider if we want to map horizontal scroll in future, but should probably be in a uniform way across OS? I've added ci:dev-build to this PR to aid with testing. Some testing on Windows and macOS would be appreciated. Unfortunately I'm away from my machines with those OS this week. Patrik, would also be good to get confirmation that that build doesn't exhibit the problems you've described! Thanks, Neil --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
