From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19988: 25.0.50; Drag events ending in different frame Date: Thu, 05 Mar 2015 19:05:24 +0200 Message-ID: <83sidjnzmz.fsf@gnu.org> References: <87k2yycfwh.fsf@gnu.org> <83r3t5q11o.fsf@gnu.org> <87mw3tfdn8.fsf@gnu.org> <83mw3sptht.fsf@gnu.org> <87egp44gh5.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1425575190 8216 80.91.229.3 (5 Mar 2015 17:06:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Mar 2015 17:06:30 +0000 (UTC) Cc: 19988@debbugs.gnu.org, tsdh@gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 05 18:06:19 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YTZDx-0001Sd-Ff for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Mar 2015 18:06:13 +0100 Original-Received: from localhost ([::1]:53100 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTZDw-0001Tw-Lj for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Mar 2015 12:06:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTZDp-0001FF-Ss for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 12:06:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTZDm-0002mG-NG for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 12:06:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTZDm-0002mB-JE for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 12:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YTZDm-0008Ay-6x for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 12:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Mar 2015 17:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19988 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19988-submit@debbugs.gnu.org id=B19988.142557513831389 (code B ref 19988); Thu, 05 Mar 2015 17:06:02 +0000 Original-Received: (at 19988) by debbugs.gnu.org; 5 Mar 2015 17:05:38 +0000 Original-Received: from localhost ([127.0.0.1]:36208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTZDO-0008A8-0L for submit@debbugs.gnu.org; Thu, 05 Mar 2015 12:05:38 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:64121) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTZDL-00089r-P7 for 19988@debbugs.gnu.org; Thu, 05 Mar 2015 12:05:37 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NKR00I000RHAT00@a-mtaout22.012.net.il> for 19988@debbugs.gnu.org; Thu, 05 Mar 2015 19:05:29 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NKR00HID0T0WU80@a-mtaout22.012.net.il>; Thu, 05 Mar 2015 19:05:24 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:100099 Archived-At: > From: Stefan Monnier > Cc: Eli Zaretskii , 19988@debbugs.gnu.org > Date: Wed, 04 Mar 2015 17:58:46 -0500 > > > How do we include both in a backward-compatible way? > > Good question. Maybe we can return only one of the two and find a way > to implement a function that computes the other from the one > that's returned. Yes, that would work. > > When I select a region by dragging Mouse-1 starting at the "selected." > > above, as soon as the mouse cursor leaves the emacs frame, the region > > won't grow or shrink anymore until I enter the frame and window again. > > Indeed, sorry. Dragging keeps working when you drag a mode-line but not > when you drag a region. Not sure why. Looks like a bug to me. The code looks like it was explicitly programmed to do this. > Actually, it's more subtle than that: if I move into another frame which > hides part of the selected window, the drag keeps working (as long as > I stay within the bounds of the originally selected window, even though > I don't get to see some of those bounds because they're hidden by > another frame). This doesn't happen on my system. Could be toolkit-specific. > Oh, and there's yet another subtlety: if, during the drag, you move the > mouse out of the selected frame, the drag seems to freeze indeed, but if > you then move your mouse higher/lower than the frame the text gets > scrolled and the drag does take place (even if you release the mouse > while it's outside of the originally selected frame/window). Yes, and that's expected, I think.