From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mickey Petersen Newsgroups: gmane.emacs.bugs Subject: bug#58980: 29.0.50; Mouse wheel scroll twitches up sometimes when I scroll down Date: Wed, 2 Nov 2022 16:20:40 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9331"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 To: 58980@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 03 07:48:34 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oqU1h-0002Az-DU for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Nov 2022 07:48:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqU1N-0004DE-HW; Thu, 03 Nov 2022 02:48:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqU1G-00048Y-1U for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 02:48:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oqU1D-0003LW-Sb for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 02:48:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oqU1D-0004Kg-PA for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 02:48:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mickey Petersen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Nov 2022 06:48:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58980 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166745802916428 (code B ref -1); Thu, 03 Nov 2022 06:48:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Nov 2022 06:47:09 +0000 Original-Received: from localhost ([127.0.0.1]:47650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqU0J-0004Gn-Rm for submit@debbugs.gnu.org; Thu, 03 Nov 2022 02:47:09 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:52828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqGYq-00035E-IG for submit@debbugs.gnu.org; Wed, 02 Nov 2022 12:25:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqGYq-0005pM-7P for bug-gnu-emacs@gnu.org; Wed, 02 Nov 2022 12:25:52 -0400 Original-Received: from mail-cwlgbr01on0712.outbound.protection.outlook.com ([2a01:111:f400:fe14::712] helo=GBR01-CWL-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqGYn-00034m-P1 for bug-gnu-emacs@gnu.org; Wed, 02 Nov 2022 12:25:51 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WZ4ziAV4ORFjN4G/4rYm48WsY6TL1rP00vDtK5yCDZGp3PDeOin2t7jhyO8wNyA2eQrwP4TayC6U5Rxeb+7fU6PAYQhtqORDchcp9xRFhprE1GBOYPbFO9s+KIdBr1YHUuJip+vW6E4VqEin1A8RNSIAMSzNa62u+el9yQaLOaVRpHurG8cxmcyRPGbnp7atmTIxU1pE6L9xsFMhU88HbqSsX3VOwWvb+/lUF0ynD4mwRZLIkK+3yP/ZfYXwLoVdgSydmnA134cXtPuLv/p/OjTY2CAh6iF/7L2ABi+Gw1fd8juT39dZJRWS1t5ax6OSK1bSJxV3b6SIt+Eypo1eOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UFYJX6Wj20WAU8gnT6/Lw4Uvm9RKaU4h20Ln9YT9bzg=; b=P1zu/S3ubMO3D8J6hhOTc9FQ7YXZVGtcDZIsqwxx2ftXb7ong7fZ/L1iOoErchlggX0kCnUAiCL8/qcb0PKuZGBJmyxyU4PyMzAZ7P6rEr376aQzfzYPh/FduZUC/JtSDuQmSGWOTUW+rswSsabPbLk46StQY3pdpVCts7U7aCIGNWeeGJpU2uCsZhwWpmLpWWBSXbM+svCtEzhO4RW1pGekEpi6pclNSlNpTq7Srh9DmvNIE02sJtaHSQ2+QvbMTt4LWx1kLupkFpEzz32e6HDys0E53OHHRlcauIdcbkwCZ1dymr9vABKeszvUfsmfoOlXy1VAsB6Sdtxba4bmeg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 178.79.136.144) smtp.rcpttodomain=gnu.org smtp.mailfrom=fyeah.org; dmarc=pass (p=none sp=none pct=100) action=none header.from=fyeah.org; dkim=pass (signature was verified) header.d=fyeah.org; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semantical.onmicrosoft.com; s=selector1-semantical-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UFYJX6Wj20WAU8gnT6/Lw4Uvm9RKaU4h20Ln9YT9bzg=; b=DVfj/6AaxeYPamllsHt2mFkvC7rt79Hew5wbf+dAWt8P+NkremzaF5qX7ehZTF3k3BuX0A/ZzUGIsw55pFhkQJGpfnaBqMgb6j+4fvZACqhmknOwARaAuEaUEq1TtfGrcyG1H+o8wW3iiKW0VQpfSPFXeXvVloIn4wYoXc/EGI4= Original-Received: from CWLP265CA0399.GBRP265.PROD.OUTLOOK.COM (2603:10a6:400:1d6::21) by LO0P265MB6598.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2fd::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.20; Wed, 2 Nov 2022 16:20:45 +0000 Original-Received: from CWLGBR01FT036.eop-gbr01.prod.protection.outlook.com (2603:10a6:400:1d6:cafe::94) by CWLP265CA0399.outlook.office365.com (2603:10a6:400:1d6::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.19 via Frontend Transport; Wed, 2 Nov 2022 16:20:45 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 178.79.136.144) smtp.mailfrom=fyeah.org; dkim=pass (signature was verified) header.d=fyeah.org;dmarc=pass action=none header.from=fyeah.org; Received-SPF: Pass (protection.outlook.com: domain of fyeah.org designates 178.79.136.144 as permitted sender) receiver=protection.outlook.com; client-ip=178.79.136.144; helo=semantical.co.uk; pr=C Original-Received: from semantical.co.uk (178.79.136.144) by CWLGBR01FT036.mail.protection.outlook.com (10.152.40.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.20 via Frontend Transport; Wed, 2 Nov 2022 16:20:44 +0000 Original-Received: by semantical.co.uk (Postfix, from userid 5001) id D0A66114002; Wed, 2 Nov 2022 16:20:43 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fyeah.org; s=fyeah.org; t=1667406043; bh=Yp5W+d7yO20u/6nP7ZM/+4l6NV+1CdgMCtCn0kFm3eo=; h=Date:To:From:Subject:From; b=LTSTIXpflOCNP5F8qQyKvfHJJ869IlKrrDT0HGhZPod8vP6ah2R/R8MAX2M6FSyUg xKX5pa+iJEcBTyY2Ne1QEmF3lHQZmyBVw45YyPLcrCI48M+BDf54gqHrWclx+eE39F qh3G8WZgYEwLxvm2YoYeelqXtNxXt5YH/1Ud2qcM= Content-Language: en-GB X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CWLGBR01FT036:EE_|LO0P265MB6598:EE_ X-MS-Office365-Filtering-Correlation-Id: e0dfc6ed-c508-4fe6-c218-08dabcee3152 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: S8ff29Xvr4l1H8Z3+yflxZpWhZvGpVZs7pJ8Tr9KKmAkFhDlYkBLcOW3012A6a94XIr8oXi42OdcnpnLYz17WpGgtjBfbWKtHbe/qkQkXbtRTvbGq+KLSJWux4f1BDuRQ+Hc7Kf/AvtUoAKA0zxIZ1rAT0Ot7k88bP9M1gEwai8/3Z5S/5TJtTd7j1XR9eqfIVVdHzPgMn5RHNondrAX40ATaYpLkETTn71WDbTtmvVKpLk+1rLJ8XRIlOfLp94Y87cy+1dhvf4IBWnDwPkQ6z5pIXCsjpRtArti/XZX/YdGVBLxiRWTdSFCSZgXyfBYSg71/YXg+TNrMQ0pJLuhJW32PwBsNuz2fbLjlEodxdkZjToCY1047xJKgksJbJaDLsCbAJK1kVpYO/DCuZrw1xP6ccL0iY6lKmE/lvGRCwUfWOWnrgw2UOgaI3t88AcaFRaWwWQwGHLlpcCj4jaKP5yZn307fiocyRSn7VPziwRPmpxMlQ5XuI3KiRO6e4wqnzR+fWumH5y1fVIG8RKGNr4dJ2b6qyJAUVG/FNet19L8SMj/JmoeBKDhrpEU2wAjmzvwooqXQlPSo6lnQDQN0H/gqILF88vM2jddvKMCtYs6tVZ+gv0VXOX+Bn+Nzq+ftP/vhLXaj8TKgLh/XcVFmMHbaI4Ek7y0afuzJ/mxFGY4pREIMJGsuABBA/nw5qlHpOMiqf5uvFb21LYnm9YOpSMxjm4m00CQ21Wsx0WjreUPExw9EVtyE1jC69S98 a/d3rOGE8OBehTJZMeike3ku/+vdhY4LF6l/bOliGAvZk/zlsNSQGCbGaKj2i7pJmhTKkLJp8g96e1YKLNGvWrJ/SDPiF5Ny+5 X-Forefront-Antispam-Report: CIP:178.79.136.144; CTRY:GB; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:semantical.co.uk; PTR:semantical.co.uk; CAT:NONE; SFS:(13230022)(376002)(396003)(346002)(39830400003)(136003)(451199015)(46966006)(36840700001)(31686004)(83380400001)(186003)(47076005)(41300700001)(8936002)(356005)(7636003)(5660300002)(7596003)(6266002)(36756003)(70586007)(2906002)(316002)(70206006)(8676002)(4001150100001)(36860700001)(2616005)(40480700001)(42186006)(82310400005)(336012)(26005)(6916009)(86362001)(31696002)(478600001)(38230200001)(79816003)(14776008)(43740500002); DIR:OUT; SFP:1102; X-OriginatorOrg: fyeah.org X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2022 16:20:44.0998 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e0dfc6ed-c508-4fe6-c218-08dabcee3152 X-MS-Exchange-CrossTenant-Id: a4e27e3d-bab0-45e8-8942-e64cf9fbd34f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a4e27e3d-bab0-45e8-8942-e64cf9fbd34f; Ip=[178.79.136.144]; Helo=[semantical.co.uk] X-MS-Exchange-CrossTenant-AuthSource: CWLGBR01FT036.eop-gbr01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO0P265MB6598 Received-SPF: pass client-ip=2a01:111:f400:fe14::712; envelope-from=mickey@fyeah.org; helo=GBR01-CWL-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 03 Nov 2022 02:47:05 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246921 Archived-At: Note: I'm using the tree-sitter branch, but the issue also appears in the master branch. Emacs 28.x works fine. When I scroll down with my mouse wheel -- typically after an existing window has changed buffers, such as after selecting (via keyboard or mouse) an Info manual node -- the scroll action sometimes (but not always) jerks upwards several lines. I can then keep scrolling and it'll start scrolling down again. This may sometimes happen after scrolling for a little while, and sometimes not at all. It's hard to reproduce; but the issue affects a baseline Emacs build (-Q or -q) and only sometimes. I had a look in the bug tracker for `scroll' and found nothing. I also checked `M-x customize-changed' to look for likely culprits. I found nothing that may cause this behaviour, beyond pixel scrolling, which seems like a smoking gun to me, but it's off by default in emacs -Q. 1. Is it possible there are changes the scrolling code that is active even when that mode is not? 2. Could there be some sort of variable that determines scroll direction that, somehow, gets confused? Thanks. Mickey. In GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version  3.24.20, cairo version 1.16.0) of 2022-10-28 built on mickey-work Repository revision: 629f222ba2abf5a149c381e27c89e88963f7466d Repository branch: feature/tree-sitter Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Ubuntu 20.04.3 LTS Configured using:  'configure --with-mailutils --with-imagemagick --with-json  --with-xwidgets --with-native-compilation --without-compress-install  --with-tree-sitter' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE-SITTER X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB Important settings:   value of $LC_MONETARY: en_GB.UTF-8   value of $LC_NUMERIC: en_GB.UTF-8   value of $LC_TIME: en_GB.UTF-8   value of $LANG: en_GB.UTF-8   value of $XMODIFIERS: @im=ibus   locale-coding-system: utf-8-unix Major mode: Info Minor modes in effect:   tooltip-mode: t   global-eldoc-mode: t   show-paren-mode: t   electric-indent-mode: t   mouse-wheel-mode: t   tool-bar-mode: t   menu-bar-mode: t   file-name-shadow-mode: t   isearch-fold-quotes-mode: t   global-font-lock-mode: t   font-lock-mode: t   blink-cursor-mode: t   buffer-read-only: t   line-number-mode: t   indent-tabs-mode: t   transient-mark-mode: t   auto-composition-mode: t   auto-encryption-mode: t   auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils mule-util info edmacro kmacro tutorial time-date cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cconv cl-lib rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads xwidget-internal dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 106055 14079)  (symbols 48 7684 0)  (strings 32 24382 2092)  (string-bytes 1 692381)  (vectors 16 16014)  (vector-slots 8 280598 15332)  (floats 8 92 262)  (intervals 56 4484 0)  (buffers 1008 13))