From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#42406: Mouse-wheel scrolling can be flickering Date: Fri, 11 Dec 2020 10:18:14 +0200 Message-ID: <83czzg3ge1.fsf@gnu.org> 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> <9849711D-8DBE-4030-8020-84D86E72505B@univie.ac.at> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5763"; mail-complaints-to="usenet@ciao.gmane.io" Cc: konrad.podczeck@univie.ac.at, 42406@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 11 09:19:13 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 1knddw-0001Lv-SV for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Dec 2020 09:19:12 +0100 Original-Received: from localhost ([::1]:50282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knddv-0003l1-Un for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Dec 2020 03:19:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knddm-0003ks-FG for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2020 03:19:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56558) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knddm-0004E7-55 for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2020 03:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1knddl-0004u7-Vb for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2020 03:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Dec 2020 08:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42406 X-GNU-PR-Package: emacs Original-Received: via spool by 42406-submit@debbugs.gnu.org id=B42406.160767472418823 (code B ref 42406); Fri, 11 Dec 2020 08:19:01 +0000 Original-Received: (at 42406) by debbugs.gnu.org; 11 Dec 2020 08:18:44 +0000 Original-Received: from localhost ([127.0.0.1]:39871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knddU-0004tW-21 for submit@debbugs.gnu.org; Fri, 11 Dec 2020 03:18:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knddS-0004tF-Ck for 42406@debbugs.gnu.org; Fri, 11 Dec 2020 03:18:42 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58162) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knddL-00041V-3i; Fri, 11 Dec 2020 03:18:35 -0500 Original-Received: from [176.228.60.248] (port=1435 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1knddH-0000IC-Vj; Fri, 11 Dec 2020 03:18:35 -0500 In-Reply-To: (message from Alan Third on Thu, 10 Dec 2020 22:10:28 +0000) 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:195728 Archived-At: > Date: Thu, 10 Dec 2020 22:10:28 +0000 > From: Alan Third > Cc: 42406@debbugs.gnu.org > > What appears to be happening is that scrolling with the mouse, and > also using C-v or M-v causes every frame to update the cursor and > clear the internal border, which in turn causes them all to be drawn > to the screen at once, which is pretty slow. > > (It also appears to do something with scrollbars which helped me find a > subtle redrawing bug.) > > Scrolling through the buffer by using C-n to move down line by line > only updates the frame being displayed. I'm not sure what's going on, > it appears to be system independent code doing this. Any pointers to the code which causes all the frames to be updated in C-v/M-v case?