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 20:02:00 +0100 Message-ID: <58354f61-70c9-0098-226b-cd086efea1f5@gmail.com> References: <83ilznj57n.fsf@gnu.org> <83a6kykc7p.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="36526"; 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 21:03:39 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 1mKmZG-0009Ia-RP for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Aug 2021 21:03:38 +0200 Original-Received: from localhost ([::1]:58098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKmZE-0005rC-1o for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Aug 2021 15:03:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKmYh-0005qy-19 for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2021 15:03:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48724) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKmYg-0004gX-FI for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2021 15:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKmYg-00065R-82 for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2021 15:03: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 19:03: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.163035013123322 (code B ref 50269); Mon, 30 Aug 2021 19:03:02 +0000 Original-Received: (at 50269) by debbugs.gnu.org; 30 Aug 2021 19:02:11 +0000 Original-Received: from localhost ([127.0.0.1]:60270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKmXr-000646-4x for submit@debbugs.gnu.org; Mon, 30 Aug 2021 15:02:11 -0400 Original-Received: from mail-wr1-f46.google.com ([209.85.221.46]:39843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKmXp-00063t-AG for 50269@debbugs.gnu.org; Mon, 30 Aug 2021 15:02:09 -0400 Original-Received: by mail-wr1-f46.google.com with SMTP id z4so23868244wrr.6 for <50269@debbugs.gnu.org>; Mon, 30 Aug 2021 12:02:09 -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=+CvGp+lEufHyogJzMCLWKsZT5k5Ur1+EamSXedr1ipI=; b=kD165uIKXMrZBrcrF2vP1M82vs4SFLrkvH8EqR0SSJkAjUNdtiUAwc8g1Ok6/3x/Jv Qk8hg9Sna3upjWU80YgQk2ys4Auyoc7e6W64nQllOUMqMO0TqbCiI2lWy9eeKEzVvRqg /K8HWhseBUKUBxttiOOK4WHYkTLAorQQttYsS3r+Lp9dA6etoBBD19QNxy0Q7dYxD9th SFWnCw6DUGn6XikSXlC2FDIPMyksCAq9vztgPkscNfMJAHHwMlhIkO5ApVE58Z5p8CBj FglRGtbgZEylDll4yLkisdB1O0KOdV3+riruYWyE4gugsRAkYP8Vixo9J5sP74whr7b/ +D7A== 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=+CvGp+lEufHyogJzMCLWKsZT5k5Ur1+EamSXedr1ipI=; b=gANrxcGkqiG7aLwh5Z3fmWqjwDsO9e5fnI8ez3cOgzt09EPFCB8H60U5wMK4cYzTD3 D1ik5W3SzdQ6BICxp0nJ/A69scUUgP3iFqvuFFIX0FgjY7NdNXQficurX1EDnPyXFvKB NLm+VRPeyht3NZ/38JHeFmsuBhMaOSxnlrjxnhX1VaNqjuXujn1yEj2ThX7PLPew1wOY vYp/oq31qGHmiySTKwf2kTJTiSOr/zPNVmHrJrR+qReaI3byBkI6dpKv8tpRj49aA1iO oHCZoJZNDG0h4JHE56UP1wfNOkxL+/4OcT4Y6qvFQ3VbBT8yQqPQ+ic/SoAXntsRJewH hKXg== X-Gm-Message-State: AOAM533W4tUMiYiiC8wnWky4isb42NKkYvOMyrkxdvpNbFDDbpTEf0HF xcvlIjEa1y9zQwnz9qGD/RLjt7s0/c9tEw== X-Google-Smtp-Source: ABdhPJySSYeOzk05Hvz+ygTvgnPkV5c5SsiNhplBhdAtTOQLFbVYS9ruEQrLe/FRxc4DoRMFaUX/pA== X-Received: by 2002:adf:e910:: with SMTP id f16mr27592594wrm.393.1630350123059; Mon, 30 Aug 2021 12:02:03 -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 w9sm314428wmc.19.2021.08.30.12.02.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Aug 2021 12:02:02 -0700 (PDT) In-Reply-To: <83a6kykc7p.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:213039 Archived-At: > Then I don't think I understand what you'd like Emacs to do in this > case, and how would that be different from pixel-scroll-mode. Please > tell more. Modern touchpads offer more precision than scroll wheels, so it is possible (e.g. in Firefox, using libinput drivers) to make the view scroll by just 1 or 2 pixels using small movements. As a result, the scrolling corresponds closely to the hand movement on the trackpad. This feels good (like scrolling on a touchscreen). Emacs (because it ignores this higher-precision scrolling data) basically quantizes the available scroll positions, which ought to be continuous. This makes scrolling on Emacs feel more abrupt than in other apps. pixel-scroll-mode does not fix this; it just provides an animation between scroll positions. The available positions remain quantized at line boundaries.