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#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS Date: Tue, 7 Dec 2021 22:14:07 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26239"; mail-complaints-to="usenet@ciao.gmane.io" To: Alan Third , Aaron Jensen , 52085@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 08 04:15:12 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 1munQG-0006Yp-3K for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Dec 2021 04:15:12 +0100 Original-Received: from localhost ([::1]:37476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1munQE-0005Wt-AP for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Dec 2021 22:15:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1munQ6-0005Wk-KK for bug-gnu-emacs@gnu.org; Tue, 07 Dec 2021 22:15:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1munQ6-0000ED-Cx for bug-gnu-emacs@gnu.org; Tue, 07 Dec 2021 22:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1munQ6-0002XW-10 for bug-gnu-emacs@gnu.org; Tue, 07 Dec 2021 22:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Dec 2021 03:15: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.16389332729710 (code B ref 52085); Wed, 08 Dec 2021 03:15:01 +0000 Original-Received: (at 52085) by debbugs.gnu.org; 8 Dec 2021 03:14:32 +0000 Original-Received: from localhost ([127.0.0.1]:39277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1munPY-0002WV-Mu for submit@debbugs.gnu.org; Tue, 07 Dec 2021 22:14:32 -0500 Original-Received: from mail-lj1-f178.google.com ([209.85.208.178]:36849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1munPU-0002WF-0g for 52085@debbugs.gnu.org; Tue, 07 Dec 2021 22:14:27 -0500 Original-Received: by mail-lj1-f178.google.com with SMTP id i63so1677864lji.3 for <52085@debbugs.gnu.org>; Tue, 07 Dec 2021 19:14:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=lpxop5vZXxL9G5xXYN+oPtuZQDqpBk4KhlC/mymaakQ=; b=HwJxECaUbaqmS+CkY508eltI6Ha4fiai5nDiYFR57S5D4yyGcNAR1bOmVlpkpLgaUC CMmUsBU5261UMpe9dykS4PmnCkR3ZOIiyHN0N/p+UWEoNFUtjF7tz57YSBzmrDD6C4bx Hgr5ytWh2aH9C4zY9F0Z0ZFt4bok0pf8IQtoIPQL7e+YFiDD7zmJnICdE+i4EdldhLfw x4dOzfQI27/s3EJG5A+y/2vZhWNJFizYm8VcwXmkI9uonxpSh/c5SS6l7JqNIFotI9Xe hDKzjkP4ZypcbvX+LEYNqotK02Nly91+DEA4V0b0Ab6oPlyLVy3BkDIndVxbURC6omIm KtRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=lpxop5vZXxL9G5xXYN+oPtuZQDqpBk4KhlC/mymaakQ=; b=bLb9EGf4gXOMODhmBhhWUjSYQ2xbe4bFe9zuPhomjQP7Oh+LZIg9HtuTVNfIinMnfW zHlhohsiH2dn1oKRf+toJT09gsn60RWqTU+4S9yIZtZRMDqW6oNVEOyf30t1hm41SaRM ZgBgPZ87Ev9jN/Y/pS7PkWlz1EdLj5cCqxeAb8lOWxN3zd+y+ecd32O9xFtOKV7WEcRk kZ+rXNJj+8TUigmuxkincNXJ9ErY7nyZsDvcokgf/J/obiuVD9o7h5TdtfOE47tLIuGW Wn3USwFnPoHUjJxwtFYEMAyNb9Us6acVIxVfVeICRoGUkpEMRvGEHRkkUtv94DPxnV4T qHwQ== X-Gm-Message-State: AOAM531A17urSc8PAIeQhslOwQM1jAaI7GVg/KiI/gDkpyjmvkmSB6XO fhqHKMAy5S7zPCV18mGmFBQWyZCoK4Z2ACbNgps= X-Google-Smtp-Source: ABdhPJx+VnoZQZpwUy/9ENTjdHCVSO9ELCg00xYRxreKJ5APfmh22sewOEyfSJ2+Oj4RzMAgslgNC1zpWAU6J+yPZ2g= X-Received: by 2002:a2e:9a8c:: with SMTP id p12mr46512705lji.526.1638933258036; Tue, 07 Dec 2021 19:14:18 -0800 (PST) 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:221904 Archived-At: 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... Rudolf, if you can reproduce it consistently could you try the building with that logging enabled?