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: Fri, 23 Jun 2023 09:48:26 +0100 Message-ID: References: <76A3A6C3-CD32-4731-927C-349471F21801@gmail.com> <2A505E20-55E2-4788-A21C-B94068299E50@gmail.com> <29949E40-D5D5-4DE1-BD81-93D1BA3D4F51@gmail.com> 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="18291"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Kai Ma , Eli Zaretskii , 63187@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 23 10:49:28 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 1qCcTw-0004Vo-3o for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Jun 2023 10:49:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCcTa-0002zu-3i; Fri, 23 Jun 2023 04:49:06 -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 1qCcTW-0002ze-Ut for bug-gnu-emacs@gnu.org; Fri, 23 Jun 2023 04:49: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 1qCcTV-0003ef-WB for bug-gnu-emacs@gnu.org; Fri, 23 Jun 2023 04:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCcTV-0004tv-Q1 for bug-gnu-emacs@gnu.org; Fri, 23 Jun 2023 04:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Jun 2023 08:49:01 +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.168751011818801 (code B ref 63187); Fri, 23 Jun 2023 08:49:01 +0000 Original-Received: (at 63187) by debbugs.gnu.org; 23 Jun 2023 08:48:38 +0000 Original-Received: from localhost ([127.0.0.1]:37664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCcT7-0004tA-Ie for submit@debbugs.gnu.org; Fri, 23 Jun 2023 04:48:37 -0400 Original-Received: from dane.soverin.net ([185.233.34.149]:57469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCcT5-0004sZ-Ix for 63187@debbugs.gnu.org; Fri, 23 Jun 2023 04:48:36 -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 4QnW9T0djTzyQB; Fri, 23 Jun 2023 08:48:29 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4QnW9S2qjRzJQ; Fri, 23 Jun 2023 08:48:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1687510109; bh=CMCAExB+/fk04K3QCfeut2M3EhgStU3sx18pViB5l0o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eVg6vHMwtii7ybVck/oazDkKhsnnHiPKsgBFaXH17jHoyxvLgMbDrbW9A2+fTSycV AhrYptOl+3o/t/8q4rM6S5VL8FwJ6ZpXp44Uw6m4tX2DFvIdSSPSyypH/Ubb7CM4JM i3us8JEKiyLJGHJwXUrXHUyyvEVmbYN/Nqy21n5Sb31z5JY8EixAmyMhzGuL2om9Lt nr14X+2TAok5HJcRqDw13h9uSHpPkbbO0XlbPO0iUdymiXK6dQKBiGuiGTGm3xDETs xmbJ/l4GF1ORyCg6XjlzMEe9cjXKgMDoj5eBV3wKQ+iWtFkPIm6SP83OqBLce4v61Q K4oNxvRsXS3GA== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95) (envelope-from ) id 1qCcSx-000WeB-1V; Fri, 23 Jun 2023 09:48:27 +0100 X-Soverin-Authenticated: true Mail-Followup-To: Alan Third , Aaron Jensen , Kai Ma , 63187@debbugs.gnu.org, Eli Zaretskii , Po Lu Content-Disposition: inline In-Reply-To: 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:263938 Archived-At: On Thu, Jun 15, 2023 at 10:17:11PM -0400, Aaron Jensen wrote: > > I saw a paint issue today. The "<" to the left of the indented (and > redacted) lines 65-68 was an artifact. It kept painting there even > while scrolling until I resized the window, then they all disappeared. > They appeared one at a time while scrolling, as if the painting of one > the one on line 63 was "fixed" in the window position as I was > scrolling (likely it just didn't get cleared as necessary). It could be worth forcing the system to display when we want it to, rather than leaving it to decide itself... I don't think this will make any difference, but perhaps it's worth a shot. modified src/nsterm.m @@ -1089,6 +1089,8 @@ static NSRect constrain_frame_rect(NSRect frameRect, bool isFullscreen) [view unlockFocus]; #if defined (NS_IMPL_GNUSTEP) || MAC_OS_X_VERSION_MIN_REQUIRED < 101400 [[view window] flushWindow]; +#else + [view display]; #endif unblock_input (); This feels to me like things are happening out of order or simultaneously, but I don't really see how that could be happening. The drawing system throws out errors if you try to use it from sub threads, so it should be obvious if there was some multi-threading issue... -- Alan Third