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: Thu, 9 Dec 2021 02:38:59 -0500 Message-ID: References: <83tufiutld.fsf@gnu.org> 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="3284"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Third , 52085@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 09 08:40: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 1mvE2G-0000iD-0I for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Dec 2021 08:40:12 +0100 Original-Received: from localhost ([::1]:38548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvE2E-0006kx-EL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Dec 2021 02:40:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvE26-0006ko-RU for bug-gnu-emacs@gnu.org; Thu, 09 Dec 2021 02:40:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvE26-00020O-Hk for bug-gnu-emacs@gnu.org; Thu, 09 Dec 2021 02:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvE26-00068g-Cg for bug-gnu-emacs@gnu.org; Thu, 09 Dec 2021 02:40: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: Thu, 09 Dec 2021 07:40: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.163903555823542 (code B ref 52085); Thu, 09 Dec 2021 07:40:02 +0000 Original-Received: (at 52085) by debbugs.gnu.org; 9 Dec 2021 07:39:18 +0000 Original-Received: from localhost ([127.0.0.1]:42301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvE1O-00067e-3X for submit@debbugs.gnu.org; Thu, 09 Dec 2021 02:39:18 -0500 Original-Received: from mail-pf1-f180.google.com ([209.85.210.180]:42676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvE1M-00067P-3f for 52085@debbugs.gnu.org; Thu, 09 Dec 2021 02:39:16 -0500 Original-Received: by mail-pf1-f180.google.com with SMTP id u80so4636853pfc.9 for <52085@debbugs.gnu.org>; Wed, 08 Dec 2021 23:39:16 -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 :cc; bh=dJeJChB/+ZecNlZDuE/auDhuA9vug+55hrBcNGXMpVY=; b=nMX2FO+6OpCaOoNqWiLGGuenL6uf6xZ9nMdMVLNnwpghIyxWjGh4vJAIUCzLpNnmPS j710mWA6ihLFXfl7L/6BfoGc4N/cekWKtfG/GtrUKaccj92gmy+X1NZOeRh7h/q80UaK Y4n++QFpQvWc12tybnBtJd9+AaWwhABLYNEh2dJ/9zd6AJ6q3snw2WtVKJliVRUW/7jM pubEuX0uT0tVDfVpv/VK6mzA7aZ1nKugE7VtVbs8ZRZjr/Tac5Ka9yQ5XGNMIxs8Y3iu 1ErHS5ZyZ4GyrlwphGoyE+TcxEAo9k0OpQmq5RZhUWqH/cIzBRrrfjGm8j3fB3adEpCk QULQ== 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:cc; bh=dJeJChB/+ZecNlZDuE/auDhuA9vug+55hrBcNGXMpVY=; b=kZiXNiGKe6wqEb028o75TKJhLqZj6o2iBp4wnfaYlSCcTIJFAIK8v6rM5JOUKA71b6 Y9PZOdMXs24bxvv9QP5eaOUuvW/yOPhKxtjdhIuNXC7KJRVp8U7Tto5FWXQpFNU/wzJQ XAo3OmimWU63YoVL4ovBmYU12LS8jijz8EBKYXgh0CrC+lujcylTc5a7V7InKFrqKDFI ZqDhgq5DOQ5fCuvXgrV1T0P0a7NPKWrFyN35U4efEfIrHlr+GUpT1oLtJVrxrQv6jSYV GKMtDdMBJBDcau2qmhjl5ebONGkKM/+mMG8dcl2kN3lw+0ulMIw9981v+ASqXU4CJuNj l2HQ== X-Gm-Message-State: AOAM532sPfl8Zj5tQ/ct3/knxNxJ1s4zjZisKVYHjR6/Q2lOFV78wHex f6ImfQIEGnRh9l7kXk+1Oz2Wta4VT2KajR7bu6ztsZYntk4= X-Google-Smtp-Source: ABdhPJwMQ+f7oWp6fHfUvsRGc0cPmPuG4Q3CdSRBTfIFm6T4qy9xhvyj3vTogSWEuzWjkCowPKXzkMytwVG75lvJNeU= X-Received: by 2002:a05:6a00:2487:b0:4af:94c7:8aae with SMTP id c7-20020a056a00248700b004af94c78aaemr9996716pfv.31.1639035550246; Wed, 08 Dec 2021 23:39:10 -0800 (PST) In-Reply-To: <83tufiutld.fsf@gnu.org> 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:221982 Archived-At: On Thu, Dec 9, 2021 at 2:27 AM Eli Zaretskii wrote: > > > From: Aaron Jensen > > 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...