From: Aaron Jensen <aaronjensen@gmail.com>
To: Alan Third <alan@idiocy.org>,
Aaron Jensen <aaronjensen@gmail.com>,
Eli Zaretskii <eliz@gnu.org>,
52085@debbugs.gnu.org
Subject: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS
Date: Sat, 23 Jul 2022 10:37:11 -0400 [thread overview]
Message-ID: <CAHyO48xwbsErK3SCuatfSGeaPPVk46sroLGF5Vo7zyNxbD0Lkg@mail.gmail.com> (raw)
In-Reply-To: <CAHyO48w34va9AbGuCX6a=d3VpvLXmyQ7POLK=LfjhLD=_+nX+Q@mail.gmail.com>
On Sun, Dec 19, 2021 at 4:57 PM Aaron Jensen <aaronjensen@gmail.com> wrote:
>
> On Sun, Dec 12, 2021 at 7:08 AM Alan Third <alan@idiocy.org> wrote:
> >
> > On Thu, Dec 09, 2021 at 02:38:59AM -0500, Aaron Jensen wrote:
> > > On Thu, Dec 9, 2021 at 2:27 AM Eli Zaretskii <eliz@gnu.org> wrote:
> > > >
> > > > > From: Aaron Jensen <aaronjensen@gmail.com>
> > > > > 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.
>
> Ah, sorry I misunderstood. This worked. There are lots of displays
> happening and I am not seeing the behavior anymore. I'm also on a new
> machine, though I have seen the behavior a couple times on it prior to
> trying this. I'll take the log out and see if it starts happening
> again.
>
> Aaron
Hi Alan,
Unfortunately, I've been seeing rendering artifacts lately. Parts of
one line will be painted over other lines and remain while scrolling.
I think it's similar to what I've seen before. I'm on macOS 12.4 and
Emacs master compiled a couple weeks ago.
I don't have a consistent repro, but one time I notice it is while
switching buffers.
Thanks,
Aaron
prev parent reply other threads:[~2022-07-23 14:37 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
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 [this message]
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=CAHyO48xwbsErK3SCuatfSGeaPPVk46sroLGF5Vo7zyNxbD0Lkg@mail.gmail.com \
--to=aaronjensen@gmail.com \
--cc=52085@debbugs.gnu.org \
--cc=alan@idiocy.org \
--cc=eliz@gnu.org \
/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).