From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#63187: 30.0.50; Tail of longer lines painted after end of nearby lines on macOS Date: Sun, 30 Apr 2023 21:25:38 +0800 Message-ID: <87ilddec31.fsf@yahoo.com> References: Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29751"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 63187@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 30 15:26:32 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pt74S-0007d4-CS for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Apr 2023 15:26:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pt74B-0001Oc-Aa; Sun, 30 Apr 2023 09:26:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pt744-0001M3-4g for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 09:26:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pt73z-0007w9-5R for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 09:26:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pt73z-0001QI-0d for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 09:26:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Apr 2023 13:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63187 X-GNU-PR-Package: emacs Original-Received: via spool by 63187-submit@debbugs.gnu.org id=B63187.16828611595453 (code B ref 63187); Sun, 30 Apr 2023 13:26:02 +0000 Original-Received: (at 63187) by debbugs.gnu.org; 30 Apr 2023 13:25:59 +0000 Original-Received: from localhost ([127.0.0.1]:37493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt73u-0001Pr-Dg for submit@debbugs.gnu.org; Sun, 30 Apr 2023 09:25:58 -0400 Original-Received: from sonic303-21.consmr.mail.ne1.yahoo.com ([66.163.188.147]:36619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt73p-0001PJ-Ed for 63187@debbugs.gnu.org; Sun, 30 Apr 2023 09:25:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1682861146; bh=ktx1xznRSZw5JiAhgY8AwcwSCZswxp2BIKEaCaWc77k=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=X2sKo26lvHytMK/2RW6JdP4JoT5KpTz/VQjt6xAMjOp/X6wJ1eie7j8Z2X1IxP86JCk1FF4BaqPoyY2Foc2ORCWfWLwbE98n4TGf7VVMbwYDMPX2inbjlooaU5br9S19At0T/1vbZrJdW4uajRIjsIbFGL81I1g8452VlSrRUKTNgA6rSceOXd9gM7VCWfEz/C9uAslQu5N815oIgPxWqsP13GLyq7ulT+mgIy8T2o88EvCHL3oJfaT1XMUJZ7Q7dY6B+RKU92SoLTVZOBoh97IGczVYMP1f04P+2/HcgVLoHaaPK4gPkR7pzQfHn267YVHW4rKLVHlmDGbhBOQu0g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1682861146; bh=cJNZEPvJp4fR2lhnsC59tCEqerUdqJRqEW45w8FYWWL=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=jzUJ70mfwdxwtKYM2ZOuRoblDqdqKz87X0634PSFNWGRk1MymrFyeb6pXzH4jQ9+ZcobZla2AvrMyhQqDKBSbSHD/j7FMk6sRFPxNDg/+JSpgBhVmVvYHOiVFVAt16gTPxqWbz2VPRYobgQiYp/8KLwU/vc2UwGAqI/IzRtI5Bw01YfqO4vyc6cKbQVieUFwyd9cpkirHmG03yzS//3TU9MvQcl7Z0JmqODkpjuVONBcsEx74Gq7YDT4/cWn/gbmDcfyaoN2TvwgYP1jZt4UAV4JpDALfvWTv5y6jV5okV5uKmx0MssekiCAGRjqjcUOojk7ZPaW3BRyEIVdlfANng== X-YMail-OSG: 7tgKr8sVM1kQlv_6q6IANRqPe68MiEqKEBPJOAS.ugP6jypDwsWZ33qA1pvEV4r bPH.C3LBkfgKrf_OnLJp45PXjYDdL8rkULbdvfzJp9eoHMCWW7CzS0xkbr8JsJLsgYmQMsSSbCAN kH5vZ8ff5D9cyNqwRi7fQYLIaPSy5CSskIB7A9jDMnfmO3A6p3Kr55FnqAZED82W2AEPO.y9202u a5.LCt7mAbyrJnYibmdeMNElyUZUkXYTLLtmtALBOX.AsJnh6KAO8aR5I4mt80js.FPRNCNpOBza IHn1sZZL9SCg3V4imvbyERGNH9aRCF898NIpfQTrUs4FFofCQ4H5gHnhGwksjMyc.IuXpG3lnIQI nmJkLH6RHrt5Id034HF4TdHHj8tO2er9QWkleZNdMuDkTZzoKXhWlAZ4HHBSuAwCtZTGsODGxrZn zCM.PEV7txgTvEihlWZguoBcJ06yLggioNDdvL1gwmK0f1c1LsGG7Yqez44hEXphTNed6HDtFTjy fa0AJF00lXDkNf0phNYKyOPpxNjXD9maToVX22D.bFAwoqyyEMphJBlE9NVH9Xcu7exPgBoLWEad EVN3V8YTI7TA5_XKPGWhdnIUI4u4Xn8TIJ.3r88af.HDZFLAj.SOzOFPNKXL5BSjlsSfUGa9apo4 tcBN44d253pjsovbQRpu1C52znUQErcIOnCNsnOtkb0OowA4xJmyKKq67xjfJPQ_V.gxlKauK91B 2JzfrlS85YNajAAnd4jpDdfSiRg9HjzrukTnM2DT53XicF64fVPvywe3VdVphz8Avvc8TZsUNqHH VmHRGZghVTcTfvLe3.qPOTA5WB4YsjnfPo0wgJtjY. X-Sonic-MF: X-Sonic-ID: 4df08ebb-627e-421a-a2ba-17f02bb6765b Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Sun, 30 Apr 2023 13:25:46 +0000 Original-Received: by hermes--production-sg3-6d6fb994f6-94jgf (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a59e88a0eb3cdc095de989b0a80f7b71; Sun, 30 Apr 2023 13:25:42 +0000 (UTC) In-Reply-To: (Aaron Jensen's message of "Sun, 30 Apr 2023 06:10:22 -0400") X-Mailer: WebService/1.1.21417 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:260834 Archived-At: Aaron Jensen writes: > I don't have a good recipe for this. It has been happening occasionally > for quite some time (the attached screenshots are from 2021, but the > same thing is still occurring). Every once in a while, a part of the > Emacs frame gets into a state where glyphs from nearby lines can be > painted after the tail end of other lines. This seems to be related to > scrolling (that is, while scrolling, the glyphs replicate onto nearby > lines, but when scrolling back they stay. I usually have to force a full > repaint to get the glyphs to disappear. > > > > > > > In GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin22.4.0, NS > appkit-2299.50 Version 13.3.1 (Build 22E261)) of 2023-04-09 built on > Aarons-Laptop.local > Windowing system distributor 'Apple', version 10.3.2299 > System Description: macOS 13.3.1 > > Configured using: > 'configure --disable-dependency-tracking --disable-silent-rules > --enable-locallisppath=/opt/homebrew/share/emacs/site-lisp > --infodir=/opt/homebrew/Cellar/emacs-plus@30/30.0.50/share/info/emacs > --prefix=/opt/homebrew/Cellar/emacs-plus@30/30.0.50 --with-xml2 > --with-gnutls --with-native-compilation --without-compress-install > --without-dbus --without-imagemagick --with-modules --with-rsvg > --with-ns --disable-ns-self-contained 'CFLAGS=-Os -w -pipe > -mmacosx-version-min=13 > -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk > -DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT' > 'CPPFLAGS=-I/opt/homebrew/opt/zlib/include > -I/opt/homebrew/opt/jpeg/include -I/opt/homebrew/opt/icu4c/include > -I/opt/homebrew/opt/openssl@1.1/include -isystem/opt/homebrew/include > -F/opt/homebrew/Frameworks > -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk' > 'LDFLAGS=-L/opt/homebrew/opt/zlib/lib -L/opt/homebrew/opt/jpeg/lib > -L/opt/homebrew/opt/icu4c/lib -L/opt/homebrew/opt/openssl@1.1/lib > -L/opt/homebrew/lib -F/opt/homebrew/Frameworks > -Wl,-headerpad_max_install_names > -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'' > > Configured features: > ACL GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP > NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF > TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB > > Important settings: > value of $LANG: en_US.UTF-8 > locale-coding-system: utf-8-unix > > Major mode: ELisp/d > > Minor modes in effect: > global-evil-mc-mode: t > evil-mc-mode: t > treemacs-filewatch-mode: t > treemacs-follow-mode: t > treemacs-git-mode: t > treemacs-fringe-indicator-mode: t > global-git-commit-mode: t > transient-posframe-mode: t > windmove-mode: t > global-flycheck-mode: t > flycheck-mode: t > gcmh-mode: t > undo-fu-session-global-mode: t > undo-fu-session-mode: t > ws-butler-global-mode: t > ws-butler-mode: t > ns-auto-titlebar-mode: t > global-anzu-mode: t > anzu-mode: t > corfu-prescient-mode: t > corfu-history-mode: t > corfu-mode: t > form-feed-mode: t > eval-sexp-fu-flash-mode: t > eros-mode: t > lispyville-mode: t > lispy-mode: t > elisp-def-mode: t > sotlisp-mode: t > speed-of-thought-mode: t > electric-pair-mode: t > envrc-mode: t > global-evil-surround-mode: t > evil-surround-mode: t > evil-matchit-mode: t > evil-vimish-fold-mode: t > vimish-fold-mode: t > dtrt-indent-mode: t > tabspaces-mode: t > save-place-mode: t > winner-mode: t > savehist-mode: t > delete-selection-mode: t > yas-global-mode: t > yas-minor-mode: t > vertico-prescient-mode: t > prescient-persist-mode: t > vertico-mouse-mode: t > vertico-mode: t > mini-frame-mode: t > better-jumper-mode: t > better-jumper-local-mode: t > xterm-mouse-mode: t > pixel-scroll-precision-mode: t > global-auto-revert-mode: t > which-key-posframe-mode: t > which-key-mode: t > org-roam-db-autosync-mode: t > shell-dirtrack-mode: t > recentf-mode: t > repeat-mode: t > +popup-mode: t > evil-mode: t > evil-local-mode: t > nano-modeline-mode: t > server-mode: t > leader-key-leader-override-mode: t > global-leader-key-leader-override-mode: t > elpaca-use-package-mode: t > override-global-mode: t > global-display-line-numbers-mode: t > display-line-numbers-mode: t > global-eldoc-mode: t > eldoc-mode: t > show-paren-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > tab-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > window-divider-mode: t > line-number-mode: t > auto-fill-function: yas--auto-fill > transient-mark-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > abbrev-mode: t Hmmm, this looks like a scrolling optimization bug. I can't build the NS port right now, but if you insert: return false; right after /* Can't scroll the display of w32 GUI frames when position of point is indicated by the system caret, because scrolling the display will then "copy" the pixels used by the caret. */ #ifdef HAVE_NTGUI if (w32_use_visible_system_caret) return 0; #endif in `scrolling_window', in dispnew.c, does the problem go away?