From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#63187: 30.0.50; Tail of longer lines painted after end of nearby lines on macOS Date: Tue, 2 May 2023 23:36:34 +0100 Message-ID: References: <87ilddec31.fsf@yahoo.com> <87edo0exct.fsf@yahoo.com> <83wn1sns1n.fsf@gnu.org> <87pm7kchqw.fsf@yahoo.com> <83pm7knpzi.fsf@gnu.org> <83354eordx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33145"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 63187@debbugs.gnu.org, aaronjensen@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 03 00:37:14 2023 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 1ptycT-0008TP-QB for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 May 2023 00:37:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptycL-0004pE-G8; Tue, 02 May 2023 18:37:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptycJ-0004or-2L for bug-gnu-emacs@gnu.org; Tue, 02 May 2023 18:37:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ptycI-0002cO-Pv for bug-gnu-emacs@gnu.org; Tue, 02 May 2023 18:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ptycI-0000B5-5P for bug-gnu-emacs@gnu.org; Tue, 02 May 2023 18:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 May 2023 22:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63187 X-GNU-PR-Package: emacs Original-Received: via spool by 63187-submit@debbugs.gnu.org id=B63187.1683067008663 (code B ref 63187); Tue, 02 May 2023 22:37:02 +0000 Original-Received: (at 63187) by debbugs.gnu.org; 2 May 2023 22:36:48 +0000 Original-Received: from localhost ([127.0.0.1]:45242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptyc4-0000Ad-FP for submit@debbugs.gnu.org; Tue, 02 May 2023 18:36:48 -0400 Original-Received: from dane.soverin.net ([185.233.34.24]:42713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptybz-0000AM-3A for 63187@debbugs.gnu.org; Tue, 02 May 2023 18:36:47 -0400 Original-Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4Q9w1118JSzyxv; Tue, 2 May 2023 22:36:37 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4Q9w101FVczF3; Tue, 2 May 2023 22:36:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1683066997; bh=pmP3zRP6p/NYJeKuzxLLzOmfmgkgRYjScNE8tJ0fcPc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Tb1fr0tmjCfO3Jm7iCg44By92m1d5CqWvTPwF8bi2AcAR6B6sFayNe6+CJs9gQpS1 UfPlirPDLyqCC9XzFbe9zTtwJ9aQViXrKAJMvjgRr/sMXgV/clOdLsFC9lSz6bo0sI HiIeyz0VddxW0fvuQDwFLZUT4GXuAsMja89GVSVmnto8SMAa6VgJSOzmxvMCBnP7MD 3/F7IyNxVK5xCQv7V4ne/W4gx33922GczB5nGOH8nqfZCKQf2Y0jD+ryLZxkJdq5Ga ovByG77CftcUi2u3KEvgtMGS18OG+5XIzGDmsbAZ+RUZal7Obz52uWSkwyjlD3iaP1 dSW+fjC4dHT3Q== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95) (envelope-from ) id 1ptybq-000EEE-BR; Tue, 02 May 2023 23:36:34 +0100 X-Soverin-Authenticated: true Mail-Followup-To: Alan Third , Eli Zaretskii , aaronjensen@gmail.com, luangruo@yahoo.com, 63187@debbugs.gnu.org Content-Disposition: inline In-Reply-To: <83354eordx.fsf@gnu.org> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:260960 Archived-At: On Tue, May 02, 2023 at 03:21:46PM +0300, Eli Zaretskii wrote: > > Date: Tue, 2 May 2023 11:14:56 +0100 > > From: Alan Third > > Cc: Eli Zaretskii , Po Lu , > > 63187@debbugs.gnu.org > > > > Although, on reflection, your description sounds more like it's just > > not clearing the end of lines correctly, which wouldn't necessarily > > have anything to do with scrolling as such... > > Can that happen in this case? You will see in the code that (AFAIU) > it copies a rectangle whose width is the total width of the window, so > why would (not) clearing ends of lines be an issue? It depends where the actual problem is occurring. It's hard to tell from the screenshots whether the rogue glyphs appear spontaneously in the middle of the window, or as a new line is scrolled onto the screen. If it's the latter then obviously the procedure is to clear the line that's to be drawn, then draw the new content, however if the clearing isn't done correctly then you end up with the end of the line that was there previously still visible to the right of the new content. As it scrolls further, Emacs no doubt is clever enough to know that it doesn't need to clear more than it drew for the last line, so the rogue characters at the end stay for the subsequent line, and so on until it hits a line that is long enough to wipe it all out. I hope I'm explaining this well enough. Either way, I don't know why it would be happening. -- Alan Third