From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 24 20:21:12 2021 Received: (at submit) by debbugs.gnu.org; 25 Nov 2021 01:21:12 +0000 Received: from localhost ([127.0.0.1]:55333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mq3Rn-0007n2-6E for submit@debbugs.gnu.org; Wed, 24 Nov 2021 20:21:11 -0500 Received: from lists.gnu.org ([209.51.188.17]:38886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mq3Rj-0007mt-1j for submit@debbugs.gnu.org; Wed, 24 Nov 2021 20:21:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mq3Ri-0004zV-TN for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2021 20:21:06 -0500 Received: from [2607:f8b0:4864:20::734] (port=47078 helo=mail-qk1-x734.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mq3Rg-0001TF-7q for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2021 20:21:06 -0500 Received: by mail-qk1-x734.google.com with SMTP id a11so6890891qkh.13 for ; Wed, 24 Nov 2021 17:21:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=D2uxF9pBTZbx+lHUERGze1uxkRuduOnqUPbkNczZftA=; b=p6hNe3b9kpDCs89GIYPW0DwdW9NlfjspsuyVs5D9Bcs2qC7FEgat9erK/OFUS/IX3S eF0iZ3vP+2XJOR/A2idREAmoZEjW3c6ZfM1NAkZgbeU/ZgTpodEtWnJaGngsE/vr/vRL 2sCCW3lBaSPE+mbIRHBTHazdyCIOtqQlBUK2BJf1FmHfdjLeejcoRky/oq4bhWwGVo1B FMMZy0KeNIgJ9wyny8QvEXZK57GeUhThfhAVnMGoA+EbPvPCuj0mzZ6NBRr0EtPmPKF6 ta/73tCyAgkXNq6xU9JGm/bylHiaXFaRcoJLojIR8bwvZz7Q1LUNdxionvwthhb2EzyV GaCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=D2uxF9pBTZbx+lHUERGze1uxkRuduOnqUPbkNczZftA=; b=oq7xPAySybZKBhYnjZt2nS8QdmiYA7x7CrLO0Jyrxiaqa0vSXg2J/DU9hl1vcAnsJv SlhwTjWzddbqfn1H9pajwosyxNT2M86h+IdBzqstosHIVcKL9W5OHoHnKEZMa4xbyqgn kZFexPCI50ItJaBDjGSeEZrFp6zyYY/wtcpokXG+dv99Tww1/5Qzx1cz6josemYOoKDP /km3GPZXiZlFSe5I4hcjG8zHPFs3e2zItvYKdbfcWpwnVZY1WGJQ+DQgY0phaZ72muJJ M8oGA2CN7Jjgns5XDsEX5grTbcTvCBXfSuAJYkEtUbB8mug1UkE1r8JJRUUlnN0y8UYs RbWg== X-Gm-Message-State: AOAM532RnP49PnBOttiW96cVjGXyYMZ8NGhLJjrkv4bs+3V27Vd9YlRV m7M7IAxMJM+kW6nFZ1dTkGIyonDA+f3n/w== X-Google-Smtp-Source: ABdhPJxd8R+QfXckXx1Ie6DXlHu21t3JufkR400AhakkjqoIrDGnmSwA3C9vFySf59vMDjwBJz10xg== X-Received: by 2002:a05:622a:242:: with SMTP id c2mr3843302qtx.563.1637802779909; Wed, 24 Nov 2021 17:12:59 -0800 (PST) Received: from Aarons-MacBook-Pro.local (c-69-137-9-95.hsd1.fl.comcast.net. [69.137.9.95]) by smtp.gmail.com with ESMTPSA id f21sm744598qte.52.2021.11.24.17.12.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Nov 2021 17:12:59 -0800 (PST) From: Aaron Jensen To: bug-gnu-emacs@gnu.org Subject: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS Date: Wed, 24 Nov 2021 20:12:53 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::734 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::734; envelope-from=aaronjensen@gmail.com; helo=mail-qk1-x734.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I still need to try this with emacs -Q, but I have seen this for some time now (possibly since Alan's recent batch of changes to macOS rendering) If I am screen sharing on zoom, I will often issue a command that I expect to repaint the frame and it will not. If I issue another then it repaints immediately with both commands having been realized. This *only* happens when screen sharing with Zoom. I will try other screen sharing software to see if it is a Zoom specific thing. I am typically sharing just the Emacs window (and maybe an iTerm and a browser), but never full screen sharing. Alan, is there anything that you could think of that could cause something like this to happen? Is there logging I could add to help get to the bottom of it? Thanks, Aaron In GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin21.2.0, NS appkit-2112.20 Version 12.1 (Build 21C5021h)) of 2021-11-13 built on Aarons-MacBook-Pro.local Windowing system distributor 'Apple', version 10.3.2112 System Description: macOS 12.1 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-plus@29/29.0.50/share/info/emacs --prefix=/usr/local/Cellar/emacs-plus@29/29.0.50 --with-xml2 --with-gnutls --with-native-compilation --without-dbus --without-imagemagick --with-modules --with-rsvg --with-ns --disable-ns-self-contained 'CFLAGS=-I/usr/local/opt/gcc/include -I/usr/local/opt/libgccjit/include -I/usr/local/opt/gmp/include -I/usr/local/opt/jpeg/include' 'LDFLAGS=-L/usr/local/lib/gcc/11 -I/usr/local/opt/gcc/include -I/usr/local/opt/libgccjit/include -I/usr/local/opt/gmp/include -I/usr/local/opt/jpeg/include'' Configured features: ACL GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF TOOLKIT_SCROLL_BARS XIM ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Features: (shadow sort mail-extr emacsbug sendmail wgrep embark-consult embark ffap use-package-core org-goto evil-matchit-simple evil-matchit-prog evil-nerd-commenter evil-nerd-commenter-operator evil-nerd-commenter-sdk rotate wdired image-file image-converter org-drill persist conf-mode lsp-diagnostics lsp-modeline lsp-lens lsp-ui lsp-ui-flycheck lsp-ui-doc lsp-ui-imenu lsp-ui-peek lsp-ui-sideline lsp-ui-util yaml-mode tramp-cmds cal-move evil-collection-vterm vterm term ehelp vterm-module term/xterm xterm vterm-toggle tramp-sh goto-addr consult-vertico consult tabify css-mode emmet-mode cl web-mode company-rg company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-clang company-cmake company-semantic company-template company-bbdb restart-emacs desktop frameset tree-sitter-langs tree-sitter-langs-build tar-mode evil-collection-arc-mode arc-mode archive-mode tree-sitter-hl tree-sitter tree-sitter-load tree-sitter-cli tsc tsc-dyn tsc-dyn-get dired-aux tsc-obsolete evil-ruby-text-objects ruby-refactor ruby-electric bundler enh-ruby-mode magit-extras tramp-cache prettier tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat ls-lisp nvm iter2 rspec-mode inf-ruby ruby-mode typescript-mode rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid nxml-mode nxml-outln nxml-rap sgml-mode facemenu sql json-mode json-snatcher js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs lsp-zig lsp-steep lsp-svelte lsp-sqls lsp-yaml lsp-xml lsp-vimscript lsp-vhdl lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v lsp-terraform lsp-tex lsp-sorbet lsp-solargraph lsp-rust lsp-rf lsp-r lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh lsp-php lsp-perl lsp-ocaml lsp-nix lsp-nim lsp-markdown lsp-lua lsp-kotlin lsp-json lsp-javascript lsp-haxe lsp-groovy lsp-hack lsp-graphql lsp-go lsp-completion lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-elixir lsp-elm lsp-dockerfile lsp-dhall lsp-d lsp-css lsp-csharp gnutls lsp-crystal lsp-cmake lsp-clojure lsp-semantic-tokens lsp-clangd lsp-beancount lsp-bash lsp-angular lsp-ada lsp-actionscript lsp-mode lsp-protocol spinner network-stream markdown-mode lua-mode sh-script smie org-clock magit-bookmark bookmark vertico-directory diary-lib diary-loaddefs executable vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc bug-reference magit-delta company-files company-capf company-posframe company-prescient company-tng company eval-sexp-fu eros lispyville lispy hydra lv swiper ivy ivy-faces ivy-overlay colir lispy-inline avy etags fileloop lispy-tags elisp-def ert ewoc evil-collection-debug debug evil-collection-xref xref project sotlisp skeleton evil-vimish-fold vimish-fold dtrt-indent vc-git vc-dispatcher cursor-sensor evil-collection-magit magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit package url-handlers magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode diff-mode git-commit log-edit view elec-pair org-eldoc org-appear orgonomic org-indent org-superstar form-feed ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt speedbar ezimage dframe gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr kinsoku svg dom browse-url gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message yank-media gnus-win gnus nnheader ol-docview doc-view jka-compr image-mode exif ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi org-journal org-crypt ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda ox-ascii ox-gfm ox-md ox-html table ox-publish ox org-download org-attach async vulpea vulpea-meta vulpea-select vulpea-buffer vulpea-db vulpea-utils vulpea-note org-roam-migrate org-roam-mode org-roam-capture org-roam-node org-roam-db org-roam-utils org-roam-compat org-roam org-mac-link org-capture emacsql-sqlite emacsql emacsql-compiler org-tempo tempo evil-org-agenda evil-org org-element org-persist xdg org-id org-refile avl-tree generator ob-shell org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex iso8601 ol org-keys oc org-compat org-macs org-loaddefs cal-iso cal-menu calendar cal-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor magit-mode transient-posframe transient format-spec magit-git magit-section magit-utils crm time-date flycheck yasnippet treemacs-themes treemacs-core-utils pfuture inline hl-line ht treemacs-logging treemacs-customization treemacs-macros autorevert hide-mode-line popup-mode-core popup-mode-hacks pcase evil-collection-which-key which-key-posframe which-key winner filenotify rainbow-mode xterm-color color posframe evil-collection-helpful helpful imenu trace evil-collection-edebug edebug backtrace info-look f help-fns radix-tree elisp-refs s dired-subtree dired-hacks-utils evil-collection-dired dired dired-loaddefs dash evil-collection-profiler profiler url-http url url-proxy url-privacy url-expand url-methods url-history mailcap url-auth url-cookie url-domsuf url-util url-gw url-parse auth-source password-cache url-vars nsm rmc puny recentf tree-widget better-jumper repeat undo-tree diff queue evil-nl-break-undo evil-anzu anzu evil-collection-unimpaired evil-collection-ibuffer evil-collection-help evil-collection-custom evil-collection-process-menu evil-collection annalist evil-mc evil-mc-command-execute evil-mc-command-record evil-mc-cursor-make evil-mc-region evil-mc-cursor-state evil-mc-undo evil-mc-vars evil-mc-known-commands evil-mc-common evil-numbers evil-snipe evil-matchit evil-matchit-sdk semantic/lex semantic/fw eieio eieio-core eieio-loaddefs mode-local find-func evil-surround evil evil-integration cus-edit pp cus-start cus-load wid-edit evil-maps evil-commands reveal flyspell ispell evil-jumps evil-command-window evil-search evil-ex shell pcomplete evil-types evil-macros evil-repeat evil-states evil-core evil-common windmove calc calc-loaddefs calc-macs rect evil-digraphs evil-vars envrc inheritenv json map nano-modeline memoize persp-projectile projectile lisp-mnt mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr grep compile text-property-search comint ansi-color ibuf-ext ibuffer ibuffer-loaddefs perspective advice thingatpt ido comp comp-cstr warnings rx mini-frame server gcmh nano-light-theme face-remap nano-theme disp-table gcmh-autoloads explain-pause-mode-autoloads pdf-tools-autoloads tablist-autoloads restclient-autoloads vterm-toggle-autoloads vterm-autoloads dumb-jump-autoloads popup-autoloads emmet-mode-autoloads terraform-mode-autoloads hcl-mode-autoloads dockerfile-mode-autoloads yaml-mode-autoloads json-snatcher-autoloads lua-mode-autoloads ruby-electric-autoloads bundler-autoloads inf-ruby-autoloads ruby-refactor-autoloads rspec-mode-autoloads evil-ruby-text-objects-autoloads enh-ruby-mode-autoloads sotlisp-autoloads elisp-def-autoloads lispyville-autoloads lispy-autoloads zoutline-autoloads counsel-autoloads swiper-autoloads ivy-autoloads iedit-autoloads eros-autoloads eval-sexp-fu-autoloads eslintd-fix-autoloads web-mode-autoloads typescript-mode-autoloads company-rg-autoloads company-posframe-autoloads company-prescient-autoloads company-autoloads git-link-autoloads git-timemachine-autoloads magit-delta-autoloads xterm-color-autoloads prettier-autoloads nvm-autoloads iter2-autoloads flycheck-autoloads let-alist-autoloads pkg-info-autoloads epl-autoloads evil-textobj-tree-sitter-autoloads tree-sitter-langs-autoloads tree-sitter-autoloads tsc-autoloads lsp-ui-autoloads lsp-mode-autoloads markdown-mode-autoloads spinner-autoloads org-superstar-autoloads ox-gfm-autoloads org-pandoc-import-autoloads gnuplot-autoloads org-download-autoloads async-autoloads org-journal-autoloads deft-autoloads vulpea-autoloads org-roam-autoloads emacsql-sqlite-autoloads emacsql-autoloads orgonomic-autoloads org-drill-autoloads persist-autoloads org-appear-autoloads org-contrib-autoloads evil-org-autoloads transient-posframe-autoloads restart-emacs-autoloads better-jumper-autoloads buffer-move-autoloads rotate-autoloads mini-frame-autoloads embark-consult-autoloads embark-autoloads consult-dir-autoloads project-autoloads xref-autoloads consult-autoloads orderless orderless-autoloads vertico-mouse vertico vertico-autoloads persp-projectile-autoloads prescient prescient-autoloads which-key-posframe-autoloads which-key-autoloads popup-mode popup-mode-settings popup-mode-autoloads hide-mode-line-autoloads wgrep-autoloads yasnippet-autoloads form-feed-autoloads drag-stuff-autoloads dtrt-indent-autoloads ws-butler ws-butler-autoloads evil-vimish-fold-autoloads vimish-fold-autoloads evil-anzu-autoloads anzu-autoloads evil-collection-autoloads annalist-autoloads evil-mc-autoloads evil-numbers-autoloads speeddating-autoloads evil-snipe-autoloads evil-matchit-autoloads evil-nerd-commenter-autoloads evil-visualstar-autoloads evil-surround-autoloads evil-nl-break-undo-autoloads undo-tree-autoloads queue-autoloads treemacs-perspective-autoloads perspective-autoloads treemacs-magit-autoloads magit-autoloads magit-section-autoloads git-commit-autoloads with-editor-autoloads transient-autoloads treemacs-all-the-icons-autoloads all-the-icons-autoloads treemacs-projectile-autoloads treemacs-evil-autoloads evil-autoloads goto-chg-autoloads treemacs-autoloads cfrs-autoloads ht-autoloads pfuture-autoloads ace-window-autoloads avy-autoloads projectile-autoloads saveplace rainbow-mode-autoloads posframe-autoloads ns-auto-titlebar ns-auto-titlebar-autoloads nano-modeline-autoloads memoize-autoloads nano-theme-autoloads envrc-autoloads inheritenv-autoloads compdef derived compdef-autoloads edmacro kmacro ring helpful-autoloads elisp-refs-autoloads f-autoloads s-autoloads dired-subtree-autoloads dired-hacks-utils-autoloads dash-autoloads hydra-autoloads lv-autoloads leader-key bind-map leader-key-autoloads bind-map-autoloads delsel savehist xt-mouse no-littering no-littering-autoloads finder-inf bind-key easy-mmode compat-autoloads compat compat-28.1 compat-27.1 compat-26.1 compat-25.1 compat-24.4 use-package-autoloads bind-key-autoloads straight-autoloads cl-seq info cl-extra help-mode seq byte-opt straight subr-x cl-macs gv bytecomp byte-compile cconv cl-loaddefs cl-lib display-line-numbers iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 2867922 1088976) (symbols 48 89673 2) (strings 32 363999 172828) (string-bytes 1 15018849) (vectors 16 260455) (vector-slots 8 5514205 431800) (floats 8 1228 4242) (intervals 56 149462 2507) (buffers 992 247)) From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 30 10:49:18 2021 Received: (at 52085) by debbugs.gnu.org; 30 Nov 2021 15:49:18 +0000 Received: from localhost ([127.0.0.1]:42183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms5Nd-0008M5-C1 for submit@debbugs.gnu.org; Tue, 30 Nov 2021 10:49:18 -0500 Received: from mr85p00im-ztdg06011801.me.com ([17.58.23.199]:38264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms5Nb-0008Lq-5m for 52085@debbugs.gnu.org; Tue, 30 Nov 2021 10:49:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1638287349; bh=g04CJ3Lt25GD7YLf0OcGedbkiP593T05C8N19JCUvgk=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=bTLypt0UcnJL5fRbjGd2K8KpZ0WjM+rblMthc7PnZkaqNl3UU+Wdsmteci2w1w/hv p0fVUMl4GfEg+9yY67eWyWK0aMFCAwgAN6rIaKfOOOmun9oslZWXG8XB/9Bd3/f34Q EuPiXV+IwMr6WKWjoCjOixFcF1r2cnZpxsVLphIeWoGelDYlUrS5sFD/iVdvo0aErA GLBdrVWQKRoD5lWHTsuSxNw5V8tKPnv/+9i74BA9yYZ+KcwmGgDRRrqdgVK5dPYhjK 3u9Tpm6dqgWPn09yJaD6j9qlhi38KOiKC4iB74Y1ItYxSZ3jwrcl99CEOIuW4ueCCI WBXBK9mgvGOSQ== Received: from Workstation.local (78-141-116-131.dynamic.orange.sk [78.141.116.131]) by mr85p00im-ztdg06011801.me.com (Postfix) with ESMTPSA id BE401C063E; Tue, 30 Nov 2021 15:49:07 +0000 (UTC) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Aaron Jensen , 52085@debbugs.gnu.org Subject: Re: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS In-Reply-To: References: Date: Tue, 30 Nov 2021 16:49:02 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.425,18.0.790,17.0.607.475.0000000_definitions?= =?UTF-8?Q?=3D2021-11-30=5F09:2021-11-25=5F02,2021-11-30=5F09,2020-04-07?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 clxscore=1011 mlxlogscore=999 mlxscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2111300083 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52085 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) I have the same problem (every day) but with the open-source Jitsi screen-s= haring program. R+ Aaron Jensen writes: > I still need to try this with emacs -Q, but I have seen this for some > time now (possibly since Alan's recent batch of changes to macOS > rendering) > > If I am screen sharing on zoom, I will often issue a command that I > expect to repaint the frame and it will not. If I issue another then it > repaints immediately with both commands having been realized. This > *only* happens when screen sharing with Zoom. I will try other screen > sharing software to see if it is a Zoom specific thing. I am typically > sharing just the Emacs window (and maybe an iTerm and a browser), but > never full screen sharing. > > Alan, is there anything that you could think of that could cause > something like this to happen? Is there logging I could add to help get > to the bottom of it? > > Thanks, > > Aaron > > In GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin21.2.0, NS appkit-2112.= 20 Version 12.1 (Build 21C5021h)) > of 2021-11-13 built on Aarons-MacBook-Pro.local > Windowing system distributor 'Apple', version 10.3.2112 > System Description: macOS 12.1 > > Configured using: > 'configure --disable-dependency-tracking --disable-silent-rules > --enable-locallisppath=3D/usr/local/share/emacs/site-lisp > --infodir=3D/usr/local/Cellar/emacs-plus@29/29.0.50/share/info/emacs > --prefix=3D/usr/local/Cellar/emacs-plus@29/29.0.50 --with-xml2 > --with-gnutls --with-native-compilation --without-dbus > --without-imagemagick --with-modules --with-rsvg --with-ns > --disable-ns-self-contained 'CFLAGS=3D-I/usr/local/opt/gcc/include > -I/usr/local/opt/libgccjit/include -I/usr/local/opt/gmp/include > -I/usr/local/opt/jpeg/include' 'LDFLAGS=3D-L/usr/local/lib/gcc/11 > -I/usr/local/opt/gcc/include -I/usr/local/opt/libgccjit/include > -I/usr/local/opt/gmp/include -I/usr/local/opt/jpeg/include'' > > Configured features: > ACL GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP > NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF TOOLKIT_SCROLL_BARS XIM > ZLIB > > Important settings: > value of $LANG: en_US.UTF-8 > locale-coding-system: utf-8-unix > > Features: > (shadow sort mail-extr emacsbug sendmail wgrep embark-consult embark > ffap use-package-core org-goto evil-matchit-simple evil-matchit-prog > evil-nerd-commenter evil-nerd-commenter-operator evil-nerd-commenter-sdk > rotate wdired image-file image-converter org-drill persist conf-mode > lsp-diagnostics lsp-modeline lsp-lens lsp-ui lsp-ui-flycheck lsp-ui-doc > lsp-ui-imenu lsp-ui-peek lsp-ui-sideline lsp-ui-util yaml-mode > tramp-cmds cal-move evil-collection-vterm vterm term ehelp vterm-module > term/xterm xterm vterm-toggle tramp-sh goto-addr consult-vertico consult > tabify css-mode emmet-mode cl web-mode company-rg company-oddmuse > company-keywords company-etags company-gtags company-dabbrev-code > company-dabbrev company-clang company-cmake company-semantic > company-template company-bbdb restart-emacs desktop frameset > tree-sitter-langs tree-sitter-langs-build tar-mode > evil-collection-arc-mode arc-mode archive-mode tree-sitter-hl > tree-sitter tree-sitter-load tree-sitter-cli tsc tsc-dyn tsc-dyn-get > dired-aux tsc-obsolete evil-ruby-text-objects ruby-refactor > ruby-electric bundler enh-ruby-mode magit-extras tramp-cache prettier > tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat > ls-lisp nvm iter2 rspec-mode inf-ruby ruby-mode typescript-mode rng-xsd > xsd-regexp rng-cmpct rng-nxml rng-valid nxml-mode nxml-outln nxml-rap > sgml-mode facemenu sql json-mode json-snatcher js cc-mode cc-fonts > cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs > lsp-zig lsp-steep lsp-svelte lsp-sqls lsp-yaml lsp-xml lsp-vimscript > lsp-vhdl lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v lsp-terraform > lsp-tex lsp-sorbet lsp-solargraph lsp-rust lsp-rf lsp-r lsp-purescript > lsp-pylsp lsp-pyls lsp-pwsh lsp-php lsp-perl lsp-ocaml lsp-nix lsp-nim > lsp-markdown lsp-lua lsp-kotlin lsp-json lsp-javascript lsp-haxe > lsp-groovy lsp-hack lsp-graphql lsp-go lsp-completion lsp-gdscript > lsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-elixir lsp-elm > lsp-dockerfile lsp-dhall lsp-d lsp-css lsp-csharp gnutls lsp-crystal > lsp-cmake lsp-clojure lsp-semantic-tokens lsp-clangd lsp-beancount > lsp-bash lsp-angular lsp-ada lsp-actionscript lsp-mode lsp-protocol > spinner network-stream markdown-mode lua-mode sh-script smie org-clock > magit-bookmark bookmark vertico-directory diary-lib diary-loaddefs > executable vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc > bug-reference magit-delta company-files company-capf company-posframe > company-prescient company-tng company eval-sexp-fu eros lispyville lispy > hydra lv swiper ivy ivy-faces ivy-overlay colir lispy-inline avy etags > fileloop lispy-tags elisp-def ert ewoc evil-collection-debug debug > evil-collection-xref xref project sotlisp skeleton evil-vimish-fold > vimish-fold dtrt-indent vc-git vc-dispatcher cursor-sensor > evil-collection-magit magit-submodule magit-obsolete magit-blame > magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch > magit-clone magit-remote magit-commit magit-sequence magit-notes > magit-worktree magit-tag magit-merge magit-branch magit-reset > magit-files magit-refs magit-status magit package url-handlers > magit-repos magit-apply magit-wip magit-log which-func magit-diff > smerge-mode diff-mode git-commit log-edit view elec-pair org-eldoc > org-appear orgonomic org-indent org-superstar form-feed ol-eww eww > url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect > gnus-search eieio-opt speedbar ezimage dframe gnus-art mm-uu mml2015 > mm-view mml-smime smime dig gnus-sum shr kinsoku svg dom browse-url > gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap > nnmail mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int > gnus-range message yank-media gnus-win gnus nnheader ol-docview doc-view > jka-compr image-mode exif ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi > org-journal org-crypt ox-odt rng-loc rng-uri rng-parse rng-match rng-dt > rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex > ox-icalendar org-agenda ox-ascii ox-gfm ox-md ox-html table ox-publish > ox org-download org-attach async vulpea vulpea-meta vulpea-select > vulpea-buffer vulpea-db vulpea-utils vulpea-note org-roam-migrate > org-roam-mode org-roam-capture org-roam-node org-roam-db org-roam-utils > org-roam-compat org-roam org-mac-link org-capture emacsql-sqlite emacsql > emacsql-compiler org-tempo tempo evil-org-agenda evil-org org-element > org-persist xdg org-id org-refile avl-tree generator ob-shell org ob > ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src > ob-comint org-pcomplete org-list org-faces org-entities noutline outline > org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex > iso8601 ol org-keys oc org-compat org-macs org-loaddefs cal-iso cal-menu > calendar cal-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config > gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mailabbrev > mail-utils gmm-utils mailheader pcvs-util add-log magit-core > magit-autorevert magit-margin magit-transient magit-process with-editor > magit-mode transient-posframe transient format-spec magit-git > magit-section magit-utils crm time-date flycheck yasnippet > treemacs-themes treemacs-core-utils pfuture inline hl-line ht > treemacs-logging treemacs-customization treemacs-macros autorevert > hide-mode-line popup-mode-core popup-mode-hacks pcase > evil-collection-which-key which-key-posframe which-key winner filenotify > rainbow-mode xterm-color color posframe evil-collection-helpful helpful > imenu trace evil-collection-edebug edebug backtrace info-look f help-fns > radix-tree elisp-refs s dired-subtree dired-hacks-utils > evil-collection-dired dired dired-loaddefs dash evil-collection-profiler > profiler url-http url url-proxy url-privacy url-expand url-methods > url-history mailcap url-auth url-cookie url-domsuf url-util url-gw > url-parse auth-source password-cache url-vars nsm rmc puny recentf > tree-widget better-jumper repeat undo-tree diff queue evil-nl-break-undo > evil-anzu anzu evil-collection-unimpaired evil-collection-ibuffer > evil-collection-help evil-collection-custom evil-collection-process-menu > evil-collection annalist evil-mc evil-mc-command-execute > evil-mc-command-record evil-mc-cursor-make evil-mc-region > evil-mc-cursor-state evil-mc-undo evil-mc-vars evil-mc-known-commands > evil-mc-common evil-numbers evil-snipe evil-matchit evil-matchit-sdk > semantic/lex semantic/fw eieio eieio-core eieio-loaddefs mode-local > find-func evil-surround evil evil-integration cus-edit pp cus-start > cus-load wid-edit evil-maps evil-commands reveal flyspell ispell > evil-jumps evil-command-window evil-search evil-ex shell pcomplete > evil-types evil-macros evil-repeat evil-states evil-core evil-common > windmove calc calc-loaddefs calc-macs rect evil-digraphs evil-vars envrc > inheritenv json map nano-modeline memoize persp-projectile projectile > lisp-mnt mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums > mail-prsvr grep compile text-property-search comint ansi-color ibuf-ext > ibuffer ibuffer-loaddefs perspective advice thingatpt ido comp comp-cstr > warnings rx mini-frame server gcmh nano-light-theme face-remap > nano-theme disp-table gcmh-autoloads explain-pause-mode-autoloads > pdf-tools-autoloads tablist-autoloads restclient-autoloads > vterm-toggle-autoloads vterm-autoloads dumb-jump-autoloads > popup-autoloads emmet-mode-autoloads terraform-mode-autoloads > hcl-mode-autoloads dockerfile-mode-autoloads yaml-mode-autoloads > json-snatcher-autoloads lua-mode-autoloads ruby-electric-autoloads > bundler-autoloads inf-ruby-autoloads ruby-refactor-autoloads > rspec-mode-autoloads evil-ruby-text-objects-autoloads > enh-ruby-mode-autoloads sotlisp-autoloads elisp-def-autoloads > lispyville-autoloads lispy-autoloads zoutline-autoloads > counsel-autoloads swiper-autoloads ivy-autoloads iedit-autoloads > eros-autoloads eval-sexp-fu-autoloads eslintd-fix-autoloads > web-mode-autoloads typescript-mode-autoloads company-rg-autoloads > company-posframe-autoloads company-prescient-autoloads company-autoloads > git-link-autoloads git-timemachine-autoloads magit-delta-autoloads > xterm-color-autoloads prettier-autoloads nvm-autoloads iter2-autoloads > flycheck-autoloads let-alist-autoloads pkg-info-autoloads epl-autoloads > evil-textobj-tree-sitter-autoloads tree-sitter-langs-autoloads > tree-sitter-autoloads tsc-autoloads lsp-ui-autoloads lsp-mode-autoloads > markdown-mode-autoloads spinner-autoloads org-superstar-autoloads > ox-gfm-autoloads org-pandoc-import-autoloads gnuplot-autoloads > org-download-autoloads async-autoloads org-journal-autoloads > deft-autoloads vulpea-autoloads org-roam-autoloads > emacsql-sqlite-autoloads emacsql-autoloads orgonomic-autoloads > org-drill-autoloads persist-autoloads org-appear-autoloads > org-contrib-autoloads evil-org-autoloads transient-posframe-autoloads > restart-emacs-autoloads better-jumper-autoloads buffer-move-autoloads > rotate-autoloads mini-frame-autoloads embark-consult-autoloads > embark-autoloads consult-dir-autoloads project-autoloads xref-autoloads > consult-autoloads orderless orderless-autoloads vertico-mouse vertico > vertico-autoloads persp-projectile-autoloads prescient > prescient-autoloads which-key-posframe-autoloads which-key-autoloads > popup-mode popup-mode-settings popup-mode-autoloads > hide-mode-line-autoloads wgrep-autoloads yasnippet-autoloads > form-feed-autoloads drag-stuff-autoloads dtrt-indent-autoloads ws-butler > ws-butler-autoloads evil-vimish-fold-autoloads vimish-fold-autoloads > evil-anzu-autoloads anzu-autoloads evil-collection-autoloads > annalist-autoloads evil-mc-autoloads evil-numbers-autoloads > speeddating-autoloads evil-snipe-autoloads evil-matchit-autoloads > evil-nerd-commenter-autoloads evil-visualstar-autoloads > evil-surround-autoloads evil-nl-break-undo-autoloads undo-tree-autoloads > queue-autoloads treemacs-perspective-autoloads perspective-autoloads > treemacs-magit-autoloads magit-autoloads magit-section-autoloads > git-commit-autoloads with-editor-autoloads transient-autoloads > treemacs-all-the-icons-autoloads all-the-icons-autoloads > treemacs-projectile-autoloads treemacs-evil-autoloads evil-autoloads > goto-chg-autoloads treemacs-autoloads cfrs-autoloads ht-autoloads > pfuture-autoloads ace-window-autoloads avy-autoloads > projectile-autoloads saveplace rainbow-mode-autoloads posframe-autoloads > ns-auto-titlebar ns-auto-titlebar-autoloads nano-modeline-autoloads > memoize-autoloads nano-theme-autoloads envrc-autoloads > inheritenv-autoloads compdef derived compdef-autoloads edmacro kmacro > ring helpful-autoloads elisp-refs-autoloads f-autoloads s-autoloads > dired-subtree-autoloads dired-hacks-utils-autoloads dash-autoloads > hydra-autoloads lv-autoloads leader-key bind-map leader-key-autoloads > bind-map-autoloads delsel savehist xt-mouse no-littering > no-littering-autoloads finder-inf bind-key easy-mmode compat-autoloads > compat compat-28.1 compat-27.1 compat-26.1 compat-25.1 compat-24.4 > use-package-autoloads bind-key-autoloads straight-autoloads cl-seq info > cl-extra help-mode seq byte-opt straight subr-x cl-macs gv bytecomp > byte-compile cconv cl-loaddefs cl-lib display-line-numbers iso-transl > tooltip eldoc paren electric uniquify ediff-hook vc-hooks > lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize > mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe > tabulated-list replace newcomment text-mode lisp-mode prog-mode register > page tab-bar menu-bar rfn-eshadow isearch easymenu timer select > scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors > frame minibuffer cl-generic cham georgian utf-8-lang misc-lang > vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 > hebrew greek romanian slovak czech european ethiopic indian cyrillic > chinese composite emoji-zwj charscript charprop case-table epa-hook > jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button > loaddefs faces cus-face macroexp files window text-properties overlay > sha1 md5 base64 format env code-pages mule custom widget > hashtable-print-readable backquote threads kqueue cocoa ns lcms2 > multi-tty make-network-process native-compile emacs) > > Memory information: > ((conses 16 2867922 1088976) > (symbols 48 89673 2) > (strings 32 363999 172828) > (string-bytes 1 15018849) > (vectors 16 260455) > (vector-slots 8 5514205 431800) > (floats 8 1228 4242) > (intervals 56 149462 2507) > (buffers 992 247)) > > > --=20 "I love deadlines. I love the whooshing noise they make as they go by." -- = Douglas Adams, The Salmon of Doubt Rudolf Adamkovi=C4=8D Studenohorsk=C3=A1 25 84103 Bratislava Slovakia [he/him] From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 30 13:18:38 2021 Received: (at 52085) by debbugs.gnu.org; 30 Nov 2021 18:18:38 +0000 Received: from localhost ([127.0.0.1]:42479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms7iA-0006QV-0g for submit@debbugs.gnu.org; Tue, 30 Nov 2021 13:18:38 -0500 Received: from mail-pg1-f171.google.com ([209.85.215.171]:42545) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms7i8-0006QH-Ap for 52085@debbugs.gnu.org; Tue, 30 Nov 2021 13:18:37 -0500 Received: by mail-pg1-f171.google.com with SMTP id s37so11034794pga.9 for <52085@debbugs.gnu.org>; Tue, 30 Nov 2021 10:18:36 -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:content-transfer-encoding; bh=GGut/I7By3RxEIRVMbwQb3ByEJv99Yv4L3i0yclcyMI=; b=Ihuv5DAkh+KXcNxCP/K+14/budQjhqPIiDu/4+VE7hpbkvuyK25pT6evxGIrsVqruv oggwFTv7MS4JVAZdiNoRPsJ3qhcQeJlAKkEf2xIpdUKhF6ZscLlbbpnzvzKY5yQtpUC6 Q6zCrpJGvB4PprhuH5hY2k1wgwCXYwZEuWujPZ8qFFo6PhJJ0ZslyZxFtziRzV2nvBLG T7nnNiUy7asycG+VByLzH5+Fvrr/nNxVXx/oiMcqqJFARYr3LOglK3IOVyBgBManAV7B X7OGs+2flEH7CK+qgiBTINV5mq5baH9WNPsswYFOy711lwnl8AZ4FRVrbUbGRQ7xu3p0 J8gg== 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:content-transfer-encoding; bh=GGut/I7By3RxEIRVMbwQb3ByEJv99Yv4L3i0yclcyMI=; b=EgQokAUh3LUJzI87T3mjpRhTt5vQ5x1Fkf/F/Z+KyH55arWzDJ0XLEs508qQaRjBxz Zw4eDhxx05lF4Mxm1Oe02tSYkD07EJOYMa8VNwx+Ed7lO+oBqoGBxurWtrFBNKNGplpw fYCllWQSd7JBQCzTbJVKwLrCpuqfwvkQbhopodY246g6+kSPl09bGVxulZfnyOIIrpFs +nMJ7B+k9QeFp5rqdbomxYlbM5y06MIU4eYObO1go6ciHjqjrr4lGfr1IQpTj3Ot5ils LHLRF/WoEPJomJW/M8lmatF7vX54V38m5RUBoaz8XymKeM+WomXhOgMFK/q05E8QJnAY 9q+w== X-Gm-Message-State: AOAM533N1+Xqp5xXBvjEYdmr9kmAdtFcX+QkfMpbJ1F82t3AeOgO5dfX iHTDZ0/Cz+mUPrz5uuH63iqJ6Zg83QlmrXwBHP4= X-Google-Smtp-Source: ABdhPJzEcSmJGLKe62L8sXibBgGn+KyOugxEGpOlRDVL6HGacrEFhNZlma4aTu3i8xZrf52dPBzOYRkdbUNILfpk4hw= X-Received: by 2002:a63:2444:: with SMTP id k65mr629583pgk.606.1638296310581; Tue, 30 Nov 2021 10:18:30 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Aaron Jensen Date: Tue, 30 Nov 2021 13:18:19 -0500 Message-ID: Subject: Re: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS To: =?UTF-8?Q?Rudolf_Adamkovi=C4=8D?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52085 Cc: 52085@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, Nov 30, 2021 at 10:49 AM Rudolf Adamkovi=C4=8D wro= te: > > I have the same problem (every day) but with the open-source Jitsi screen= -sharing program. Do you have inhibit-double-buffering set to t? I'm trying setting that to nil, to see if that helps. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 02 07:46:00 2021 Received: (at 52085) by debbugs.gnu.org; 2 Dec 2021 12:46:00 +0000 Received: from localhost ([127.0.0.1]:46946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mslTM-0004uK-FV for submit@debbugs.gnu.org; Thu, 02 Dec 2021 07:46:00 -0500 Received: from mr85p00im-zteg06021501.me.com ([17.58.23.183]:52641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mslTJ-0004u8-Kz for 52085@debbugs.gnu.org; Thu, 02 Dec 2021 07:45:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1638449152; bh=zi9EXGchjfkP3CjYU3Uc4IIlYyvO+5wHDmIh3MBd+Yo=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=FqoNMuqK7SClAkxx8PYYDu0WnUGZm71n4hj/U8bZLeWrhNOzH8F8jW5iLw28RTIde XfjWlCqLE4kAup2zGQGsle/XmaebmGe3zVreHb1bYryqHI25lNNDcKGFBYnsDwaU/o +6rrrWZ6GVMy/ON1A0zCTh511mnk+OGZcfMeYW/zP7SWzNRRm9Pnt3uQHas58oceYa OCY2o61TFL3k7OzEnszA+vItQJzzBpi93NWZ7Ky5d2K8SZ0DI6EAo6RACFyHA2zAa5 nIMmmPfbFxRkZuHsr1hw3JNPATpmzzxngAeGFi7/UtakLRFUvExd1gAXsJ2wwvR50s Eu/w0vTBSZyPA== Received: from Workstation.local (78-141-116-131.dynamic.orange.sk [78.141.116.131]) by mr85p00im-zteg06021501.me.com (Postfix) with ESMTPSA id 2DB172C567FB; Thu, 2 Dec 2021 12:45:50 +0000 (UTC) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Aaron Jensen Subject: Re: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS In-Reply-To: References: Date: Thu, 02 Dec 2021 13:45:47 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.425,18.0.790,17.0.607.475.0000000_definitions?= =?UTF-8?Q?=3D2021-12-02=5F07:2021-12-02=5F01,2021-12-02=5F07,2020-04-07?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1015 spamscore=0 malwarescore=0 mlxlogscore=999 phishscore=0 bulkscore=0 suspectscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2112020082 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52085 Cc: 52085@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Aaron Jensen writes: > Do you have inhibit-double-buffering set to t? I'm trying setting that > to nil, to see if that helps. FYI: I have just tried both t and nil, and it does not make any difference. --=20 "Programming reliably --- must be an activity of an undeniably mathematical= nature [=E2=80=A6] You see, mathematics is about thinking, and doing mathe= matics is always trying to think as well as possible." -- Edsger W. Dijkstr= a (1981) Rudolf Adamkovi=C4=8D Studenohorsk=C3=A1 25 84103 Bratislava Slovakia [he/him] From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 02 17:22:14 2021 Received: (at 52085) by debbugs.gnu.org; 2 Dec 2021 22:22:14 +0000 Received: from localhost ([127.0.0.1]:49521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msuT0-0007xG-6f for submit@debbugs.gnu.org; Thu, 02 Dec 2021 17:22:14 -0500 Received: from outbound.soverin.net ([116.202.126.228]:55557) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msuSx-0007x1-Uf for 52085@debbugs.gnu.org; Thu, 02 Dec 2021 17:22:12 -0500 Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 61F5566; Thu, 2 Dec 2021 22:22:05 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1638483724; bh=rGSAKzJO2HBZGndVhG0miWN2tnNTBUld0t+W0pbUyO0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=G3DnqkWe5a47sRzbwED/lPARySisPs9tF1oEGH+hTmf3tfRpEB5ni0ctPdyFg4xTA uv9Dbor4jVInBa68AsNKZSHYtLORzg4jEuZmJrz5v1Gwr0dY0Cb22Er3ecRxyREACo 2b2qpYuPs5KiFRHMlXNXVIlNegl79LqlVF9QqX/f9qSNv6rRVD3OiewdpvIe/GC4wN 0QUuP/twOQgAoPh78MQt9e/Hh235ASl3rI8Y5qknIZlZL9kno/Q9k8wO2YOuOtN4CG NEdxIybqP2R/uRppg4cyeql94ERXF+EB3H7Xo1NwRoAP0jiEAPbvXnUzg3RVF3ICaZ qiIhhZBb9OOJQ== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1msuSo-000xtP-EW; Thu, 02 Dec 2021 22:22:02 +0000 Date: Thu, 2 Dec 2021 22:22:02 +0000 From: Alan Third To: Aaron Jensen Subject: Re: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS Message-ID: Mail-Followup-To: Alan Third , Aaron Jensen , 52085@debbugs.gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52085 Cc: 52085@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, Nov 24, 2021 at 08:12:53PM -0500, Aaron Jensen wrote: > I still need to try this with emacs -Q, but I have seen this for some > time now (possibly since Alan's recent batch of changes to macOS > rendering) > > If I am screen sharing on zoom, I will often issue a command that I > expect to repaint the frame and it will not. If I issue another then it > repaints immediately with both commands having been realized. This > *only* happens when screen sharing with Zoom. I will try other screen > sharing software to see if it is a Zoom specific thing. I am typically > sharing just the Emacs window (and maybe an iTerm and a browser), but > never full screen sharing. > > Alan, is there anything that you could think of that could cause > something like this to happen? Is there logging I could add to help get > to the bottom of it? 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. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 02 17:22:37 2021 Received: (at 52085) by debbugs.gnu.org; 2 Dec 2021 22:22:37 +0000 Received: from localhost ([127.0.0.1]:49527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msuTM-0007y5-Sq for submit@debbugs.gnu.org; Thu, 02 Dec 2021 17:22:37 -0500 Received: from outbound.soverin.net ([116.202.126.228]:59561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msuTK-0007xh-Rk for 52085@debbugs.gnu.org; Thu, 02 Dec 2021 17:22:35 -0500 Received: from smtp.soverin.net (unknown [10.10.3.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 7A8E166; Thu, 2 Dec 2021 22:22:29 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1638483748; bh=9CHyW2GeHAL49UXm4J10nE4wHuA++hCiRNeUZV/q3Rk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pqfZCbQ/9nXIyKxKFG3oaZZFTXFDHQHvhOlQ6l7L8C+OnVjhChntbrw4K0kNn6qWD 74YTtnXG2krAuD3KoJWsNoUss2/vwd7Y7m4yseZAHMhr/LQDQuuFOvo17JQEw2+wjI CHvghN0Tei6JNO4DyVCfuwkDaxWAl6wg5WCqNC06MfGX6na6k/ZrSIjJLr5jRZpzSW J/jZXHciD+OQv9uL+AqlhAUU/8qiFjWA8+9J0JasR7G+QuwjZOVnpif/qmIQ/ssvQk uXsV1nL3gOCoMx+K6fQjS0NDpqLA3uaN9Zed44vM2IbjK9LriTsx/7HoWHZnX0t/0P gSpMinUVtGuKQ== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1msuTC-000xtb-Jc; Thu, 02 Dec 2021 22:22:26 +0000 Date: Thu, 2 Dec 2021 22:22:26 +0000 From: Alan Third To: Aaron Jensen Subject: Re: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS Message-ID: Mail-Followup-To: Alan Third , Aaron Jensen , Rudolf =?utf-8?Q?Adamkovi=C4=8D?= , 52085@debbugs.gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52085 Cc: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= , 52085@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Nov 30, 2021 at 01:18:19PM -0500, Aaron Jensen wrote: > On Tue, Nov 30, 2021 at 10:49 AM Rudolf Adamkovič wrote: > > > > I have the same problem (every day) but with the open-source Jitsi screen-sharing program. > > Do you have inhibit-double-buffering set to t? I'm trying setting that > to nil, to see if that helps. I'm pretty sure that variable does nothing on NS. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 03 00:14:28 2021 Received: (at 52085) by debbugs.gnu.org; 3 Dec 2021 05:14:28 +0000 Received: from localhost ([127.0.0.1]:49868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mt0tw-0007yA-35 for submit@debbugs.gnu.org; Fri, 03 Dec 2021 00:14:28 -0500 Received: from mail-pf1-f180.google.com ([209.85.210.180]:38628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mt0tv-0007xz-2g for 52085@debbugs.gnu.org; Fri, 03 Dec 2021 00:14:27 -0500 Received: by mail-pf1-f180.google.com with SMTP id g18so1800785pfk.5 for <52085@debbugs.gnu.org>; Thu, 02 Dec 2021 21:14:27 -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=N7v4YVgWLsTxm502vTo8wXsyRvnbzAtpLOxEeqPPLX0=; b=krQez47ZaZ/aGUwWzJY7R2CYuS57CetRVDp5lO5frO+IFV3OdMAX5BRwauQZjdzmxA qAFNgBQcO+YKCnkHx4ngd9r9kMhGkQxRKnfH8nDRrcSNw9bT9wuts0A/hDSzMVMPErxi 8ES0hVHwbyqjxKys4M2LkD15OBOgmEghIK2ReAYU9uOs3gxKzRzE4zBhZjYoU5xXHQ4a zrVddQnJeCmkLJGrwQTOPjlYP0BJdMGtcGgEWJw1mPVLs7C3Nvquwygjp1WqDFpSgtv6 dlykT1swUcgDoegrr1Q0Bf5lU6xO1PbKiLKm2c/E3M4yNoCAIHtE69BA8tT2IwL3lD6T mzgw== 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=N7v4YVgWLsTxm502vTo8wXsyRvnbzAtpLOxEeqPPLX0=; b=mmkUuBxaQVFsw+TU/Id2xjjEiG+v4KiUtV0184N4O/oaZPzi+dPMxn/7rYe11MVQcO tN+WSf2bbq0b9mEcaumJsBBIxMz2C1SH4CNgjV48IJoowFVT12T7GkjnaDnn2a/1bU/p Jvo2FjFy/8xBTl3pEqNDUDO3iJ4a5sZCFfyRw9IXoHwA/GlWOpz5oENjPa8Ew8zTKVed 6kzMiEogMbMcErwo7GlcewYoZGVQBihA3UZpxAq6jbV9Gy/kQXlaClaLn9WIpJm1rY9T mthBoTJPrAhz3GHD947S8OLkF8T/Smsaj1JL2ku0lbP3r1zsk8YhoaeyasVt2mY7c9Fz xDQA== X-Gm-Message-State: AOAM531OD7HWiATCTRRDLfsRT82sUYM3QhTwQqZ3GuGT3+0tQ1xuYDt7 FktakPortO4fJWyPra/HT50YU3JOL/0Q7A8Bofs= X-Google-Smtp-Source: ABdhPJweO1lpQ/3zEwelV9733hQCIbfY36AmjumN/awLqZG1AmHbE8C2kac2chB7pqK/pfw7x4TC91wIV4UtJmKiDLw= X-Received: by 2002:a63:6987:: with SMTP id e129mr2930977pgc.520.1638508461366; Thu, 02 Dec 2021 21:14:21 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Aaron Jensen Date: Fri, 3 Dec 2021 00:14:10 -0500 Message-ID: Subject: Re: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS To: Alan Third , Aaron Jensen , 52085@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 52085 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, Dec 2, 2021 at 5:22 PM Alan Third wrote: > > On Wed, Nov 24, 2021 at 08:12:53PM -0500, Aaron Jensen wrote: > > I still need to try this with emacs -Q, but I have seen this for some > > time now (possibly since Alan's recent batch of changes to macOS > > rendering) > > > > If I am screen sharing on zoom, I will often issue a command that I > > expect to repaint the frame and it will not. If I issue another then it > > repaints immediately with both commands having been realized. This > > *only* happens when screen sharing with Zoom. I will try other screen > > sharing software to see if it is a Zoom specific thing. I am typically > > sharing just the Emacs window (and maybe an iTerm and a browser), but > > never full screen sharing. > > > > Alan, is there anything that you could think of that could cause > > something like this to happen? Is there logging I could add to help get > > to the bottom of it? > > 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? From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 04 05:49:00 2021 Received: (at 52085) by debbugs.gnu.org; 4 Dec 2021 10:49:00 +0000 Received: from localhost ([127.0.0.1]:52970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtSbE-000850-IO for submit@debbugs.gnu.org; Sat, 04 Dec 2021 05:49:00 -0500 Received: from outbound.soverin.net ([116.202.126.228]:42843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtSbC-00084m-TG for 52085@debbugs.gnu.org; Sat, 04 Dec 2021 05:48:59 -0500 Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 5947F81F; Sat, 4 Dec 2021 10:48:53 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1638614932; bh=icpk0p5QW/21Ji7fkdwpI7nBVqtOLXXqJGk7ToUBHI0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RvEUpvHVlQsFyJh9QkN4go0FYx4I9w3slhYanJiIx4KKGufSSvFd3jiKdEuepUb18 Y/Krb9kDlYDAPdRQN1CSW6NgAk7bujMPadQigwFQuXXc1koa8OmeNWghb9UvdRA5C9 ZLI94NSlWQNhQCfnHz+FIeVAUHIVRrMSmgf02JnpngB9JXzdMFAh2qzxnE8zNjiWjC zJeycAruRBjx0UIS0xm9cZg+oRqIfyyeyxirK72GYiXOfpnSzjgk2yPxBfRqnhyHtP hkEg5Vczwnrn4Z/XNcNV/z51NX2+eNOj/8YH+dff+hTHRrGhenBXAzXm53ZZOKTNYl Q4qchJ8H9sqpQ== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1mtSb4-0014cL-IE; Sat, 04 Dec 2021 10:48:50 +0000 Date: Sat, 4 Dec 2021 10:48:50 +0000 From: Alan Third To: Aaron Jensen Subject: Re: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS Message-ID: Mail-Followup-To: Alan Third , Aaron Jensen , 52085@debbugs.gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52085 Cc: 52085@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 07 15:30:25 2021 Received: (at 52085) by debbugs.gnu.org; 7 Dec 2021 20:30:25 +0000 Received: from localhost ([127.0.0.1]:38771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muh6X-0002dI-FJ for submit@debbugs.gnu.org; Tue, 07 Dec 2021 15:30:25 -0500 Received: from mr85p00im-ztdg06021101.me.com ([17.58.23.180]:59290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muh6U-0002Ul-Ti for 52085@debbugs.gnu.org; Tue, 07 Dec 2021 15:30:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1638909017; bh=vFT67f4IwwDAa10Za8ALIdIdnscv32cIFMYs+aM6SsY=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=rTDtSnclrbuyta7jiK9qFkMWty2rrkYEBkqt7zNIBed6V55zQbzwKbUB6X4/aZTSp dyyOROYhguVIpJs2v8R7pXjjaS1BzT/8Wjb32xNXNYLBNGmM904VwZC7/Sx+Dniy9A WHzmOFlQFcpdeIBg7W0fv3SS5Y+7U1ZOnpzHyh20Xw0ZCsiB4w9GqTfpAvWBct22xg xLn4I7YDprIF7n+0DeR4XfZKdrHp15h5lsuxLfSUgZ5mUSAkSEUFG5zBL9JBss01TM lR610MbQ2BdytfAOX+drw1TdnZMD78USdV/FMQb9LQAPeij6+wh00HgqFpR3kcVZQF 5jBa24ceW+NZQ== Received: from Workstation.local (78-141-116-131.dynamic.orange.sk [78.141.116.131]) by mr85p00im-ztdg06021101.me.com (Postfix) with ESMTPSA id 5559934026D; Tue, 7 Dec 2021 20:30:16 +0000 (UTC) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Aaron Jensen Subject: Re: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS In-Reply-To: References: Date: Tue, 07 Dec 2021 21:30:10 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.425,18.0.790,17.11.62.513.0000000_definitions?= =?UTF-8?Q?=3D2021-12-07=5F08:2021-12-06=5F01,2021-12-07=5F08,2021-12-02?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 suspectscore=0 adultscore=0 spamscore=0 mlxscore=0 clxscore=1015 bulkscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2112070126 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52085 Cc: 52085@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Rudolf Adamkovi=C4=8D via "Bug reports for GNU Emacs, the Swiss army knife = of text editors" writes: > Aaron Jensen writes: > >> Do you have inhibit-double-buffering set to t? I'm trying setting that >> to nil, to see if that helps. > > FYI: I have just tried both t and nil, and it does not make any differenc= e. Addendum: Sharing Emacs *window* with Jitsi works great. Sharing the entir= e *screen* does not. There, Emacs slowly "falls apart", redrawing erratica= lly (for the remote viewer). Rudy --=20 "Programming reliably --- must be an activity of an undeniably mathematical= nature [=E2=80=A6] You see, mathematics is about thinking, and doing mathe= matics is always trying to think as well as possible." -- Edsger W. Dijkstr= a (1981) Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 07 22:14:32 2021 Received: (at 52085) by debbugs.gnu.org; 8 Dec 2021 03:14:32 +0000 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 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 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) MIME-Version: 1.0 References: In-Reply-To: From: Aaron Jensen Date: Tue, 7 Dec 2021 22:14:07 -0500 Message-ID: Subject: Re: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS To: Alan Third , Aaron Jensen , 52085@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52085 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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? From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 08 05:21:40 2021 Received: (at 52085) by debbugs.gnu.org; 8 Dec 2021 10:21:40 +0000 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 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== 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) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Aaron Jensen , Alan Third , Aaron Jensen , 52085@debbugs.gnu.org Subject: Re: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS In-Reply-To: References: Date: Wed, 08 Dec 2021 11:21:27 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.425,18.0.790,17.11.62.513.0000000_definitions?= =?UTF-8?Q?=3D2021-12-08=5F02:2021-12-06=5F02,2021-12-08=5F02,2021-12-02?= =?UTF-8?Q?=5F01_signatures=3D0?= 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52085 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 08 16:23:41 2021 Received: (at 52085) by debbugs.gnu.org; 8 Dec 2021 21:23:41 +0000 Received: from localhost ([127.0.0.1]:41749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mv4Pd-00017W-4N for submit@debbugs.gnu.org; Wed, 08 Dec 2021 16:23:41 -0500 Received: from outbound.soverin.net ([116.202.126.228]:40939) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mv4PY-00017E-H2 for 52085@debbugs.gnu.org; Wed, 08 Dec 2021 16:23:40 -0500 Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id D7B9CA0; Wed, 8 Dec 2021 21:23:29 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1638998609; bh=BBiVC42jDoqHPn1dbrsPkm9q33w5jnULKK5CFmlX14g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ir2Gm/uHX61hnMrW/d9WjNslbavkBEmUPKIFl4GIG/TE9ChISGbWX8tOaxdStbbOW XFtQ7sBPwduOuOy4TbvPBnODeWh2zSswbWWflaLgEh3Ud7L/NiwJI00ePW1E2TuRLq CHm5Dxvqnw5ahxnqdFVoPdb0d/QFOUdUoNbbwSs+8LNmmr273GMCQK7ZYmnGx5ebai a+CpgsawMhu0fzZQX9N6tWRXMRA8TR6YdZt7jxx1RclObRuHDpYe1YLWzU4VZ8hCk1 MPrLgz6vmuy48CD3MBR66bbzui6zI+qO1/fBbcP8slwbYkUETKv0BtfuZaQEI3ZuPA sa+OBb+DbXvrA== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1mv4PO-0019RA-13; Wed, 08 Dec 2021 21:23:26 +0000 Date: Wed, 8 Dec 2021 21:23:26 +0000 From: Alan Third To: Aaron Jensen Subject: Re: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS Message-ID: Mail-Followup-To: Alan Third , Aaron Jensen , 52085@debbugs.gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52085 Cc: 52085@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Dec 07, 2021 at 10:14:07PM -0500, Aaron Jensen wrote: > 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... 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. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 08 16:33:26 2021 Received: (at 52085) by debbugs.gnu.org; 8 Dec 2021 21:33:27 +0000 Received: from localhost ([127.0.0.1]:41764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mv4Z4-0001Ne-LM for submit@debbugs.gnu.org; Wed, 08 Dec 2021 16:33:26 -0500 Received: from mail-pj1-f52.google.com ([209.85.216.52]:41497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mv4Z1-0001NL-Hv for 52085@debbugs.gnu.org; Wed, 08 Dec 2021 16:33:25 -0500 Received: by mail-pj1-f52.google.com with SMTP id gx15-20020a17090b124f00b001a695f3734aso3225707pjb.0 for <52085@debbugs.gnu.org>; Wed, 08 Dec 2021 13:33: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=2z6gCF76SsR5TZs6TpDS9tm1i0ApivwuCUCMZevHMyk=; b=m30+xYNIeFLH4KXyaR8++4GUhjZ7G2tm4INcXW6WLQmLwG+EsC05BFEu/+0054HDRe 0kHezW2dzjQR0gJRusn7DaMB0VWbK59Z7VAs2+lOyn03dTYYGY17UzrTowNfbRiU0a08 /ErUNVq756EBcY5FfcbsNZ45CknATKMR+WB5MQYKAsqUZ+/dhgdTSeLFfYW5GoPu1fzF asg88oCwy53/T6li0NkZxkt8gedkRASaFgJOiWvoscYq2wPwvpjO++YUyN+geN/0ATL6 ZKtFoHv4IuubyGO+zNwjLKjZEBgtIU6BD7eX6FB+W5vKM73H8pJFy/2lnL3YByk4/5XC oN9A== 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=2z6gCF76SsR5TZs6TpDS9tm1i0ApivwuCUCMZevHMyk=; b=4rLmA/u5qeYyGKogykPhmfj2bHTGHqb1wlTy379ng4KGpKXV0/IIWuhifeqc0zAgxw 7W++oxGqyJ5oZzI9x9tnFflUCuWq/D3DkYzAveJSLd43a1OlGJvGwVJf51t0fxTJWo9P ufouOUNvKOR4KOtTLTIIfqfMAodwtCJ3uU8e58NQjnK3/34tu9auyIKF4/IaF+l68Cqi wnZe2ybXic3okA/UFIZ2z2bvNstt58t1ncqxFgSLT4zDx0AkORl7elE2h9ePdFnvA0cb R2S2Twv/2G9KH8HZu0jIMxKeTDVtoCG6IQlixF/+ErrBKcQmxlrvUhqR/LQCXr/9UtjD UdEw== X-Gm-Message-State: AOAM531EWq8QQzHwBzfL0CRoqVbat0DOrbrkLKb8xwc325JFMox5WbQa 9JzwdlL1oS3U1oiDujMdJ79QKrdyC0Famfku3RI= X-Google-Smtp-Source: ABdhPJxtj3O/bFpn3j14Tfa/Q1lcbo1QnPOnER0tFEp22GAqPAVl68PSEIn24Bwk77/2VBBgcnyNICWfCsEFjErwHqA= X-Received: by 2002:a17:903:18d:b0:142:12ba:8513 with SMTP id z13-20020a170903018d00b0014212ba8513mr61708147plg.69.1638999197570; Wed, 08 Dec 2021 13:33:17 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Aaron Jensen Date: Wed, 8 Dec 2021 16:33:06 -0500 Message-ID: Subject: Re: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS To: Alan Third , Aaron Jensen , 52085@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 52085 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, Dec 8, 2021 at 4:23 PM Alan Third wrote: > > On Tue, Dec 07, 2021 at 10:14:07PM -0500, Aaron Jensen wrote: > > 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... > > 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)) Aaron From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 09 02:27:08 2021 Received: (at 52085) by debbugs.gnu.org; 9 Dec 2021 07:27:08 +0000 Received: from localhost ([127.0.0.1]:42291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvDpc-0005p4-JU for submit@debbugs.gnu.org; Thu, 09 Dec 2021 02:27:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvDpb-0005os-99 for 52085@debbugs.gnu.org; Thu, 09 Dec 2021 02:27:07 -0500 Received: from [2001:470:142:3::e] (port=32968 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvDpR-0008PP-19; Thu, 09 Dec 2021 02:27:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=7Tg4z7ZePaW2alVOssG7/IAjkyXqXZTowzo/KcrhVyg=; b=IAuBpNeKTHI8 bhBosJZxb3RCPYHk/pyLpnBmuQq5inS18HLY4j2Ir3fmLSXavc9dPXqtK2VteWPZ5ug5uV6N3uzME ghLIM40c9Vjq6nmRImJiC51SCC2dov5V1yAEuh/3OvohZK2AKSZ6ebCJC9nUcZ1WVMKaboNW1rorl zOUP9Xc45yWfPXTuiNWIdhQSl3ALpy12P2/M7Ay9SfpyueduHVJC9K2x4AWZDryUNRr5M6pkS4IiU GGW3I0bgGbkHOWMpi5+quznK4O7DLYi7SLROBGgOEGTGOj5LjotvtLm/PC9ImDPpn61HAt1CFOZnP zrpt5b9f2GpiMT0LJMhERw==; Received: from [87.69.77.57] (port=1329 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvDpP-0005Vy-TD; Thu, 09 Dec 2021 02:26:56 -0500 Date: Thu, 09 Dec 2021 09:26:38 +0200 Message-Id: <83tufiutld.fsf@gnu.org> From: Eli Zaretskii To: Aaron Jensen In-Reply-To: (message from Aaron Jensen on Wed, 8 Dec 2021 16:33:06 -0500) Subject: Re: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52085 Cc: alan@idiocy.org, 52085@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 09 02:39:18 2021 Received: (at 52085) by debbugs.gnu.org; 9 Dec 2021 07:39:18 +0000 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 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 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) MIME-Version: 1.0 References: <83tufiutld.fsf@gnu.org> In-Reply-To: <83tufiutld.fsf@gnu.org> From: Aaron Jensen Date: Thu, 9 Dec 2021 02:38:59 -0500 Message-ID: Subject: Re: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 52085 Cc: Alan Third , 52085@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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... From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 12 07:08:19 2021 Received: (at 52085) by debbugs.gnu.org; 12 Dec 2021 12:08:20 +0000 Received: from localhost ([127.0.0.1]:50826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwNeN-00006P-L6 for submit@debbugs.gnu.org; Sun, 12 Dec 2021 07:08:19 -0500 Received: from outbound.soverin.net ([116.202.126.228]:38827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwNeK-00006A-MV for 52085@debbugs.gnu.org; Sun, 12 Dec 2021 07:08:17 -0500 Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 35BB7185; Sun, 12 Dec 2021 12:08:10 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1639310889; bh=AaN6jK0rsSPB/DOzRpZ9fBO5mfkBIXlnnAKWMWE/1yw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QGfoPvrZcPNbHyN+nIWhyTc66zuLnRygIUobg//MOus+g5b4EsJ8Z8QRnm/QTVcTu KR3hXJfLLEEANaIc6PIMJxcHi38feLR7Gd0VYW1bfEWXMG/SWpb/G4hmj73Dncy1gA yuPnkq9NEVAAjkrMwCgGOdUu8ZcyCDv1i4cAafgDtYPXceZBSAdRbeDR23608lthdj /u/v59SIunhgjnK2lFf21CTqcNIYQBrGZS/32hZ+Mw9GEaZhJKi4+eu/Kq/a0SeXmO Fm6ru0PtHVE+POXrX9BeQXpNkqhVFRJiYGV/9sqFuerlkIKsiN73cyeHOmi+VCC+/R 02GUeMnMQO8jw== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1mwNeA-001BLs-3T; Sun, 12 Dec 2021 12:08:06 +0000 Date: Sun, 12 Dec 2021 12:08:06 +0000 From: Alan Third To: Aaron Jensen Subject: Re: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS Message-ID: Mail-Followup-To: Alan Third , Aaron Jensen , Eli Zaretskii , 52085@debbugs.gnu.org References: <83tufiutld.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52085 Cc: Eli Zaretskii , 52085@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Thu, Dec 09, 2021 at 02:38:59AM -0500, Aaron Jensen wrote: > 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... 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. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 19 16:57:44 2021 Received: (at 52085) by debbugs.gnu.org; 19 Dec 2021 21:57:44 +0000 Received: from localhost ([127.0.0.1]:48392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mz4Bc-00089X-EJ for submit@debbugs.gnu.org; Sun, 19 Dec 2021 16:57:44 -0500 Received: from mail-pf1-f172.google.com ([209.85.210.172]:37825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mz4BZ-00089J-VV for 52085@debbugs.gnu.org; Sun, 19 Dec 2021 16:57:42 -0500 Received: by mail-pf1-f172.google.com with SMTP id 8so7064491pfo.4 for <52085@debbugs.gnu.org>; Sun, 19 Dec 2021 13:57:41 -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=m5XjZ3K0SyP+QDcX5sQO2NbBM41YOahQDcBydTd4MUE=; b=QOEPo1v4bEDIPZmZ2grHg6+of5UHjCH2QCB3nC93PXBvgE4YY7ZPgP0lF6zQl6mslY V9cZLxgTgB5qJqIT7dRvl1BIaiuXjaarz9XOwDaTncExlZzKaLW7MOz0cOq4MbSLdudT Mc4+ZFRqhzhMzi5BPJgFZTVxCjgMQiIEu/LprQFA4Hcp7Dyon7VIGWt+knyn9p4QkGfM o0UpePxqtikcBDybFFTGLshOXKbEWMfu4RBoE/tL7/VwxZlZ0dSUna/11KSNOf9nJ5Wx BLhhEKMy0Awf9b2S5QaFl9akNa6QbS6pKb1GCQp5q1lSH/y5Md76wpZXckUbIg98e1rm jz3Q== 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=m5XjZ3K0SyP+QDcX5sQO2NbBM41YOahQDcBydTd4MUE=; b=iq/CfgbIkM2y/gyvIqTaxOsbUtP+Iy3BVUA4TDiRI3RskaBf5A6ayp2H80x86AOTqw +ROytJZ9E3T8YTeZAGYHwuLuA29uH7FRyuTJ/EdR+BRUxlFY+Tc06BLdb5Ml9UFDnHtd EtlHoFW9Eu57ZOht1rVJNWOsVm6R1I5B8qO4nf8yZJjsXuNs/CqsxKnIDQTfN7L1Y3jm FC49ZLkU43Oi7F9mWsPFYV7ChFJL5w0YunnTbPUzELPctRJu9DYSoSqCDRry0YozWaDI xEjd1TIt6eA6dlRud1gmyWn+MeERYWPQO14zvvLgXTZjFXoEf6BwjSZaJktw0HZh85JT mmlA== X-Gm-Message-State: AOAM5326rAoO5DG+F7dG8gP+Q3oRky15HnxPLw9SI5M1PAMM7lb13RwX 43EoDjufqGNRHySWjDMkM3iTVSW9I1uq1mQ80GA= X-Google-Smtp-Source: ABdhPJxY/TElVM1OHjT9eqU/kdQ5EE2IVhFGQWdu8oGconD2+1XkZ+7bVN7mpRnPqVjGFBFIdg+eKrniT3zCwr7V9Ow= X-Received: by 2002:a63:920b:: with SMTP id o11mr12565758pgd.314.1639951055983; Sun, 19 Dec 2021 13:57:35 -0800 (PST) MIME-Version: 1.0 References: <83tufiutld.fsf@gnu.org> In-Reply-To: From: Aaron Jensen Date: Sun, 19 Dec 2021 16:57:24 -0500 Message-ID: Subject: Re: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS To: Alan Third , Aaron Jensen , Eli Zaretskii , 52085@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52085 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sun, Dec 12, 2021 at 7:08 AM Alan Third 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 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... > > 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 23 10:37:31 2022 Received: (at 52085) by debbugs.gnu.org; 23 Jul 2022 14:37:31 +0000 Received: from localhost ([127.0.0.1]:46002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFGG3-0006Nx-7U for submit@debbugs.gnu.org; Sat, 23 Jul 2022 10:37:31 -0400 Received: from mail-pg1-f182.google.com ([209.85.215.182]:44719) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFGG0-0006Ne-Al for 52085@debbugs.gnu.org; Sat, 23 Jul 2022 10:37:29 -0400 Received: by mail-pg1-f182.google.com with SMTP id bf13so6602953pgb.11 for <52085@debbugs.gnu.org>; Sat, 23 Jul 2022 07:37:28 -0700 (PDT) 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=quwmNrJFqn2F/mDUKaavZZQBACmwH1hG0/WEwXPo55E=; b=g92/BjB8jb9rS6EpdBi4x+0rvXr1farNZbit8MFFRvUm0DOhyF5BGOLkR0UaAfjoT2 t7MSbtKdppfdm3HWrQFXu4U3mmtjnUt59IwHrsF0TE0rQr1ZEEmgr3LFjlzpfCNmVnF2 GMDkyicz4CqaLBPlwbnef4Q9X9AJrhlMHmFwyDzuPo8lX7uEsJ3al3dqiRFarfHzTVXm Q8bRz5EpMlBXUQDA+E3W//Ve5RPO6eHB1EzOeJBV0eA+TzCOfexwD2rTQWQfh6I2eIa3 LkAwJ8XtwerMbwg8E+gKQGG92eELd8hUgLBtBige4oShgzt1og/IWuAeedw8LmITqFqG GfYw== 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=quwmNrJFqn2F/mDUKaavZZQBACmwH1hG0/WEwXPo55E=; b=4FFP9ui41kh0Eypi2xtuks9dB8RALDMtNqWMTBjmOss8URWX200vkG31jnb5GjkH6I bL5IMjrAi3JKswljYCs02SF8fbG/++VmB8AkVYyI8VO+YHQH4+yhxUdCoOwzAphokJBk jW7NNeXQqvSTmdN0JdfQg6aOtSSHysaVMLhR4BGI/DyUUjjsYPhOdKrxZoXt3M3LTjPZ y42/PyCoCwNz67ho8nXMfoREICDAYySkqr7+77lCr5P7MrNMJSfO9sn1QMGgWWkC1PZN 12TfTg1ut3Na+Q2dILhaW00cewuzlDTOk5dQFsVXPXIkUeB3cSpbD+MuDuHFn5zBfsXE UMGw== X-Gm-Message-State: AJIora9ZzMZwk8fwk5S2DYpmdJIAU29vYE+AoD8qFjP29fEbcdYZWX2S jqzNT2tOUMJhRdm20lHsuYyr9dPvz5QIHYcxLuc= X-Google-Smtp-Source: AGRyM1ubmXJV6vh5Fk+jHoSap4M8SvFmmfT9HNge3OYAJ2Lado0fPO4cOjtRH+oqsuplDtSA1c4jNNUsiy3O1xZLaxA= X-Received: by 2002:a63:f304:0:b0:41a:9bcd:88a8 with SMTP id l4-20020a63f304000000b0041a9bcd88a8mr4016021pgh.520.1658587042542; Sat, 23 Jul 2022 07:37:22 -0700 (PDT) MIME-Version: 1.0 References: <83tufiutld.fsf@gnu.org> In-Reply-To: From: Aaron Jensen Date: Sat, 23 Jul 2022 10:37:11 -0400 Message-ID: Subject: Re: bug#52085: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS To: Alan Third , Aaron Jensen , Eli Zaretskii , 52085@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52085 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sun, Dec 19, 2021 at 4:57 PM Aaron Jensen wrote: > > On Sun, Dec 12, 2021 at 7:08 AM Alan Third 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 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... > > > > 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 17 00:30:22 2024 Received: (at 52085-done) by debbugs.gnu.org; 17 Nov 2024 05:30:22 +0000 Received: from localhost ([127.0.0.1]:55564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCXrZ-00055k-Rb for submit@debbugs.gnu.org; Sun, 17 Nov 2024 00:30:22 -0500 Received: from mail-lj1-f178.google.com ([209.85.208.178]:58774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCXrX-00055c-Vr for 52085-done@debbugs.gnu.org; Sun, 17 Nov 2024 00:30:20 -0500 Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2fb498a92f6so29754951fa.1 for <52085-done@debbugs.gnu.org>; Sat, 16 Nov 2024 21:30:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731821358; x=1732426158; darn=debbugs.gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=jF57v7y6/IwSB/8gdwwlisJi4Gwne6/RzSeC97hOFG8=; b=gQJ22sjYymXcKloN7jO7cT9vrTzLAUJEYtZpss7WNjuhP5Qb0kSYpHHA6fCa3/k0Z0 aWVk3zv5zVsKo5dbk62UYlSy7PFrE0xDpLJNoIEsFPeheEN+UMsiH/bElhvtVgRrTKoc iSkAHeXSk0OG/mkCrEqqVtUMI3+0jgZrQY+vfJI9leOyCpjErab73ssz3hemmLbVmwc9 j/33d5rasvYeBKaiXFKmXJWtapNN9hONKk85euLKbxO/uPmxqs6uolBjtanIEJie9Whq YW/dOOnot0ZNmN4BhPsnxX/x71+lu7Jldo2HhnLyotNWFK2M4rfMxIpH3eQbzyZnLLyq Uzpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731821358; x=1732426158; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=jF57v7y6/IwSB/8gdwwlisJi4Gwne6/RzSeC97hOFG8=; b=wdsakfDJX/oOLyIPuQmyjYQIptp0Jqrm6C38Vrw9SK4SXmweTIyQ4nOTPfGpbC4qqC 9NqlDyvZGsr0X4ZP+YQ8u+1kLPgP9vCibLkmqgPutzbophcrAMB82naMLMT4AL6Y2YMZ qCGnuBdihRAT46tl8gGJld3wu2EYKZFBQbLcJ7S5IErF9EzkwqzjSOjTGI8MhY3hICbu iRmuyO+r8vrUwUauTqt9OMy19+bj42HuphXMieHV5QCrPjsCHp9LiBYNnLIuhFbDypW5 Nn/Jh8z+CosP3vi9XcQ0agMWlNw/VQbO8i//uLqpVglepEyQxNIREi3sxQWbHWXsY+aY T1YQ== X-Gm-Message-State: AOJu0YzWjxV6d/WvdlDRI4me3988XkNpFuuR0zYK5tuHKv5/sBnkE0xD 2vBHjfx2Tw3+V2JAQS32eOGKY5sVTGYVfiJ3ngoAwRqKxJDFpLwlbGDnN3ufQFGgCaWHFnQa8aM 427ODbKbN9Q+2Fk3G6Xqmo/1Qx7Z+tg== X-Google-Smtp-Source: AGHT+IEleCsmZzvl9Hypg+89WwjwIT9mQRCyF4JTXqJCBc90flg3T1iS6IiwYht14kSgnrjN03Dync4LEuDjZJY+/G8= X-Received: by 2002:a05:651c:50d:b0:2fb:527a:815b with SMTP id 38308e7fff4ca-2ff6098d13emr41168001fa.28.1731821358213; Sat, 16 Nov 2024 21:29:18 -0800 (PST) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sat, 16 Nov 2024 21:29:17 -0800 Mime-Version: 1.0 X-Superhuman-Draft-ID: draft004ea4e6c6823c6e X-Superhuman-Thread-ID: draft0091c959e2bd3e31 From: Aaron Jensen X-Superhuman-ID: m3l5pj89.46c33963-9820-4152-b6b7-e56796301a10 X-Entity-Ref-ID: m3l5pj89.46c33963-9820-4152-b6b7-e56796301a10 X-Mailer: Superhuman Desktop (2024-11-13T20:05:52Z) Date: Sat, 16 Nov 2024 21:29:17 -0800 Message-ID: Subject: 29.0.50; Frame occasionally fails to paint while screen sharing on macOS To: 52085-done@debbugs.gnu.org Content-Type: multipart/alternative; boundary="000000000000def30c06271514e1" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52085-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --000000000000def30c06271514e1 Content-Type: text/plain; charset="UTF-8" I have not seen this in some time. I'm fine considering it closed. Aaron --000000000000def30c06271514e1 Content-Type: text/html; charset="UTF-8"
I have not seen this in some time. I'm fine considering it closed.


Aaron

--000000000000def30c06271514e1-- From unknown Sat Jun 21 03:14:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 15 Dec 2024 12:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator