From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#57020: 29.0.50; Mouse wheel stops working Date: Mon, 08 Aug 2022 10:36:23 +0800 Message-ID: <87iln3sbq0.fsf@yahoo.com> References: <87sfm9q90n.fsf@web.de> <87sfm83jfm.fsf@yahoo.com> <87o7wwrel2.fsf@web.de> <877d3k3h33.fsf@yahoo.com> <87zggfv6ma.fsf@web.de> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33457"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 57020@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 08 04:37:52 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 1oKseO-0008YO-14 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Aug 2022 04:37:52 +0200 Original-Received: from localhost ([::1]:43970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKseN-0001qc-1C for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Aug 2022 22:37:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKsda-0000vu-PS for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2022 22:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKsda-00072g-G5 for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2022 22:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKsda-0005UY-CP for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2022 22:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Aug 2022 02:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57020 X-GNU-PR-Package: emacs Original-Received: via spool by 57020-submit@debbugs.gnu.org id=B57020.165992620421073 (code B ref 57020); Mon, 08 Aug 2022 02:37:02 +0000 Original-Received: (at 57020) by debbugs.gnu.org; 8 Aug 2022 02:36:44 +0000 Original-Received: from localhost ([127.0.0.1]:38675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKsdI-0005Tn-G5 for submit@debbugs.gnu.org; Sun, 07 Aug 2022 22:36:44 -0400 Original-Received: from sonic303-20.consmr.mail.ne1.yahoo.com ([66.163.188.146]:35264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKsdG-0005TS-AI for 57020@debbugs.gnu.org; Sun, 07 Aug 2022 22:36:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1659926194; bh=q2fcWhQl4J0zrbimzXJHYnAF6cFRvhfx2MXmaCMxvlc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=TIJppM93ebn7l6GRjObowbJ9Qi0SP/AGdqsM/Dsx+2MhaaCuwjl4ZazeRmk4Z3BUNut5B3zUKLlUTqodVFWY0t6k9JCwqlTGExsPCvq6VLEf3xvL4THDx41z4ZsyNhEevcyEJ1K5Ij7XePbUTSqxk/y7fNTcYv0jOJaPjKhblTgM41Q42TOa3MdJx+WZLWuQzNw9mXy0p92O066KUj8Au0aXl/u3N1wSUPbea9X4J+HH9V5l5ZoXUkVQLzygFRGEJc60OxxrL1eSklF+25luD+Tz/EOC/ACXFzBsKki/Cz4+t9yYpVfRu+MClsPoNCwrw1RkeE676R/+PR4e17ZLtQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1659926194; bh=g7p7O4VIejmf8bCORwzmMN0iCmOKTPzxy6kQUwDNeyM=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Kygns21xYz4EtpQ+XDcp/JD83W1H5BQxGM+Ki+3EJdrdkV/rtMktNxC3XVW5oS+HVs1s/euarvIudc5dUhFlpidzd2SeJU2xvJF0GgdPnPJ7yWnbyfpn16G3L1JhMfL5jr7aGY6bafxpjYfORpiXMUX88iK+kwwIe+ilUDzDQ4L2VZO8HpxvLhz+nsJ22hLTX4eryt3q7WZ56H39Bmelm/MkyGLPj1FV/FVBKIS3moVZBOWAdAIvP1iLcgKbyhMHHosiVKPERK3A3adoYxZCy7nD3XRvJ+GHnQdSPiFAdVUQT8kenjikp3o40nbcbc0hwiuGS1boQSYTYAg71aomJw== X-YMail-OSG: pi.0accVM1lz8jSBRt4DAsZGM.UsaNdkCgvgYAq8Yn1HaGO9Np8u8kEfRTr8AwD sEjXuHo3lhk8WbaLlu55qiEKeozgVBGuCB8SzBtF08cNYKthGbeZeA8XSGhBJgfJGTMpkqAh3HCi dIXbKHuJBv4OO3ZYvuNBDBAQE364L2DFCBfi.50Ny4h3evCBWVRYnjUY7732FZmakI2iAIOuGlhN 4cczOVB26kVgY6OvB6Ez030TyKvxWDo6DUhwTFj1rB_msZ1Zxol8Ju.MNijzIe5Igc97a94gFlW8 YGUl6UyxUlC7PnpEEqev01AUrh3gS3Sin_yTP1RNwi0vy4yVLNKkzPimDH_QdlPFlRGqqxYWydg3 7fhvyXuQaISSU_DBY4xnz6QrYkk4hBxFqVekZvKX7HsUCn1biwxTJzQDCK_iKHSlvmh20ylwpYbB 0iwEu_GNjIrgjzQC4CUsZ8txHorEMxgrjenXiyLhOb093b3ETbR3NgW5mY0r5w3elXgLmmSKkGN1 Vd60afZjRWir1YFd.HQ56vUIB1ehHVBYaVZw4hl.m2Zd4JX9V.wwwugVHBclIFw2kK03CxaI9YU2 dcDAR5TjUyQT08ZJZ8d3Du3G2i557c8oVbjkqEdqTZHwwokVxRX9wHFyZSDGj1ibi1IKwM1Qusa_ Y7B5cZBxRYQHSzKsIhB52toLUJiy9JFEUghAtGCOxHBA1f2gcw1tLJ86oA95tkOk0xSMgFeNMocP TqhaudYqHQvpoE0OhO8daeXROm7mr02IpeOhrVbe_59P_YzmdaFiLD.iATuZ2_BdpXE2nYcOaGxe S2ycGxc5AGBQWH_lU0ZJ.jWeAvO71fBSbFwglE_QNJ X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Mon, 8 Aug 2022 02:36:34 +0000 Original-Received: by hermes--canary-production-sg3-6f58cd9b5-fnk8z (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 207ee326aa599ba9b52e02776489a6d5; Mon, 08 Aug 2022 02:36:30 +0000 (UTC) In-Reply-To: <87zggfv6ma.fsf@web.de> (Michael Heerdegen's message of "Mon, 08 Aug 2022 03:58:21 +0200") X-Mailer: WebService/1.1.20491 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:239094 Archived-At: Michael Heerdegen writes: > Po Lu writes: > >> printf ("%g\n", delta); >> >> afterwards? Then, please see if any (and what) values are printed once >> the mouse wheel stops working. > > Short answer: nothing is printed. > > Before the issue starts happening, I see -1 and +1 for each wheel > "click" and lots of 1.79769e+308 values when moving the mouse. > > Once scrolling stopped working, mouse wheel turning leads to no output > any more (but the 1.79769e+308 values are still printed). > > What I was also noticing: when turning the mouse wheel over the scroll > bar, there is a visual feedback: it looks like the scroll bar would lead > to a scroll (the bar moves), but scrolling is not happening, the buffer > text stands still. Also that is happening without output for DELTA. > > Michael. Hmm, thanks. Could you also add the following instrumentation to that code, like such: device = xi_device_from_id (dpyinfo, xev->deviceid); if (!device) { fprintf (stderr, "device not found, %d\n", xev->deviceid); goto XI_OTHER; } and see if that is ever printed when wheel movement stops working?