GNU bug report logs - #76629
NS click events don't select right window

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Fri, 28 Feb 2025 03:52:02 UTC

Severity: normal

Fixed in version 30.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Daniel Colascione <dancol <at> dancol.org>
Subject: bug#76629: closed (Re: bug#76629: NS click events don't select
 right window)
Date: Mon, 03 Mar 2025 01:20:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#76629: NS click events don't select right window

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 76629 <at> debbugs.gnu.org.

-- 
76629: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76629
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Kangas <stefankangas <at> gmail.com>
To: Daniel Colascione <dancol <at> dancol.org>, Ship Mints <shipmints <at> gmail.com>
Cc: 76629-done <at> debbugs.gnu.org
Subject: Re: bug#76629: NS click events don't select right window
Date: Sun, 2 Mar 2025 17:18:55 -0800
Version: 30.1

Daniel Colascione <dancol <at> dancol.org> writes:

> Ship Mints <shipmints <at> gmail.com> writes:
>
> Please don't top-post.
>
>> I'm on 12.7.6, perhaps this is associated with behavioral changes in later
>> macOS releases.  Do you have an example of another application you switch
>> to when you see this behavior?  I switch to Chrome or another Emacs session
>> or Terminal.app and back and I don't see the issue.  The window I last
>> selected remains selected and if I click in any other window, that one is
>> correctly selected.  I tried again both with my configuration and on master
>> with -Q and it seems fine.
>
> That's a pretty old version.  It's also after EOL, so you're risking
> security problems by not upgrading.
>
> As for the click change ---- who knows? Maybe Apple has
> changed something. Emacs works fine on master now.

Thanks, I can confirm that this is fixed by your commit
354598874061ab9ecb9362d7ac4233494b51252b.

I'm therefore closing this bug report.

[Message part 3 (message/rfc822, inline)]
From: Daniel Colascione <dancol <at> dancol.org>
To: "Eshel Yaron via Bug reports for GNU Emacs,  the Swiss army knife of
 text editors" <bug-gnu-emacs <at> gnu.org>
Subject: NS click events don't select right window
Date: Thu, 27 Feb 2025 22:51:18 -0500
Say we have a NS Emacs frame with two windows --- let's say L and R.
We select L, then switch to another app on the OS.  Then we click on the
Emacs window in the area owned by R.  I observe Emacs being focused but
the selected window being L!  If I click in exactly the same spot again,
*then* R is selected.  But I need two clicks where one should suffice.



This bug report was last modified 79 days ago.

Previous Next


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