From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vincent Torri Newsgroups: gmane.emacs.bugs Subject: bug#65360: emacs 29.1 with MSYS2: vertical scrolling with touchpad not working Date: Fri, 18 Aug 2023 21:47:10 +0200 Message-ID: References: <83v8dc52mm.fsf@gnu.org> <83jzts50ep.fsf@gnu.org> <83edk04z5b.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2335"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65360@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 18 21:48:12 2023 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 1qX5S8-0000NZ-4N for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Aug 2023 21:48:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qX5Ry-0000qq-TO; Fri, 18 Aug 2023 15:48:02 -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 1qX5Ry-0000qh-05 for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 15:48:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qX5Rx-0006oB-NU for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 15:48:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qX5Ry-0005dC-8U for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 15:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vincent Torri Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Aug 2023 19:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65360 X-GNU-PR-Package: emacs Original-Received: via spool by 65360-submit@debbugs.gnu.org id=B65360.169238804821454 (code B ref 65360); Fri, 18 Aug 2023 19:48:02 +0000 Original-Received: (at 65360) by debbugs.gnu.org; 18 Aug 2023 19:47:28 +0000 Original-Received: from localhost ([127.0.0.1]:48869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX5RQ-0005Zx-C2 for submit@debbugs.gnu.org; Fri, 18 Aug 2023 15:47:28 -0400 Original-Received: from mail-oo1-xc36.google.com ([2607:f8b0:4864:20::c36]:44488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX5RO-0005Zi-NQ for 65360@debbugs.gnu.org; Fri, 18 Aug 2023 15:47:27 -0400 Original-Received: by mail-oo1-xc36.google.com with SMTP id 006d021491bc7-56d0f4180bbso831039eaf.1 for <65360@debbugs.gnu.org>; Fri, 18 Aug 2023 12:47:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692388040; x=1692992840; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=diJwG9Nf31EbvMTxb2zqMgJiomKtmiiu0BwOChZaC94=; b=UaWSx0Ga+aarCNoh2pedO2au+j33ZBAcYSmSBUqCYupAJuGtrks+JZ61IOENun7Qig iBnAMPDHrHcLCYLM5lVs8zfo1FiUataiwwUiV/ec3hJE1wstfeON6H44b4a4j6Mvhqrs 0Mk7IbunsPRoATyFYmT8Zth4KKmtnIHynUpNzY8tgkgs/+g2Olh9nfYSfeLFMUtzw6xY 8W4VYHiJgT1bjcgJ7ybCTJYyvHzddjMSMqdZmWaizJIlEKs6sKd6W6cFVaUS6EBtCnm+ irdJWHF+bIsY/Ip8CMGmMP8qjMU0NPiPYddwL8aC/7VzXGAyKKlcpdXTMMcxUkuJXIrR lk+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692388040; x=1692992840; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=diJwG9Nf31EbvMTxb2zqMgJiomKtmiiu0BwOChZaC94=; b=Gxkgm4D7K3ESLdcaKoQ+kGLWBw3uf/KTm3to5oWp/W9Xz9O2kf8w7qskqn2Q5sbKdu 4NgQkb5J1Y7bmXElv9TspgCWPkQEULwz0iEuDbiUyzu+s273biwGm78ar4+LXfNlrtXK oGWKq0N8FWEVrsVdcHB2dMrFaZTpfMo7Hc0f4Vva1vM5zJD4YPI/Wj+zeKmkyYIRZlrO eEPwTQEDBrE0rUuc65ONTVD+OVeqXNTFy+v4FjPL+gVWp30k+Y/vONGg+ZVVD3DTIlB1 IvVhWk24doqFZYcaiWqt3kHA6Tnixo0s6nUQbi7W8uoyB6AylwwaF4JL/a7pYQyI1q/n /vUA== X-Gm-Message-State: AOJu0YwHMZPKosdOJqo4WGHv0CAEtcJLTuNbri3/sFy18mMkPIfGZH5X cRlEvC3Y44avTz3fciDfX7IYGH2sI9Fdu9QZKzQ694PPrOU= X-Google-Smtp-Source: AGHT+IF6iNEfjfmKH7B1Ymr7JB/Su3Zz7/eWZ+s9F7SphBQ5UOK9ehGkojcfsmt3v9MVlthontuBFU3r+5vEVU/SDLM= X-Received: by 2002:a05:6870:a552:b0:1b0:17f2:6518 with SMTP id p18-20020a056870a55200b001b017f26518mr207569oal.42.1692388040331; Fri, 18 Aug 2023 12:47:20 -0700 (PDT) In-Reply-To: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267788 Archived-At: On Fri, Aug 18, 2023 at 9:01=E2=80=AFAM Vincent Torri wrote: > > On Fri, Aug 18, 2023 at 8:56=E2=80=AFAM Eli Zaretskii wrot= e: > > > > > From: Vincent Torri > > > Date: Fri, 18 Aug 2023 08:41:05 +0200 > > > Cc: 65360@debbugs.gnu.org > > > > > > maybe it will be simpler for me to compile emacs and debug it directl= y > > > with some printf(). At least i know where to look at now > > > > That can also be done, with the caveats that: > > > > . to look at some variable, you will have to add code and recompile > > Emacs > > normally, make will recompile only what is needed, one file > > > . if the function(s) in question are invoked frequently when you > > scroll, you will have a lot of output, without a good way of > > knowing which output was caused by which UI gesture > > well, there will not a lot of output : just scrolling once to the > bottom is problematic > > > But that doesn't make printf-debugging impossible, so if it's easier > > for you, let's try that! > > i'll inform you about what I get - when I move two fingers from bottom to top of the touchpad, i get for exa= mple: * delta: -1 * p 2227 x 1414 delta is always negative in that case - when I move two fingers from top to bottom of the touchpad, i get for exa= mple: * delta: 4 * p 2205 x 1336 delta is always positive in that case I've also found that the function always exits in that test, in case it hel= ps: if (eabs (sum_delta_y) < WHEEL_DELTA) { result->kind =3D NO_EVENT; return Qnil; } Unrelated : you should check the warnings, at least on Windows, because i've seen a NULL pointer dereference, and several use of uninitialized variables Vincent