GNU bug report logs - #78527
30.1; Mishaving new frame creation in MacOS on new desktop

Previous Next

Package: emacs;

Reported by: Boris Aronov <aronov.boris <at> gmail.com>

Date: Wed, 21 May 2025 07:04:02 UTC

Severity: normal

Found in version 30.1

Full log


Message #17 received at 78527 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>, Boris Aronov <aronov.boris <at> gmail.com>,
 Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: 78527 <at> debbugs.gnu.org
Subject: Re: bug#78527: 30.1; Mishaving new frame creation in MacOS on new
 desktop
Date: Thu, 22 May 2025 16:44:18 +0200
> Gerd and Martin, any suggestions or comments?

I'd like to understand the focus issue.  What does C-x 5 o do when run
in the old frame?  What does running 'foo' defined as

(defun foo ()
  (interactive)
  (let ((frame (make-frame)))
    (sit-for 3)
    (message "%s" (frame-focus-state frame))))

report?  Is the message shown in both frames?

Does 'foo' specified as

(defun foo ()
  (interactive)
  (let ((frame (make-frame)))
    (select-frame-set-input-focus frame)))

behave the same way?  Does

(add-hook 'after-make-frame-functions 'select-frame-set-input-focus)

change anything?  Does

(add-hook 'after-make-frame-functions 'redirect-frame-focus)

change anything?

martin




This bug report was last modified 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.