From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar Date: Sun, 10 Oct 2021 22:23:25 +0300 Message-ID: <83lf30r8eq.fsf@gnu.org> References: <87r1d2b9e2.fsf.ref@yahoo.com> <87r1d2b9e2.fsf@yahoo.com> <83y270rd4j.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34535"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 50993@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 10 21:24:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZeQa-0008nr-Sv for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Oct 2021 21:24:08 +0200 Original-Received: from localhost ([::1]:35862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZeQZ-0006Hw-TP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Oct 2021 15:24:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34944) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZeQV-0006Ho-3r for bug-gnu-emacs@gnu.org; Sun, 10 Oct 2021 15:24:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZeQU-0004x9-K7 for bug-gnu-emacs@gnu.org; Sun, 10 Oct 2021 15:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mZeQU-0006lp-GR for bug-gnu-emacs@gnu.org; Sun, 10 Oct 2021 15:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Oct 2021 19:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50993 X-GNU-PR-Package: emacs Original-Received: via spool by 50993-submit@debbugs.gnu.org id=B50993.163389382726004 (code B ref 50993); Sun, 10 Oct 2021 19:24:02 +0000 Original-Received: (at 50993) by debbugs.gnu.org; 10 Oct 2021 19:23:47 +0000 Original-Received: from localhost ([127.0.0.1]:55872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZeQF-0006lL-I2 for submit@debbugs.gnu.org; Sun, 10 Oct 2021 15:23:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:32976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZeQB-0006l7-BD for 50993@debbugs.gnu.org; Sun, 10 Oct 2021 15:23:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58974) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZeQ5-0004oZ-Hu; Sun, 10 Oct 2021 15:23:37 -0400 Original-Received: from [87.69.77.57] (port=4124 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZeQ5-0007XM-4t; Sun, 10 Oct 2021 15:23:37 -0400 In-Reply-To: (message from Stefan Monnier on Sun, 10 Oct 2021 15:10:58 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:216830 Archived-At: > From: Stefan Monnier > Cc: Po Lu , 50993@debbugs.gnu.org > Date: Sun, 10 Oct 2021 15:10:58 -0400 > > > I have no idea how to fix this mess; I tried many things, but gave up > > eventually. Perhaps Stefan knows what to do here. As a kludge, maybe > > remove the prefix if the full even has no binding? Anyway, we cannot > > revert that change because it was done to support mouse wheel on the > > tab bar. > > I'm afraid I don't have a good idea either: this business of adding > prefix events like `mode-line` and `tool-bar` is quite fiddly and > I haven't managed to wrap my head around precisely how it's supposed > to work. > > I think it would make sense to drop those prefixes when the resulting > key sequence has otherwise no binding, but at the same time it feels > a bit like adding a hack on top of another one. OK, thanks. I also tried to bind [tool-bar mouse-movement] to the same command to which we temporarily bind [mouse-movement] inside mouse-drag-region, but it somehow didn't work. Any idea why, or how to do it so it does work? Then we perhaps could bind those prefixed mouse movements, and keep the feature working.