From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.bugs Subject: bug#63187: 30.0.50; Tail of longer lines painted after end of nearby lines on macOS Date: Mon, 1 May 2023 20:32:52 -0400 Message-ID: References: <87ilddec31.fsf@yahoo.com> <87edo0exct.fsf@yahoo.com> <83wn1sns1n.fsf@gnu.org> <87pm7kchqw.fsf@yahoo.com> <83pm7knpzi.fsf@gnu.org> <87cz3jegts.fsf@yahoo.com> Mime-Version: 1.0 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="36457"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Third , 63187@debbugs.gnu.org, Eli Zaretskii To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 02 02:34:21 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 1ptdyF-0009Gw-Uz for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 May 2023 02:34:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptdy4-0006Tr-GM; Mon, 01 May 2023 20:34:08 -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 1ptdxz-0006Ta-5f for bug-gnu-emacs@gnu.org; Mon, 01 May 2023 20:34:04 -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 1ptdxy-0005YG-Ls for bug-gnu-emacs@gnu.org; Mon, 01 May 2023 20:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ptdxy-0004GI-Dx for bug-gnu-emacs@gnu.org; Mon, 01 May 2023 20:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 May 2023 00:34: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.168298759316323 (code B ref 63187); Tue, 02 May 2023 00:34:02 +0000 Original-Received: (at 63187) by debbugs.gnu.org; 2 May 2023 00:33:13 +0000 Original-Received: from localhost ([127.0.0.1]:41274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptdxA-0004FD-L9 for submit@debbugs.gnu.org; Mon, 01 May 2023 20:33:12 -0400 Original-Received: from mail-pl1-f182.google.com ([209.85.214.182]:52456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptdx8-0004Ev-9n for 63187@debbugs.gnu.org; Mon, 01 May 2023 20:33:11 -0400 Original-Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1a9253d4551so23669615ad.0 for <63187@debbugs.gnu.org>; Mon, 01 May 2023 17:33:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682987583; x=1685579583; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=dlxUJgm/kLlqSEly2Ka7ujWV3fipsHyNOYQKtHJ9p/k=; b=W5hSTjPGP2abU8wpu0pe6T5hu7xD+Z5FeBJ0XQf4n2xhrbU+DpVjQVI4RXg/qjwGt6 jnXqrI0fDJXQdiDYuSCQ6ONswwq4/GudG+hTM3qLI+b2OlEo1CPgL6D+XnGatOXHfknO TBetmIr8QFK0QtInFrZfOMmriF44uWUhew7yk9OkYcC209suIQKNMFConw6BPAhy1bLq yMdUAHhyIixvLS2954WxmiuEN6dVxWDv78PKladEVvx4XYDyHTPsw/8G1gG91m73HVRu nw00hSrZGrGi+m5Sqninp4HIGvVNJiMiJ51tevFf8L0YqkXJdieeXWDUmuaacg2JM0gC weUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682987583; x=1685579583; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dlxUJgm/kLlqSEly2Ka7ujWV3fipsHyNOYQKtHJ9p/k=; b=Y2wfOzHHF4lmvxOUHDIR5dGqfJgF67sQ9zCOQ0PDIidQy8Dv0Me1g7xd00lcIXbnEd qbSvwboXH9XI91ueGvCbRTdJ/nKuziHdukPrrAqtAkCNenZOSUd1J3ZUGHfo0FQBVKXH Z/7knwuWaeBTdefSFENtn9OBkYsE/26H2QnsGuY81x/FPIdICYlD7mC3u6DVTL4Sxzwb fWar87UdG/ZbRO/ZdMEsHDcsr6Ibt2+39LuTNoUPVC0dKnx0YioJGHz4HlhgKtaAkLAK 2Yq2RQyVajGPnrI001BxriVKdZtHLaUD09/0PRQG5SmQSQBKWeGG0LngCx6+WTjMQMoH 1J7Q== X-Gm-Message-State: AC+VfDwk2bUD8PbmApuTZvatVSBnpqlTKidlzh2HkbiQ9qp+xPlQBox9 WBsOb+ys+BRlwVhihlMmD61kDMrgr7KF76MXpxI= X-Google-Smtp-Source: ACHHUZ6vhVqTashUQOdGwPkzlyo35w/FJfkOtERcHA0RhYaHVjbQSL2sjmcj5a9QqjE7vvi1JjHvF7lE0dxp1P9JrDE= X-Received: by 2002:a17:903:228a:b0:1aa:dba7:4bce with SMTP id b10-20020a170903228a00b001aadba74bcemr9315423plh.49.1682987583570; Mon, 01 May 2023 17:33:03 -0700 (PDT) In-Reply-To: <87cz3jegts.fsf@yahoo.com> 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:260898 Archived-At: On Mon, May 1, 2023 at 8:07=E2=80=AFPM Po Lu wrote: > > Alan Third writes: > > > Po Lu asks about how it synchronises with the system, and it doesn't > > really have to. The system draws into the same buffer that copyRect > > accesses. It does make me wonder if there's a rare occasion when > > copyRect is called and the system hasn't flushed all it's drawing > > instructions to the buffer yet. It's probably possible to force it to > > flush by doing something like: > > > > [[NSGraphicsContext currentContext] flushGraphics]; > > > > at the top of copyRect. Preferably only on macOS 10.14 and above, but > > it probably makes no difference on other platforms since scrollRect > > should force a flush anyway. > > Hmm... Aaron, could you try that? I'll try it after I try running w/ the invalidate change. I'll report back if that doesn't fix it and try the flush. Aaron