From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Konrad Podczeck Newsgroups: gmane.emacs.bugs Subject: bug#42406: Mouse-wheel scrolling can be flickering Date: Sat, 10 Oct 2020 16:07:22 +0200 Message-ID: <9849711D-8DBE-4030-8020-84D86E72505B@univie.ac.at> References: <20200719133323.GA5793@breton.holly.idiocy.org> <20200722201659.GA1541@breton.holly.idiocy.org> <969D8DEC-6837-4DD4-93E9-F359DADE1EAB@univie.ac.at> <20201010095100.GG60347@breton.holly.idiocy.org> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) 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="6097"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42406@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 10 16:09:54 2020 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 1kRFZJ-0001W2-MM for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Oct 2020 16:09:53 +0200 Original-Received: from localhost ([::1]:60106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRFZI-0001nF-K6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Oct 2020 10:09:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRFXX-0008Sw-1r for bug-gnu-emacs@gnu.org; Sat, 10 Oct 2020 10:08:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kRFXW-0005Mb-KF for bug-gnu-emacs@gnu.org; Sat, 10 Oct 2020 10:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kRFXW-0007Ii-EJ for bug-gnu-emacs@gnu.org; Sat, 10 Oct 2020 10:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Konrad Podczeck Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Oct 2020 14:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42406 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 42406-submit@debbugs.gnu.org id=B42406.160233885028027 (code B ref 42406); Sat, 10 Oct 2020 14:08:02 +0000 Original-Received: (at 42406) by debbugs.gnu.org; 10 Oct 2020 14:07:30 +0000 Original-Received: from localhost ([127.0.0.1]:38144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRFWz-0007Hz-SB for submit@debbugs.gnu.org; Sat, 10 Oct 2020 10:07:30 -0400 Original-Received: from grace.univie.ac.at ([131.130.3.115]:36706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRFWw-0007Hp-MI for 42406@debbugs.gnu.org; Sat, 10 Oct 2020 10:07:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev2; h=To:References:Message-Id:Content-Transfer-Encoding: Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=iBFFO0/8VoaHA8+wYubMI3IUx1KCIki8PsDGwrhn9Ms=; b=PaCzvptmIe5lx+G0PxYue2w4g/ Bcpxt5KOwqzWupwSrtlkiw2pe0DKtxQCjtXzpnwdKhvtY7NYLMb6HjJVXqyXt4YlT4yQbgwAKuWhv OnytbxJRbQA1DmeeqZjEFDYiRIdtIi6Bw5Khw6pBAFAxzp1fRQBQFgEakLsvUqWaNv+U=; Original-Received: from joan.univie.ac.at ([131.130.3.110] helo=joan.univie.ac.at) by grace.univie.ac.at with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.94) (envelope-from ) id 1kRFWt-00024b-4Q; Sat, 10 Oct 2020 16:07:23 +0200 Original-Received: from 188-23-98-123.adsl.highway.telekom.at ([188.23.98.123] helo=[10.0.0.1]) by joan.univie.ac.at with esmtpsa (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.94) (envelope-from ) id 1kRFWs-0008BY-S9; Sat, 10 Oct 2020 16:07:23 +0200 In-Reply-To: <20201010095100.GG60347@breton.holly.idiocy.org> X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Univie-Virus-Scan: scanned by ClamAV on joan.univie.ac.at 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:190214 Archived-At: > Am 10.10.2020 um 11:51 schrieb Alan Third : >=20 > On Thu, Jul 30, 2020 at 12:30:27PM +0200, Konrad Podczeck wrote: >> Having taken a closer look, it seems to me now that what I called = "flickering" is the following: >>=20 >> Mouse-wheel scroll downwards, so that the cursor becomes positioned >> at the top row of the frame. Then release the mouse-wheel, but so >> that inertia scrolling continues for a short time. After the >> scrolling comes to rest, which is probably determined by the window >> manager, there is an extra movement, governed probably by Emacs, to >> make sure that it is not the case that only, say, half of a row is >> visible at the top of the frame. It seems to me that it is this >> extra movement which leads to what I called "flickering." >=20 > Sorry for the long delay. In standard Emacs usage you shouldn't ever > see half a line displayed at the top of the screen. Are you using > pixel scroll mode or something? No >=20 > The only alternative I can think of is that the inertia just pushes it > over the edge to scroll one more line, but I don't think you would see > that as "flickering", just an extra scroll. Yes, maybe =E2=80=9Cflickering=E2=80=9D is saying to much, but I see a = =E2=80=9Clight tremor=E2=80=9D, at least with the customizations: (setq mouse-wheel-progressive-speed nil) (setq mouse-wheel-scroll-amount '(1 ((shift) . 1))) Konrad >=20 > To disable inertia in Emacs do: >=20 > (setq ns-use-mwheel-momentum nil) >=20 > --=20 > Alan Third