From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tak Kunihiro Newsgroups: gmane.emacs.bugs Subject: bug#36633: Scrolling by pixels: visible stretch glyphs overwrite header-line. Date: Mon, 15 Jul 2019 21:26:32 +0900 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="95766"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (darwin) To: 36633@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 15 14:27:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hn04R-000Ok6-8k for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jul 2019 14:27:07 +0200 Original-Received: from localhost ([::1]:38110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hn04P-0006z1-VB for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jul 2019 08:27:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35991) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hn04N-0006yu-6V for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2019 08:27:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hn04M-0008GY-2l for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2019 08:27:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37988) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hn04L-0008GT-V5 for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2019 08:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hn04L-0007Yt-OJ for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2019 08:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Jul 2019 12:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36633 X-GNU-PR-Package: emacs Original-Received: via spool by 36633-submit@debbugs.gnu.org id=B36633.156319360329042 (code B ref 36633); Mon, 15 Jul 2019 12:27:01 +0000 Original-Received: (at 36633) by debbugs.gnu.org; 15 Jul 2019 12:26:43 +0000 Original-Received: from localhost ([127.0.0.1]:46809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn043-0007YM-HZ for submit@debbugs.gnu.org; Mon, 15 Jul 2019 08:26:43 -0400 Original-Received: from mail-pg1-f181.google.com ([209.85.215.181]:44861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn042-0007Y9-2p for 36633@debbugs.gnu.org; Mon, 15 Jul 2019 08:26:42 -0400 Original-Received: by mail-pg1-f181.google.com with SMTP id i18so7631610pgl.11 for <36633@debbugs.gnu.org>; Mon, 15 Jul 2019 05:26:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version; bh=QzU5m4d9K1+pxsCeOnob/BgeCHYrL/zSRtWDNIgCPn0=; b=VncHL9A0tk0NlZia/DSf6NBZ5HaWTXVvqOlgkIp67wDJk/LibLdFRLKt+59YJxo5Qh brEwQA+85U/f9YKJ2q34y01XzdXcRTlX+UUlnVirvL8Zfk2wR1XDS/akFlZGDpSjmsm8 /BgGRh1h8VIDJs4sz9tt6s3Scq41thbpToZx1GrHEcUr633GP1W6hnE3G8sDIjSFYSbn dcOs7r/2S1ioskH3DOTtOJp3GfEzWqS3kORxlJqxjmlcWteB4TWKqbRIDryXlQ1oOYnO uR14/M0+y3z/1zuZqnZxNhVTG+haZxa/2/p7up2tvW6xCmEtEJ4q0ukVlH/43dsIflWQ GJFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=QzU5m4d9K1+pxsCeOnob/BgeCHYrL/zSRtWDNIgCPn0=; b=rDIcVA7nT0udbLQV5RN9Jto03f31pR4ZMveWWsW8gjsHwb8IbGa1n19gmqJ/xoA5ZM DMyro5cjm6S1pgCq0OnHcLcMIAOP/Sy7wzSzdempXpTGaHpZkI/oNF1aRHekCVApQ9o/ 6adyReSrH7ST8h9agXzGYRpdlnoMCVEuh/fYYAg3WHP6wu/6lfnkAB/LXuD7iZJfbFHE g2JCspQ+nD9EJrLXyzvdm2GA1wjPlX5KfsCPd/YGLM+iEsdQaHwp02sO6SAT2lQn5s1w Gjj11rdyp825WebIzyV4bF3LjCg45agYdpoQK2tBkFPVMvxAUWohFAQWc/CGlGMGAAYc nkZA== X-Gm-Message-State: APjAAAWkeRPAb+kSMP2vSA4qDBiY0jwt60uxiPCMa+XELLqB35lh5L6S GSksRLPIuAx2RiU5tVwzOu70ebgp X-Google-Smtp-Source: APXvYqwXAkbNZBQcRMvp6gYrE/YQJbV723pgFp29lCrSxMGxUxomV9L5nt5qHAyjAViag5coj7qH6A== X-Received: by 2002:a17:90a:9488:: with SMTP id s8mr29766677pjo.2.1563193595593; Mon, 15 Jul 2019 05:26:35 -0700 (PDT) Original-Received: from Drodroid2012.local (p85176-ipngn200201tottori.tottori.ocn.ne.jp. [114.176.76.176]) by smtp.gmail.com with ESMTPSA id 21sm16573977pjh.25.2019.07.15.05.26.34 for <36633@debbugs.gnu.org> (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 15 Jul 2019 05:26:34 -0700 (PDT) X-Google-Original-From: Tak Kunihiro In-Reply-To: (Keith David Bershatsky's message of "Sun, 14 Jul 2019 09:47:25 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163102 Archived-At: I confirmed the existence of ghost (of the first line with green blocks) shown on the headline significantly with 26.2 on macOS 10.6.8 and less significantly with 26.2 on macOS 10.14.5. The essence of related code is `set-window-vscroll'. (let ((n (frame-char-height))) (when (> n 0) (let ((vs0 (window-vscroll nil t))) (dolist (vs (number-sequence (1+ vs0) (+ vs0 n))) (set-window-vscroll nil vs t) (sit-for pixel-wait))))) I do not know how to fix it. Keith David Bershatsky writes: > Here are links to two (2) youtube videos showing the issue on Emacs > 26.1 (built by https://emacsformacosx.com/ a few months ago) and > also > the master branch that I built using a commit from 07/10/2019 > (40cd6278ba965f3a9fcdddc568eb9ee7c69cf899). I don't have a 26.2 > build > at the moment. The issue is less noticeable on the master branch, > but > can still be seen nevertheless. I have not studied the code as to > what makes this feature work, but offhand would think that the > header-line should not be overwritten by the row moving upwards > (rather than updated after it has been overwritten). > > Emacs 26.1: https://youtu.be/Y8cZfURSwZc > > Emacs Master Branch: https://youtu.be/BO3r9_6OvYo