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#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS Date: Sun, 12 Dec 2021 12:08:06 +0000 Message-ID: References: <83tufiutld.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="29977"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52085@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 12 13:09:13 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 1mwNfF-0007da-E6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Dec 2021 13:09:13 +0100 Original-Received: from localhost ([::1]:57816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwNfD-0003Th-5V for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Dec 2021 07:09:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwNf5-0003TI-JI for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2021 07:09:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39280) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwNf4-0005tn-Kq for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2021 07:09:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mwNf4-00007L-DY for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2021 07:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Dec 2021 12:09:02 +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.1639310900402 (code B ref 52085); Sun, 12 Dec 2021 12:09:02 +0000 Original-Received: (at 52085) by debbugs.gnu.org; 12 Dec 2021 12:08:20 +0000 Original-Received: from localhost ([127.0.0.1]:50826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwNeN-00006P-L6 for submit@debbugs.gnu.org; Sun, 12 Dec 2021 07:08:19 -0500 Original-Received: from outbound.soverin.net ([116.202.126.228]:38827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwNeK-00006A-MV for 52085@debbugs.gnu.org; Sun, 12 Dec 2021 07:08:17 -0500 Original-Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 35BB7185; Sun, 12 Dec 2021 12:08:10 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1639310889; bh=AaN6jK0rsSPB/DOzRpZ9fBO5mfkBIXlnnAKWMWE/1yw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QGfoPvrZcPNbHyN+nIWhyTc66zuLnRygIUobg//MOus+g5b4EsJ8Z8QRnm/QTVcTu KR3hXJfLLEEANaIc6PIMJxcHi38feLR7Gd0VYW1bfEWXMG/SWpb/G4hmj73Dncy1gA yuPnkq9NEVAAjkrMwCgGOdUu8ZcyCDv1i4cAafgDtYPXceZBSAdRbeDR23608lthdj /u/v59SIunhgjnK2lFf21CTqcNIYQBrGZS/32hZ+Mw9GEaZhJKi4+eu/Kq/a0SeXmO Fm6ru0PtHVE+POXrX9BeQXpNkqhVFRJiYGV/9sqFuerlkIKsiN73cyeHOmi+VCC+/R 02GUeMnMQO8jw== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1mwNeA-001BLs-3T; Sun, 12 Dec 2021 12:08:06 +0000 Mail-Followup-To: Alan Third , Aaron Jensen , Eli Zaretskii , 52085@debbugs.gnu.org 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" Xref: news.gmane.io gmane.emacs.bugs:222218 Archived-At: On Thu, Dec 09, 2021 at 02:38:59AM -0500, Aaron Jensen wrote: > On Thu, Dec 9, 2021 at 2:27 AM Eli Zaretskii wrote: > > > > > 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 > > Even toggling between one buffer and another in a window fails to log > anything but: > > nsterm.m : 6100: [ 2953] [EmacsView keyDown:] > nsterm.m : 6393: [ 2954] | [EmacsView hasMarkedText] > nsterm.m : 6284: [ 2955] | [EmacsView insertText:] > nsterm.m : 6100: [ 2956] [EmacsView keyDown:] > > I'm probably missing something here... I'm pretty sure it's just the NSTRACE calls not printing anything. As I said previously NSTRACE sometimes doesn't print out results from things that are called deep in the toolkit code. Like display. Manually stick an NSLog into the display function. -- Alan Third