From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71866: 30.0.50; [macOS] Cursor hiding char behind it with certain theme customization Date: Thu, 25 Jul 2024 08:39:46 +0300 Message-ID: <86r0bi58t9.fsf@gnu.org> References: <91d6db11-b866-4f1f-bf8b-d91af2e3dfe3@gutov.dev> <68028cb9-4572-4dc8-b5d8-a8d170d6af92@gutov.dev> <274af94d-5b69-48f6-a88a-84b2b1d76d06@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13852"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, stefankangas@gmail.com, 71866@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 25 07:41:29 2024 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 1sWrEG-0003Tl-JL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Jul 2024 07:41:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWrDr-0000wA-BP; Thu, 25 Jul 2024 01:41:03 -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 1sWrDj-0000vX-V9 for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 01:40:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sWrDj-00026r-Fs for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 01:40:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sWrDq-0002RF-8K for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 01:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Jul 2024 05:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71866 X-GNU-PR-Package: emacs Original-Received: via spool by 71866-submit@debbugs.gnu.org id=B71866.17218860059298 (code B ref 71866); Thu, 25 Jul 2024 05:41:02 +0000 Original-Received: (at 71866) by debbugs.gnu.org; 25 Jul 2024 05:40:05 +0000 Original-Received: from localhost ([127.0.0.1]:35166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWrCv-0002Pt-4J for submit@debbugs.gnu.org; Thu, 25 Jul 2024 01:40:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWrCs-0002PH-Lo for 71866@debbugs.gnu.org; Thu, 25 Jul 2024 01:40:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWrCg-0001jQ-6O; Thu, 25 Jul 2024 01:39:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=AvI7y19r/Hv3r/cKeorbuA4GN5RKjYEqw251xHumnHU=; b=EJ0tZni8IHJhWtTLoUit SD86sSgYqUzUfjU5PWocnDZoLiC8H7FRRSPKMY0JR9qX+gqKSiwQCbcTx4Xt0VZPTt4Lo5jF2kDsJ +4T0LOCDnjXFJMUEbsCXO0mbmQ41mFOTHsRlMrynoT/ORCBzT9pBxRA4PcexM/vTdgA9I6E6OrhnB IpGAzoIcHxKasktFLs8r27Pesw3uE2gzJMEfy8vtZAGyvtEJWRBbzqYOM2eJwtJ+8gE7OF4eVb5cc vdiBOftTwKoq8Yx2/pmyZCZui26f2TwVzyIqhvMk28G0KuVU5imivC/JTdOe5xmE2y43//ccEkokC NhfogdrXHPHbCA==; In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Thu, 25 Jul 2024 05:03:03 +0200) 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:289268 Archived-At: > Cc: Stefan Kangas , 71866@debbugs.gnu.org > From: Gerd Möllmann > Date: Thu, 25 Jul 2024 05:03:03 +0200 > > Dmitry Gutov writes: > > > On 24/07/2024 06:48, Gerd Möllmann wrote: > >>>> And now to my pet peeve 🙂. Dmitry could you please comment out the > >>>> calls to redisplay (2 of them) in nsterm.m and try again? > >>> I've tried that now, but it didn't seem to help. Does it make a > >>> difference on your system? > >> Yes, without the calls to redisplay, I can no longer reproduce it 🤷 > >> That's on a MBP with M1 Pro chip, macOS 14.5. > > > > Oh well. I've tried re-bootstrapping with that change applied, but the > > problem remains. > > > > M3 Pro, macOS 14.5. > > > > Or maybe this is about the slightly different font files: > > > >> ls -l ~/Library/Fonts/ > > total 3352 > > ... 290368 Dec 13 2021 CascadiaMono-Bold.otf > > ... 273200 Dec 13 2021 CascadiaMono-ExtraLight.otf > > ... 282548 Dec 13 2021 CascadiaMono-Light.otf > > ... 285336 Dec 13 2021 CascadiaMono-Regular.otf > > ... 292316 Dec 13 2021 CascadiaMono-SemiBold.otf > > ... 285944 Dec 13 2021 CascadiaMono-SemiLight.otf > > The fonts from Homebrew are .ttf files > > -rw-r--r--@ 1 gerd admin 715000 Apr 26 02:49 CascadiaMono.ttf > -rw-r--r--@ 1 gerd admin 524508 Apr 26 02:49 CascadiaMonoItalic.ttf Given the latest information from Dmitry, I very much doubt that fonts are related to this. > The ASAN bug I was referring to is bug#58334. I think there's some chance > that this is also timing dependent, so maybe it's your faster CPU 🤷 If the other ideas I just described prove fruitless, then yes, I would claim that the weird things the NS display does with its async nature (which no other platform I'm familiar with does) could cause ASAN bugs, and are the only explanation that is left un-rebuffed. In general, as long as we don't have on board an active developer who has a good grip on the intricacies of the NS redisplay in Emacs, we will continue hearing about display problems like this one, and there's nothing that can be done about it except stop using macOS.