From owner-freebsd-x11@freebsd.org Thu Apr 15 07:53:13 2021 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F3E1D5E3CFB for ; Thu, 15 Apr 2021 07:53:12 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FLWmR5ChYz3J5P for ; Thu, 15 Apr 2021 07:53:11 +0000 (UTC) (envelope-from ronald-lists@klop.ws) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=klop.ws; s=mail; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Message-ID :Subject:From:To:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=2ea398+eH5R+JTTP4yddzgCKqPvTC2N7AuWV+ZV0b3A=; b=t8GpwRurMOgBbXDi9RK4da7mvn mURQWUVqDGGVJABRyK2Qma5jQUdesktqUD37khSDYdmWJ9DIAkzFp48tyjeXNJG7MmgpCeALxnLJH zZneWdBzdmRuhRYKIa6vjxZc8FDbcXuO6ezTHLBBh8luoDSiwrTXxix8gtxYBnQijIdE=; To: "freebsd-x11@freebsd.org" From: Ronald Klop Subject: mouse scrolling activates back/forward in browser Message-ID: Date: Thu, 15 Apr 2021 09:53:02 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.greenhost.nl X-Spam-Level: / X-Spam-Score: -0.4 X-Spam-Status: No, score=-0.4 required=5.0 tests=ALL_TRUSTED, BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF autolearn=disabled version=3.4.2 X-Scan-Signature: 44913c037030bfdc2fffdd6bf597d405 X-Rspamd-Queue-Id: 4FLWmR5ChYz3J5P X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=mail header.b=t8GpwRur; dmarc=pass (policy=none) header.from=klop.ws; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 195.190.28.88 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[klop.ws:s=mail]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.190.28.64/27]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[klop.ws:+]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,none]; RCVD_IN_DNSWL_NONE(0.00)[195.190.28.88:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_VERYGOOD(0.00)[195.190.28.88:from]; ASN(0.00)[asn:47172, ipnet:195.190.28.0/24, country:NL]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-x11] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2021 07:53:13 -0000 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 button 8 and 9. I see it generating a ButtonPress 8/9 if I go down and than up. And a ButtonRelease 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. https://lists.freebsd.org/pipermail/freebsd-ports/2020-March/117879.html But didn't have time to look into it. Any thoughts or similar experiences? Regards, Ronald. 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