Date: Thu, 15 Apr 2021 21:11:12 +0200 From: Michael Gmelin <freebsd@grem.de> To: Ronald Klop <ronald-lists@klop.ws> Cc: freebsd-x11@freebsd.org Subject: Re: (solved) Re: mouse scrolling activates back/forward in browser Message-ID: <6FC4DD6A-188F-44C3-87EF-CF008A463FB6@grem.de> In-Reply-To: <717e4ad7-07f5-c5fa-9f16-832eb724dc48@klop.ws> References: <717e4ad7-07f5-c5fa-9f16-832eb724dc48@klop.ws>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 15. Apr 2021, at 20:54, Ronald Klop <ronald-lists@klop.ws> wrote: >=20 > =EF=BB=BFOn 4/15/21 9:53 AM, Ronald Klop wrote: >> Hi, >> When I use the scrollwheel of the mouse my browser triggers back/forward.= What happens is this: >> If I scroll up (button 4) after scrolling down (button 5) it triggers but= ton 8 and 9. >> I see it generating a ButtonPress 8/9 if I go down and than up. And a But= tonRelease 8/9 if I first go up and than down. >> I have no config in /etc/X11. Xorg logs: https://www.klop.ws/Xorg.0.log >> This happens on the trackpad of the laptop and with a bluetooth connected= mouse. >> What makes it a little more complex is that this is running FreeBSD 14 in= VirtualBox on Windows 10 with. NB: It happened in Virtualbox 5 and now in 6= also. >> This started around a year ago. That=E2=80=99s because we switched to udev/libinput by default around that t= ime. >> https://lists.freebsd.org/pipermail/freebsd-ports/2020-March/117879.html B= ut didn't have time to look into it. >> Any thoughts or similar experiences? >> Regards, >> Ronald. >=20 >=20 > Some more googling found this: https://forums.freebsd.org/threads/mouse-wh= eel-strange-behavior-with-firefox.57494/ >=20 > Just removed button 8 and 9. > xmodmap -e "pointer =3D 1 2 3 4 5 6 7 0 0 10 11 12" >=20 > Still don't understand the root cause of this, but this helps a lot. >=20 Could you share the output of: - libinput list-devices - xinput list Then, for each mouse device shown by `xinput list', the output of `xinput li= st-props <device>'. (xinput run in a xterm or similar using some utf-8 locale, e.g. LANG=3Den_US= .UTF-8). And just to be sure, double check which config files exist in /etc/X11 and /= usr/local/etc/xorg.d. Best, Michael > Regards, > Ronald. >=20 >=20 >> Output of xev: >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> root 0x51d, subw 0x3200002, time 183573903, (25,45), root:(968,1279), >> state 0x1000, button 5, same_screen YES >> LeaveNotify event, serial 38, synthetic NO, window 0x3200001, >> root 0x51d, subw 0x0, time 183573903, (25,45), root:(968,1279), >> mode NotifyUngrab, detail NotifyInferior, same_screen YES, >> focus YES, state 0 >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> root 0x51d, subw 0x3200002, time 183575432, (25,45), root:(968,1279), >> state 0x0, button 5, same_screen YES >> EnterNotify event, serial 38, synthetic NO, window 0x3200001, >> root 0x51d, subw 0x0, time 183575432, (25,45), root:(968,1279), >> mode NotifyGrab, detail NotifyInferior, same_screen YES, >> focus YES, state 4096 >> KeymapNotify event, serial 38, synthetic NO, window 0x0, >> keys: 29 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> root 0x51d, subw 0x3200002, time 183575432, (25,45), root:(968,1279), >> state 0x1000, button 5, same_screen YES >> LeaveNotify event, serial 38, synthetic NO, window 0x3200001, >> root 0x51d, subw 0x0, time 183575432, (25,45), root:(968,1279), >> mode NotifyUngrab, detail NotifyInferior, same_screen YES, >> focus YES, state 0 >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> root 0x51d, subw 0x3200002, time 183576483, (25,45), root:(968,1279), >> state 0x0, button 4, same_screen YES >> EnterNotify event, serial 38, synthetic NO, window 0x3200001, >> root 0x51d, subw 0x0, time 183576483, (25,45), root:(968,1279), >> mode NotifyGrab, detail NotifyInferior, same_screen YES, >> focus YES, state 2048 >> KeymapNotify event, serial 38, synthetic NO, window 0x0, >> keys: 29 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> root 0x51d, subw 0x3200002, time 183576483, (25,45), root:(968,1279), >> state 0x800, button 4, same_screen YES >> LeaveNotify event, serial 38, synthetic NO, window 0x3200001, >> root 0x51d, subw 0x0, time 183576483, (25,45), root:(968,1279), >> mode NotifyUngrab, detail NotifyInferior, same_screen YES, >> focus YES, state 0 >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> root 0x51d, subw 0x3200002, time 183576483, (25,45), root:(968,1279), >> state 0x0, button 8, same_screen YES >> EnterNotify event, serial 38, synthetic NO, window 0x3200001, >> root 0x51d, subw 0x0, time 183576483, (25,45), root:(968,1279), >> mode NotifyGrab, detail NotifyInferior, same_screen YES, >> focus YES, state 0 >> KeymapNotify event, serial 38, synthetic NO, window 0x0, >> keys: 29 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >> $ xev | grep -i button # for a shorter list >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 5, same_screen YES >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> state 0x1000, button 5, same_screen YES >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 5, same_screen YES >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> state 0x1000, button 5, same_screen YES >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 5, same_screen YES >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> state 0x1000, button 5, same_screen YES >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 5, same_screen YES >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> state 0x1000, button 5, same_screen YES >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 4, same_screen YES >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> state 0x800, button 4, same_screen YES >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 8, same_screen YES >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 9, same_screen YES >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 4, same_screen YES >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> state 0x800, button 4, same_screen YES >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 4, same_screen YES >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> state 0x800, button 4, same_screen YES >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 4, same_screen YES >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> state 0x800, button 4, same_screen YES >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 4, same_screen YES >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> state 0x800, button 4, same_screen YES >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 4, same_screen YES >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> state 0x800, button 4, same_screen YES >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 4, same_screen YES >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> state 0x800, button 4, same_screen YES >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 5, same_screen YES >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> state 0x1000, button 5, same_screen YES >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 8, same_screen YES >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 9, same_screen YES >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 5, same_screen YES >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> state 0x1000, button 5, same_screen YES >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 5, same_screen YES >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> state 0x1000, button 5, same_screen YES >> ButtonPress event, serial 38, synthetic NO, window 0x3200001, >> state 0x0, button 5, same_screen YES >> ButtonRelease event, serial 38, synthetic NO, window 0x3200001, >> state 0x1000, button 5, same_screen YES >> _______________________________________________ >> freebsd-x11@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-x11 >> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >=20 > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6FC4DD6A-188F-44C3-87EF-CF008A463FB6>