From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS Date: Wed, 08 Dec 2021 11:21:27 +0100 Message-ID: References: Reply-To: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= 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="31871"; mail-complaints-to="usenet@ciao.gmane.io" To: Aaron Jensen , 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 11:22:19 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 1muu5b-00080F-IA for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Dec 2021 11:22:19 +0100 Original-Received: from localhost ([::1]:43844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muu5Z-0001Sv-Vp for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Dec 2021 05:22:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muu5N-0001Sh-7k for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2021 05:22:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56278) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muu5K-0005xX-MB for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2021 05:22:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1muu5K-0004fX-Cw for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2021 05:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Dec 2021 10:22: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.163895890017919 (code B ref 52085); Wed, 08 Dec 2021 10:22:02 +0000 Original-Received: (at 52085) by debbugs.gnu.org; 8 Dec 2021 10:21:40 +0000 Original-Received: from localhost ([127.0.0.1]:39591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muu4y-0004ex-Gm for submit@debbugs.gnu.org; Wed, 08 Dec 2021 05:21:40 -0500 Original-Received: from mr85p00im-zteg06012001.me.com ([17.58.23.197]:52474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muu4w-0004eg-4Y for 52085@debbugs.gnu.org; Wed, 08 Dec 2021 05:21:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1638958892; bh=3x5bjTLln2/06pcukxonCSj7k+HkAl4jflEx/O7s1og=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=zmdRE792mB/4xYtEzUjxeSjW9KrnXw5JIREYeQcgrO1/3TNPacgVAP9ih8PAqZbts OIO2rpnV23aqHg/NBFSzfofSyxG5bRNIOiZln93gF7KyZ22siRZKytF4rC5y1i7s9K 2VyY4UMFxfbHtvINh9j3mo4NBuX/XpX2Eyr+KxXrbPigxeB0Y2Xre97vbLgJTglXlj xkVLqyHwh1AAiaCAGpXLoVehrt9FYMO4rXZPlQdGh2le8sb91qICnECFyklcTjrIYR QtnX4+0kzm9f/rZh1tadTSdm2Q79+TdGn0dWIFV/Uqc3cqd5X0nh4BAc5+qJFhBgKr 2xuJPNFQq1uIQ== Original-Received: from Workstation.local (78-141-116-131.dynamic.orange.sk [78.141.116.131]) by mr85p00im-zteg06012001.me.com (Postfix) with ESMTPSA id 2849CA008CC; Wed, 8 Dec 2021 10:21:30 +0000 (UTC) In-Reply-To: X-Proofpoint-Virus-Version: vendor=fsecure engine=1.1.170-22c6f66c430a71ce266a39bfe25bc2903e8d5c8f:6.0.425, 18.0.790, 17.11.62.513.0000000 definitions=2021-12-08_02:2021-12-06_02, 2021-12-08_02, 2021-12-02_01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 suspectscore=0 clxscore=1015 adultscore=0 mlxscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2112080067 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:221916 Archived-At: Aaron Jensen writes: > 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? I found that the bug I experience applies to all software, not just Emacs. = Thus, disregard all my words above. I apologize for chiming in without do= ing any basic investigation. (For the sake of completeness, I also found that the screen "falls apart" o= nly when I share a screen different than the one Firefox/Jitsi exist on.) Rudy --=20 "Logic is a science of the necessary laws of thought, without which no empl= oyment of the understanding and the reason takes place." -- Immanuel Kant, = 1785 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia