GNU bug report logs

#78527 30.1; Mishaving new frame creation in MacOS on new desktop

version graph
PackageSource(s)Maintainer(s)
emacs PTS Buildd Popcon
Full log

Message #41 received at 78527@debbugs.gnu.org (full text, mbox, reply):

Received: (at 78527) by debbugs.gnu.org; 5 Jun 2025 05:15:37 +0000
From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 05 01:15:37 2025
Received: from localhost ([127.0.0.1]:57182 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1uN2wy-0004iC-Nr
	for submit@debbugs.gnu.org; Thu, 05 Jun 2025 01:15:37 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37846)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@gnu.org>) id 1uN2ww-0004hw-1E
 for 78527@debbugs.gnu.org; Thu, 05 Jun 2025 01:15:34 -0400
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 <eliz@gnu.org>)
 id 1uN2wq-0003Ai-9C; Thu, 05 Jun 2025 01:15:28 -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=EgfW3L0ACqOgl09/1o4p+Op6W4l98zCkFJ7NdSHt9t0=; b=Afq+54dv/DLT3dYKDQ8Z
 ilAit3AFaTjfYBhbf4qiJje1JUHZz8EWeW4+ZRjO8ViU6JLH+9Uv9X/dJs7YCApe7zwdGfoTOEXT5
 ETSFh9BlVsKppctZcJ4ZK+A83jxMhNoUt2+VtZ2X0Du1a6/CT7d7sEgcs8D1V9l9sPPO98LhUp+3d
 78lPD8O1payAAAo69LB8rYOwz/1mQTVEasEdPnZ0z+M1IFqo8JPLxYmPLtdv9sKPvGei1G8NQ2KNf
 V871DcJUQbrTiwqUtFHijtxYWwrfWDax7A9OSA+VSzoMjo5j+OMdKCu966IEyO9v1a0Be6lf1RTc9
 wa/9Vn8rl88/QQ==;
Date: Thu, 05 Jun 2025 08:15:25 +0300
Message-Id: <86y0u6n502.fsf@gnu.org>
From: Eli Zaretskii <eliz@gnu.org>
To: Boris Aronov <aronov.boris@gmail.com>
In-Reply-To: <CAGPpUSrQDJmx=PEjJRpozzHZrQAD0S-fRCxNNhPB7ViAN4yfDA@mail.gmail.com>
 (message from Boris Aronov on Wed, 4 Jun 2025 19:17:50 +0200)
Subject: Re: bug#78527: 30.1;
 Mishaving new frame creation in MacOS on new desktop
References: <CAGPpUSoPzgd4bSKoAagQniBZoS+fhMZp0ZskoW5nA24VNxmtYg@mail.gmail.com>
 <865xht6k1e.fsf@gnu.org> <db4f94fe-a395-4ece-a9bb-6d763d7d0235@gmx.at>
 <CAGPpUSr-uyVcoOBMyEjVLSCp8+=RnkCiWyjw5afSs4XnkT9N=A@mail.gmail.com>
 <97dfdc42-d676-4cf0-a1cd-b248d441a6f7@gmx.at>
 <CAGPpUSrQDJmx=PEjJRpozzHZrQAD0S-fRCxNNhPB7ViAN4yfDA@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 78527
Cc: gerd.moellmann@gmail.com, rudalics@gmx.at, 78527@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Boris Aronov <aronov.boris@gmail.com>
> Date: Wed, 4 Jun 2025 19:17:50 +0200
> Cc: Eli Zaretskii <eliz@gnu.org>, Gerd Möllmann <gerd.moellmann@gmail.com>, 
> 	78527@debbugs.gnu.org
> 
> Just noticed another weirdness, btw: 
> – I see a blinking cursor with emacs -Q.  
> – But after I have two frames in different desktops, immediately after I switch between desktops (in either
> direction), the cursor is highlighted, but does not blink.
> – In fact, this cursor thing has nothing to do with full screen or desktops: with two regular frames next to each
> other on a common desktop, when I click on a frame to switch focus there, the cursor gets highlighted,
> but does not blink until I do something...  But if I do C-x 5 2 to switch frames, it blinks as it should.  And
> when I switch from Firefox (where I am writing this) to Emacs (using Alt-TAB [=command-TAB]), the cursor
> initially does not blink.

I'm not sure the blinking cursor part is related.  The way it works is
that blink-cursor-check is added to post-command-hook, and
blink-cursor--rescan-frames is added to after-delete-frame-functions
and as an advice to after-focus-change-function.  If the cursor
doesn't start blinking when a frame receives focus, it means neither
of these hooks is called in your configuration, for some reason.  For
example, clicking on a frame to switch focus probably doesn't call
after-focus-change-function.

You can see how blink-cursor-mode works in frame.el.  Using
trace-function to trace execution of the relevant functions should
allow you to figure out what does not happen on your system that
should have happened to allow the cursor to start blinking after
switching frames or creating a new frame.




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Wed Sep 10 21:24:33 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.