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: Wed, 8 Dec 2021 21:23:26 +0000 Message-ID: References: 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="10416"; 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 Wed Dec 08 22:24: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 1mv4Q7-0002Y2-C0 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Dec 2021 22:24:11 +0100 Original-Received: from localhost ([::1]:44920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mv4Q6-0003L4-1l for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Dec 2021 16:24:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mv4Py-0003Kw-PT for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2021 16:24:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mv4Py-00014c-Hf for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2021 16:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mv4Py-000184-Ax for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2021 16:24: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: Wed, 08 Dec 2021 21:24: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.16389986214314 (code B ref 52085); Wed, 08 Dec 2021 21:24:02 +0000 Original-Received: (at 52085) by debbugs.gnu.org; 8 Dec 2021 21:23:41 +0000 Original-Received: from localhost ([127.0.0.1]:41749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mv4Pd-00017W-4N for submit@debbugs.gnu.org; Wed, 08 Dec 2021 16:23:41 -0500 Original-Received: from outbound.soverin.net ([116.202.126.228]:40939) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mv4PY-00017E-H2 for 52085@debbugs.gnu.org; Wed, 08 Dec 2021 16:23:40 -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 D7B9CA0; Wed, 8 Dec 2021 21:23:29 +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=1638998609; bh=BBiVC42jDoqHPn1dbrsPkm9q33w5jnULKK5CFmlX14g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ir2Gm/uHX61hnMrW/d9WjNslbavkBEmUPKIFl4GIG/TE9ChISGbWX8tOaxdStbbOW XFtQ7sBPwduOuOy4TbvPBnODeWh2zSswbWWflaLgEh3Ud7L/NiwJI00ePW1E2TuRLq CHm5Dxvqnw5ahxnqdFVoPdb0d/QFOUdUoNbbwSs+8LNmmr273GMCQK7ZYmnGx5ebai a+CpgsawMhu0fzZQX9N6tWRXMRA8TR6YdZt7jxx1RclObRuHDpYe1YLWzU4VZ8hCk1 MPrLgz6vmuy48CD3MBR66bbzui6zI+qO1/fBbcP8slwbYkUETKv0BtfuZaQEI3ZuPA sa+OBb+DbXvrA== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1mv4PO-0019RA-13; Wed, 08 Dec 2021 21:23:26 +0000 Mail-Followup-To: Alan Third , Aaron Jensen , 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:221955 Archived-At: On Tue, Dec 07, 2021 at 10:14:07PM -0500, Aaron Jensen wrote: > On Sat, Dec 4, 2021 at 5:48 AM Alan Third wrote: > > > > On Fri, Dec 03, 2021 at 12:14:10AM -0500, Aaron Jensen wrote: > > > On Thu, Dec 2, 2021 at 5:22 PM Alan Third wrote: > > > > > > > > Probably the first thing you could do is check that [EmacsLayer > > > > display] is being called at the right time. > > > > > > > > But I can't really think of any particular reason for this to happen. > > > > > > How do I enable and observe NSTRACE? > > > > Uncomment the line at nsterm.h:65, and probably the one at line 78 > > too, which refers to NSTRACE_GROUP_FOCUS. > > > > It logs to the terminal or to the system logs. > > Hmm, I see logging but typically every keypress is met with: > > nsterm.m : 6100: [11784] [EmacsView keyDown:] > nsterm.m : 6393: [11785] | [EmacsView hasMarkedText] > nsterm.m : 6284: [11786] | [EmacsView insertText:] > > > I see some [EmacsLayer display] but very few. I'm not sure how to > trigger them. Is that what is expected? > > I have a fairly hard time reproducing this whole thing so even though > I'm screensharing right now and running a test build... 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. -- Alan Third