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: Wed, 10 Jul 2024 14:58:59 +0300 Message-ID: <867cdto3uk.fsf@gnu.org> References: <86frstfiop.fsf@gnu.org> <03b9a1c2-986d-40ea-bdd6-d13b419c9aa0@gutov.dev> <86v81i526t.fsf@gnu.org> <1f5f741f-d599-4051-8a34-27d349360eb8@gutov.dev> <86sewiztr2.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8817"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71866@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 10 14:00:45 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 1sRW05-00023W-Kb for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Jul 2024 14:00:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRVzK-0000sQ-LV; Wed, 10 Jul 2024 07:59:58 -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 1sRVzJ-0000ro-1F for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2024 07:59:57 -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 1sRVzI-0003n8-PM for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2024 07:59:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sRVzO-0008CW-Pj for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2024 08:00: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: Wed, 10 Jul 2024 12:00: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.172061277931444 (code B ref 71866); Wed, 10 Jul 2024 12:00:02 +0000 Original-Received: (at 71866) by debbugs.gnu.org; 10 Jul 2024 11:59:39 +0000 Original-Received: from localhost ([127.0.0.1]:55050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRVz1-0008B5-1y for submit@debbugs.gnu.org; Wed, 10 Jul 2024 07:59:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRVyz-0008Ap-OV for 71866@debbugs.gnu.org; Wed, 10 Jul 2024 07:59:38 -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 1sRVyo-0003ef-6U; Wed, 10 Jul 2024 07:59:26 -0400 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=6loL4VZETgcf/vOW95U5ajfDXzVmd6XRsWUxx22Ga+A=; b=IPjW9MI9YzEc h+/TQo4OPcXI15YzXCLWpk0PetGXP6f3beP31kUGmSIcmGNqJ8FUkHGGL/0WDV6mjxzlxcnxdAdPu bwfbDqiI6Y+N1nVc5LxAQhCe+nDTMcZZ7ctHZXlyGXljmd3C1pKPZ0Zj4Se9o2C1ZrS3VYZbNvvIX avnV5erZawKuKp5HhM+93kNZVqCtom+0RzrDeJzjE5mf7UUCQzTGaKN2O6jrei92jc5hyoIVdp8CK pnW20XxZK0bM2SAJwAIpa7fRzGaUvNL++kS+lKFzZKd27qH+IDUnBM6f+bQyHVP2fC8mBpvHKJ6Bs 2tVNzX5OFlKv24QkWJL62g==; In-Reply-To: (message from Dmitry Gutov on Wed, 10 Jul 2024 05:46:35 +0300) 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:288675 Archived-At: > Date: Wed, 10 Jul 2024 05:46:35 +0300 > Cc: 71866@debbugs.gnu.org > From: Dmitry Gutov > > >> It does get called. Unfortunately, as soon as I put a breakpoint there, > >> any attempt to switch to the Emacs window drops into the debugger again > >> - and I have switch back to the terminal emulator to enter 'c RET' 20 > >> times or so. > > > > I don't think I understand what you are trying to do. I thought you > > needed to "switch to the Emacs window" just once: to trigger the > > situation which you want to investigate. Once you trigger it, the > > debugger will indeed kick in, but all you need to do next is step > > through the code, so why do you care about switching to Emacs again? > > Somehow, the problem manifests when I switch between frames (two frames > in the current repro) using C-` (bound to `other-frame'). > > But if I Alt-Tab to a different application and then Alt-Tab back to > Emacs, then the glyph is rendered fine - even if the "problematic" frame > gets selected. I thought you see the problem when you switch from another application to Emacs, not only when you switch between two Emacs frames. I see I was mistaken. > > (gdb) print f > > $1 = (struct frame *) 0x1234567812345600 > > (gdb) condition 3 f == 0x1234567812345600 > > > > This makes breakpoint 3 trigger only when struct frame variable f has > > the value of this frame. > > So step 1 find out the address of the second frame, step 2 switch to > first frame, step 3 enable a conditional breakpoint. Yes.