From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.bugs Subject: bug#28620: Interact directly on Emacs bug#28620: mouse drag event records wrong release window Date: Tue, 3 Oct 2017 14:53:07 -0400 Message-ID: References: <83wp4e3nvx.fsf@gnu.org> <8360bx340d.fsf@gnu.org> <8360bw19es.fsf@gnu.org> <83r2ukyswj.fsf@gnu.org> Reply-To: rswgnu@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114d6da04b0771055aa9026f" X-Trace: blaine.gmane.org 1507056884 21140 195.159.176.226 (3 Oct 2017 18:54:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 3 Oct 2017 18:54:44 +0000 (UTC) Cc: 28620@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 03 20:54:38 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzSL0-0004eh-61 for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Oct 2017 20:54:38 +0200 Original-Received: from localhost ([::1]:59893 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzSL5-0007up-Uq for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Oct 2017 14:54:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzSKT-0007cl-Cw for bug-gnu-emacs@gnu.org; Tue, 03 Oct 2017 14:54:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzSKQ-00054S-7E for bug-gnu-emacs@gnu.org; Tue, 03 Oct 2017 14:54:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38086) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dzSKQ-00053r-4D for bug-gnu-emacs@gnu.org; Tue, 03 Oct 2017 14:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dzSKP-0005WB-Rw for bug-gnu-emacs@gnu.org; Tue, 03 Oct 2017 14:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Weiner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Oct 2017 18:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28620 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28620-submit@debbugs.gnu.org id=B28620.150705683121191 (code B ref 28620); Tue, 03 Oct 2017 18:54:01 +0000 Original-Received: (at 28620) by debbugs.gnu.org; 3 Oct 2017 18:53:51 +0000 Original-Received: from localhost ([127.0.0.1]:46767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzSKF-0005Vj-CW for submit@debbugs.gnu.org; Tue, 03 Oct 2017 14:53:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzSKD-0005VU-MS for 28620@debbugs.gnu.org; Tue, 03 Oct 2017 14:53:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzSK3-0004B0-3x for 28620@debbugs.gnu.org; Tue, 03 Oct 2017 14:53:44 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzSK2-0004An-VY for 28620@debbugs.gnu.org; Tue, 03 Oct 2017 14:53:39 -0400 Original-Received: from mail-qk0-f171.google.com ([209.85.220.171]:47112) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1dzSK2-0003f0-Kg for 28620@debbugs.gnu.org; Tue, 03 Oct 2017 14:53:38 -0400 Original-Received: by mail-qk0-f171.google.com with SMTP id m189so5186644qke.4 for <28620@debbugs.gnu.org>; Tue, 03 Oct 2017 11:53:38 -0700 (PDT) X-Gm-Message-State: AMCzsaVEfoy2Y13bLgCorbcuWgOK5FSnjiV9WzsrENp8JwTY4inbtS5I mpzu39rieQXjXBN7Z5tIe+z2JmfVrrGqtgSZO5w= X-Google-Smtp-Source: AOwi7QDwO4JRhoPoYR4As6wyoGS3wVhHF2ZawS5EaHH5YbfdW1bzissySIBF+9cUYxDW28Mq05HAO3BmLsFWwulWs4s= X-Received: by 10.55.12.130 with SMTP id 124mr3163946qkm.186.1507056817995; Tue, 03 Oct 2017 11:53:37 -0700 (PDT) Original-Received: by 10.237.34.225 with HTTP; Tue, 3 Oct 2017 11:53:07 -0700 (PDT) In-Reply-To: <83r2ukyswj.fsf@gnu.org> X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:137856 Archived-At: --001a114d6da04b0771055aa9026f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Oct 3, 2017 at 2:42 PM, Eli Zaretskii wrote: > > From: Robert Weiner > > Date: Tue, 3 Oct 2017 14:21:43 -0400 > > Cc: Eli Zaretskii > > > > I start with the mouse within a window of f1 and selected frame of f1; > (mouse-position) also reports f1. > > > > I click mouse-1 in an Emacs window of f2 and leave it there. > > (selected-frame) is now f2 > > macOS window manager highlights f2 as active window > > (frame-focus) returns nil > > (mouse-position) reports a frame of f1 <<< WRONG > > Sounds like something that's macOS specific. At least on MS-Windows I > cannot reproduce this: mouse-position returns the correct frame. > =E2=80=8BOk, that is good to know. Is there a go to person for the Mac-spe= cific windowing code to check on this with? Could someone check when running X with a click-for-focus window manager setting and see what happens there? Bob --001a114d6da04b0771055aa9026f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Oct 3, 20= 17 at 2:42 PM, Eli Zaretskii <eli= z@gnu.org> wrote= :
> From: Robert Weiner <rsw@gnu.org>
> Date: Tue, 3 Oct 2017 14:21:43 -0400
> Cc: Eli Zaretskii <eliz@gnu.org= >
>
> I start with the mouse within a window of f1 and selected frame of f1;= (mouse-position) also reports f1.
>
> I click mouse-1 in an Emacs window of f2 and leave it there.
> (selected-frame) is now f2
> macOS window manager highlights f2 as active window
> (frame-focus) returns nil
> (mouse-position) reports a frame of f1 <<< WRONG

Sounds like something that's macOS specific.=C2=A0 At least on M= S-Windows I
cannot reproduce this: mouse-position returns the correct frame.

=E2=80=8BOk, that is good to know.=C2=A0 Is there a go to = person for the Mac-specific windowing code to check on this with?

Co= uld someone check when running X with a click-for-focus window manager sett= ing and see what happens there?

Bob


--001a114d6da04b0771055aa9026f--