unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Aaron Jensen <aaronjensen@gmail.com>,
	Alan Third <alan@idiocy.org>,
	Aaron Jensen <aaronjensen@gmail.com>,
	52085@debbugs.gnu.org
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	[thread overview]
Message-ID: <m2sfv34ct4.fsf@me.com> (raw)
In-Reply-To: <CAHyO48w=r6jdq3ymwk0mZ0qPLaHtrt0Rc8L+q4fP8e58YX+12w@mail.gmail.com>

Aaron Jensen <aaronjensen@gmail.com> writes:

> On Sat, Dec 4, 2021 at 5:48 AM Alan Third <alan@idiocy.org> 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 <alan@idiocy.org> 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 doing any basic investigation.

(For the sake of completeness, I also found that the screen "falls apart" only when I share a screen different than the one Firefox/Jitsi exist on.)

Rudy
-- 
"Logic is a science of the necessary laws of thought, without which no employment of the understanding and the reason takes place." -- Immanuel Kant, 1785

Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia





  reply	other threads:[~2021-12-08 10:21 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-25  1:12 bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS Aaron Jensen
2021-11-30 15:49 ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-30 18:18   ` Aaron Jensen
2021-12-02 12:45     ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-07 20:30       ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-02 22:22     ` Alan Third
2021-12-02 22:22 ` Alan Third
2021-12-03  5:14   ` Aaron Jensen
2021-12-04 10:48     ` Alan Third
2021-12-08  3:14       ` Aaron Jensen
2021-12-08 10:21         ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-12-08 21:23         ` Alan Third
2021-12-08 21:33           ` Aaron Jensen
2021-12-09  7:26             ` Eli Zaretskii
2021-12-09  7:38               ` Aaron Jensen
2021-12-12 12:08                 ` Alan Third
2021-12-19 21:57                   ` Aaron Jensen
2022-07-23 14:37                     ` Aaron Jensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2sfv34ct4.fsf@me.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=52085@debbugs.gnu.org \
    --cc=aaronjensen@gmail.com \
    --cc=alan@idiocy.org \
    --cc=salutis@me.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).