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: Tue, 23 Jul 2024 14:17:20 +0300 Message-ID: <86bk2o9x33.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> <867cdto3uk.fsf@gnu.org> <56cc929b-5491-4ed4-a527-d0b1a369e625@gutov.dev> <86o76sea9d.fsf@gnu.org> <72a0b2e2-600e-46f1-b583-0bed86f27d2d@gutov.dev> <86o76scaou.fsf@gnu.org> <86cyn7cito.fsf@gnu.org> <1659357b-5ca0-47a6-8ff3-4aa26017280b@gutov.dev> <86ttgibxqv.fsf@gnu.org> <7ae61592-8319-4b1a-b973-4015ff1db569@gutov.dev> <86wmlda3jb.fsf@gnu.org> <585145fb-ede0-4591-9cab-2165f137af32@gutov.dev> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38049"; mail-complaints-to="usenet@ciao.gmane.io" Cc: alan@idiocy.org, 71866@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 23 13:18:19 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 1sWDX8-0009m9-MG for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Jul 2024 13:18:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWDWp-0005mz-OY; Tue, 23 Jul 2024 07:17:59 -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 1sWDWo-0005hJ-As for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2024 07:17:58 -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 1sWDWo-0007DY-0w for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2024 07:17:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sWDWs-0000jI-5R for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2024 07:18: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: Tue, 23 Jul 2024 11:18: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.17217334592773 (code B ref 71866); Tue, 23 Jul 2024 11:18:02 +0000 Original-Received: (at 71866) by debbugs.gnu.org; 23 Jul 2024 11:17:39 +0000 Original-Received: from localhost ([127.0.0.1]:59312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWDWU-0000if-QG for submit@debbugs.gnu.org; Tue, 23 Jul 2024 07:17:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWDWR-0000iR-PK for 71866@debbugs.gnu.org; Tue, 23 Jul 2024 07:17:37 -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 1sWDWF-0007A3-Un; Tue, 23 Jul 2024 07:17:23 -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=8IqOTxakhnjh2+f07RLPdAhSWREtOJF0N9BifNvjE00=; b=HkfwoAxCGxdd qnog/9ESueMv7KIxE5M36FMByo+nz0bcuderM5ipgk7Z5BS1E+VylF9OKMaE4C0jnrxrts5qbupyU h01Gfz3Qp0wxiX8mLdRXGNiz5nGQSlflsIrbJgpdOD1hBHar9IC/jZ/LK28l56qxOLXZrCKhX44RK cYU8V32Ke3uThcLSkhpHgcZti5NaXnFON7A2S2VsWnWUpE4Wg8c7ptUNTCInGen+5geT2Z18Jf1Ny cMFbOKdyrro4pWaMzy/fJIxOCYtpiPlQbfhNACpk5+67ca3eyJdE4JXGIEvrsFcoK9+2sue7XS52O RNSeINrxt+9cxpSoIyC1Pw==; In-Reply-To: <585145fb-ede0-4591-9cab-2165f137af32@gutov.dev> (message from Dmitry Gutov on Tue, 23 Jul 2024 04:06:39 +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:289154 Archived-At: > Date: Tue, 23 Jul 2024 04:06:39 +0300 > Cc: alan@idiocy.org, 71866@debbugs.gnu.org > From: Dmitry Gutov > > > Moreover, the only event in the video where a previously-displayed > > cursor disappears in one of the windows is the last part, where you > > type "c" and the debugger says "Process 7616 resuming". And that > > happens without ns_draw_window_cursor being called! > > I think that could still have happened in ns_draw_window_cursor. > > We hit the breakpoint at the beginning of the function, right? So when I > just choose 'continue' the rest of the function executes, and the thing > with the cursor might happen then. No, because ns_draw_window_cursor was called with cursor_type=NO_CURSOR, and in that case the function returns a couple of lines below the breakpoint without doing anything. So I think Alan is right, and this is the effect of the macOS built-in double-buffering of the GUI display. But in that case there's no hope for us to match the code being stepped through with what's on the glass. > > Also, what are your values of cursor-type and > > cursor-in-non-selected-windows? > > The defaults (or the default for the platform, maybe): cursor-type is t, > cursor-in-non-selected-windows is t. That's what I thought, in which case the mystery of NO_CURSOR still stands.