From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexander Huntley Newsgroups: gmane.emacs.bugs Subject: bug#50269: 27.2; Request: use GTK continuous scroll events for smooth touchpad scrolling Date: Mon, 30 Aug 2021 22:26:45 +0100 Message-ID: <1df288ac-476b-eee0-88bf-482736ac0823@gmail.com> References: <83ilznj57n.fsf@gnu.org> <83a6kykc7p.fsf@gnu.org> <58354f61-70c9-0098-226b-cd086efea1f5@gmail.com> <837dg2kanc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23074"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 Cc: 50269@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 30 23:27:20 2021 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 1mKooJ-0005nS-Ud for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Aug 2021 23:27:19 +0200 Original-Received: from localhost ([::1]:44016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKooI-0000fC-JM for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Aug 2021 17:27:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKoo2-0000eI-LP for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2021 17:27:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48948) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKoo2-0002XP-EF for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2021 17:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKoo2-0008IG-8p for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2021 17:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alexander Huntley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Aug 2021 21:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50269 X-GNU-PR-Package: emacs Original-Received: via spool by 50269-submit@debbugs.gnu.org id=B50269.163035881631861 (code B ref 50269); Mon, 30 Aug 2021 21:27:02 +0000 Original-Received: (at 50269) by debbugs.gnu.org; 30 Aug 2021 21:26:56 +0000 Original-Received: from localhost ([127.0.0.1]:60492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKonv-0008Hp-QD for submit@debbugs.gnu.org; Mon, 30 Aug 2021 17:26:55 -0400 Original-Received: from mail-wm1-f52.google.com ([209.85.128.52]:41847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKons-0008Hb-V1 for 50269@debbugs.gnu.org; Mon, 30 Aug 2021 17:26:54 -0400 Original-Received: by mail-wm1-f52.google.com with SMTP id c129-20020a1c35870000b02902e6b6135279so966042wma.0 for <50269@debbugs.gnu.org>; Mon, 30 Aug 2021 14:26:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=lOsZFGXyCeMWvwSxUtc3OLmZQa5eccKgWN5HrsKzmBI=; b=r4c2buoE2c29eEGTCSUWWFUZKYQuhI5Vouw97w8n5QYXFL8oYll6TjwoSfB6sCrEyS K9j1OhZ6PaFmxJITIKRYVViB3jPtAqnfvlVme5P+scATrWw8UMMoOjzrazI+LasMoMqL Shfd/34Hbo2c9bObOwdGtApAiFuF4s9mwlVWJwYABgANYXhX1ejGf6lN12Ann/Ne2+Zw 34/OnpYaYx0FLA+bUQxCMj9yvhR1nvV5NivTWjLF3S7UDAhCtOVwNEqeWi5cP4RBdJES Ls8lmuKR8qm1hfLFfJSwb9ukJSKgGsi+aoh9Xtd1GGyaKKmKh/HQ3ubRB/zX3nZ7Gk/s YwjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=lOsZFGXyCeMWvwSxUtc3OLmZQa5eccKgWN5HrsKzmBI=; b=InAe9RH/2LIK37kR86XWWIHz1hwqj+65/m4PUTuHGh3W+y3URhFdphDJbb+R2BFMxi 21dQuTQ6gBS/NgwvL3dnBQMZp47pgApKI5+bwW1xWjdOvio3jlzuPwHTL4tGYTXQZIXp IZ2YHyNHJvIELzcj8eno8zhk/EKwEMa8ovI7hm6PByyl++3kdPv2zLrNsN4Ls7waPWIY 94aSKgTMvMLVGRsz6/r5WfxN4SHbfpM1vuzCVB2a0tMr/UF8nIGGbxTr7ft4gGQ0lNi0 GpD+2F9cO/MHko+XZ7xfqL4ZKaODcqqzgJgHCLLm1Q3Sb17QJov07EBRM4HsnwDmz/f8 GQEA== X-Gm-Message-State: AOAM531cG1HUgVtb6Z112cQM3O9CDZHEGbo+hjClG0pzU0gl5yaFwhJW hv345wZoDGDRnC7nwHNAS6IoBSd9g5UtlA== X-Google-Smtp-Source: ABdhPJxGracFACxWZG3A78NemhdnY/HRYbmzo/FkOxtMKTYbqU/BOgSmrfotiBDaPuqmh0zqeQ2ttg== X-Received: by 2002:a1c:ed0a:: with SMTP id l10mr937410wmh.140.1630358806739; Mon, 30 Aug 2021 14:26:46 -0700 (PDT) Original-Received: from ?IPv6:2a00:23c6:1c03:8200:59a:fc7b:71d1:dfd7? ([2a00:23c6:1c03:8200:59a:fc7b:71d1:dfd7]) by smtp.gmail.com with ESMTPSA id n14sm16086826wrx.10.2021.08.30.14.26.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Aug 2021 14:26:46 -0700 (PDT) In-Reply-To: <837dg2kanc.fsf@gnu.org> Content-Language: en-US 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:213048 Archived-At: > We are probably having communication difficulties due to terminology > you are using. pixel-scroll-mode doesn't work on line granularity, it > actually shifts the display one pixel at a time. If you scroll by > enough pixels so that the sum total of those pixels amounts to one > line, pixel-scroll-mode resets the display shift offset to zero and > scrolls the display by one full line, then it keeps shifting one pixel > at a time. > > Given this description of how pixel-scroll-mode works, what exactly > would you like to change? > > Or maybe looking at this from a different angle: how does the behavior > you'd like to see differ from what pixel-scroll-mode produces? pixel-scroll-mode may shift the display one pixel at a time, but it also "snaps" the display to certain larger intervals, (integer numbers of lines). This snapping makes the scrolling jerkier than it needs to be on touchpads. If we could use the more precise/frequent data actually coming from the touchpad, then the user could control the scrolling more precisely: instead of scrolling by n lines, the user could scroll by as little as a single pixel at a time.