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#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS Date: Thu, 09 Dec 2021 09:26:38 +0200 Message-ID: <83tufiutld.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26388"; mail-complaints-to="usenet@ciao.gmane.io" Cc: alan@idiocy.org, 52085@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 09 08:28:11 2021 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 1mvDqc-0006bd-9q for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Dec 2021 08:28:10 +0100 Original-Received: from localhost ([::1]:55044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvDqb-0006wr-4Z for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Dec 2021 02:28:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvDqU-0006vW-3q for bug-gnu-emacs@gnu.org; Thu, 09 Dec 2021 02:28:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58978) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvDqT-000056-SK for bug-gnu-emacs@gnu.org; Thu, 09 Dec 2021 02:28:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvDqT-0005qC-Ol for bug-gnu-emacs@gnu.org; Thu, 09 Dec 2021 02:28: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: Thu, 09 Dec 2021 07:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52085 X-GNU-PR-Package: emacs Original-Received: via spool by 52085-submit@debbugs.gnu.org id=B52085.163903482822391 (code B ref 52085); Thu, 09 Dec 2021 07:28:01 +0000 Original-Received: (at 52085) by debbugs.gnu.org; 9 Dec 2021 07:27:08 +0000 Original-Received: from localhost ([127.0.0.1]:42291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvDpc-0005p4-JU for submit@debbugs.gnu.org; Thu, 09 Dec 2021 02:27:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvDpb-0005os-99 for 52085@debbugs.gnu.org; Thu, 09 Dec 2021 02:27:07 -0500 Original-Received: from [2001:470:142:3::e] (port=32968 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvDpR-0008PP-19; Thu, 09 Dec 2021 02:27:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=7Tg4z7ZePaW2alVOssG7/IAjkyXqXZTowzo/KcrhVyg=; b=IAuBpNeKTHI8 bhBosJZxb3RCPYHk/pyLpnBmuQq5inS18HLY4j2Ir3fmLSXavc9dPXqtK2VteWPZ5ug5uV6N3uzME ghLIM40c9Vjq6nmRImJiC51SCC2dov5V1yAEuh/3OvohZK2AKSZ6ebCJC9nUcZ1WVMKaboNW1rorl zOUP9Xc45yWfPXTuiNWIdhQSl3ALpy12P2/M7Ay9SfpyueduHVJC9K2x4AWZDryUNRr5M6pkS4IiU GGW3I0bgGbkHOWMpi5+quznK4O7DLYi7SLROBGgOEGTGOj5LjotvtLm/PC9ImDPpn61HAt1CFOZnP zrpt5b9f2GpiMT0LJMhERw==; Original-Received: from [87.69.77.57] (port=1329 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvDpP-0005Vy-TD; Thu, 09 Dec 2021 02:26:56 -0500 In-Reply-To: (message from Aaron Jensen on Wed, 8 Dec 2021 16:33:06 -0500) 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:221980 Archived-At: > From: Aaron Jensen > Date: Wed, 8 Dec 2021 16:33:06 -0500 > > > To be honest, if I just want to see when one function is called I > > stick in 'NSLog (@"Moo")' or whatever. There's too much output in > > NSTRACE and I'm sure that sometimes it doesn't print out results from > > things that are called deep in the toolkit code. > > Well, I can say with some certainty that those messages are the only > ones appearing under typical operations like key presses. I can insert > newlines into the terminal and observe that only those are emitted > when I press keys or even scroll. So the display function is not being > called unless there is some other wildness going on with the tracing. > Do you expect it to be called every render? (It is also not called > when I run M-: (redisplay)) I'm not tracking this discussion, so apologies if what I say below makes no sense. However, the Emacs display engine avoids redrawing anything if it concludes that what's on the glass is correct. So just calling 'redisplay', or making some simple changes that don't require significant redrawing, don't necessarily result in calls to low-level drawing functions, you need to do something drastic to force those with 100% certainty. HTH