From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#50269: 27.2; Request: use GTK continuous scroll events for smooth touchpad scrolling Date: Tue, 31 Aug 2021 18:33:13 +0200 Message-ID: <87y28hing6.fsf@gmail.com> References: <83ilznj57n.fsf@gnu.org> <83a6kykc7p.fsf@gnu.org> <58354f61-70c9-0098-226b-cd086efea1f5@gmail.com> <837dg2kanc.fsf@gnu.org> <1df288ac-476b-eee0-88bf-482736ac0823@gmail.com> <83fsupu7ui.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39232"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Alexander Huntley , 50269@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 31 18:34:12 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 1mL6iA-0009ux-Jv for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 Aug 2021 18:34:10 +0200 Original-Received: from localhost ([::1]:54828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mL6i9-0006Zq-4Q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 Aug 2021 12:34:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mL6i2-0006Zh-81 for bug-gnu-emacs@gnu.org; Tue, 31 Aug 2021 12:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mL6i1-0008Nc-TM for bug-gnu-emacs@gnu.org; Tue, 31 Aug 2021 12:34:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mL6i1-0007OE-Qd for bug-gnu-emacs@gnu.org; Tue, 31 Aug 2021 12:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Aug 2021 16:34:01 +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.163042760528353 (code B ref 50269); Tue, 31 Aug 2021 16:34:01 +0000 Original-Received: (at 50269) by debbugs.gnu.org; 31 Aug 2021 16:33:25 +0000 Original-Received: from localhost ([127.0.0.1]:35301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mL6hR-0007NF-FB for submit@debbugs.gnu.org; Tue, 31 Aug 2021 12:33:25 -0400 Original-Received: from mail-wm1-f41.google.com ([209.85.128.41]:45884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mL6hN-0007Mo-LY for 50269@debbugs.gnu.org; Tue, 31 Aug 2021 12:33:23 -0400 Original-Received: by mail-wm1-f41.google.com with SMTP id j17-20020a05600c1c1100b002e754875260so3028103wms.4 for <50269@debbugs.gnu.org>; Tue, 31 Aug 2021 09:33:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=UT2KNfxOfqd8kuUXnM/L+XRlXMY0eFWI2ERnUz68bGk=; b=NEGhS5HTr9OB5+V8iChEnu2FBnHiS9sZhTPoQ01kTLZjNiz0uSQIFrivaKzbjTvQAs nznxnbcMsHhw5lbAmX2bN4BZUT4wikNGn4X70A5mi8LCAy3Kdb9PHMSwVlpPHf2cmEyC o2IVFdWmPvTfUbxebmwMnT+eDgehw9REhp30wH0mxR/58wGnbxEQFXGI1luuD3VpMMoH tWgDPhEULBG+/tnFKlhmF+qqZfvGTPbAqrg/zky1mKJcKAHwZ80NJzCiNDC5LgSkp0Y8 i3p1imq4xWTEZi3LfixwaN2ZhkRiCRzmfW+UspCzKK0EZqdSDaH+Iusx+AJ11OGMs/2/ rkyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=UT2KNfxOfqd8kuUXnM/L+XRlXMY0eFWI2ERnUz68bGk=; b=s9ilu25C0DGRQL//J5xNRQPE4a2FVO7k92qe8nBdQgvR/LkHaAJVrWACVc4Umfh8+L PwlvHF9wiUAwNWioUhosIWQiHgnfl9yRbnc5+wG7eL3UeIAyd6MKjEn38mq+yIDW6fyl sXD2m+p3bKTJi0IAkc/gpJQYFht+2KrnJQfwGTSPmOfi22hBtkrd9ICewfYfXWXsc5Ea ifxeKdEDRTMVYqKuTW2KvvOZjTY64yitLqAsT2//N2A9DqEPamVISzOfVxzyoLT17Wmy i+x4Er6+hH0qL18f33Y/Pyx6SYB/TdmtIgSnoXau6xoiUW8BPa+KrzB0ontzLAr8LNcW JPDg== X-Gm-Message-State: AOAM53164swDR7sCz/MnNxcHDyBcbR6HVkC148vuyJ0DxUaE60hGGSNj FJB9y+O6Gv78eoYblLoTVww2RbidTik= X-Google-Smtp-Source: ABdhPJy5MIfqpgb78OahlfQwiwalKGg1sBaJWHkbIi5b1wuHydsPLGq/w1mv4q/QF9wrzUOJN7BglA== X-Received: by 2002:a7b:cc07:: with SMTP id f7mr5124691wmh.145.1630427595239; Tue, 31 Aug 2021 09:33:15 -0700 (PDT) Original-Received: from amdahl30 ([2a01:e0a:20e:d340:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id n14sm18410375wrx.10.2021.08.31.09.33.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Aug 2021 09:33:14 -0700 (PDT) In-Reply-To: <83fsupu7ui.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 31 Aug 2021 15:17:09 +0300") 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:213110 Archived-At: Eli Zaretskii writes: >> From: Alexander Huntley >> Cc: 50269@debbugs.gnu.org >> Date: Mon, 30 Aug 2021 22:26:45 +0100 >> >> 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). > > I don't think I follow: what is this "snapping" you are alluding to > here? Can you tell me how to reproduce this snapping, so I could > understand better the problem you have in mind? With pixel-scroll-mode on, when pixel-resolution-fine-flag is nil (the default), I cannot get Emacs to scroll up by "just a few pixels", however small my movement on the touchpad. Emacs always waits for "enough movement" to scroll up a complete line, although the *animation* is indeed done pixel-by-pixel (as opposed to line-by-line when pixel-scroll-mode is off). On e.g. Mousepad (XFCE's text editor), if I move "just a bit" on the touchpad, the display moves by "just a few pixels", i.e. less than a full line. FWIW setting pixel-resolution-fine-flag to 1 seems to allow Emacs to do the same. (I hope I understood Alexander's problem correctly; apologies for the noise if not)