From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar Date: Sun, 10 Oct 2021 15:10:58 -0400 Message-ID: References: <87r1d2b9e2.fsf.ref@yahoo.com> <87r1d2b9e2.fsf@yahoo.com> <83y270rd4j.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18983"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Po Lu , 50993@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 10 21:12:15 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 1mZeF4-0004hq-OP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Oct 2021 21:12:14 +0200 Original-Received: from localhost ([::1]:56742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZeF3-0000n8-AP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Oct 2021 15:12:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZeEs-0000kR-6T for bug-gnu-emacs@gnu.org; Sun, 10 Oct 2021 15:12:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44316) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZeEr-0006xE-Tb for bug-gnu-emacs@gnu.org; Sun, 10 Oct 2021 15:12:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mZeEr-0006TX-LF for bug-gnu-emacs@gnu.org; Sun, 10 Oct 2021 15:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Oct 2021 19:12:01 +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.163389307224832 (code B ref 50993); Sun, 10 Oct 2021 19:12:01 +0000 Original-Received: (at 50993) by debbugs.gnu.org; 10 Oct 2021 19:11:12 +0000 Original-Received: from localhost ([127.0.0.1]:55862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZeE4-0006SR-2U for submit@debbugs.gnu.org; Sun, 10 Oct 2021 15:11:12 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:26184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZeDz-0006Rr-3s for 50993@debbugs.gnu.org; Sun, 10 Oct 2021 15:11:11 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 36425440BF5; Sun, 10 Oct 2021 15:11:01 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id EEE7F440B27; Sun, 10 Oct 2021 15:10:59 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1633893059; bh=tl3Qr5Tvgau0Je6Ua9s5DgmKaTewMoXA1umKAlroxX4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=EGPVkusAhs20/v7JS98+ITlx9sdJqFdvRc90Gc1707blb3Gxs0GKv0isWxu3jiV8Q 8OdIB1j71+S+lXkvNdr/zksE7J6ec0T+sviDQSKejwN2vT2nOry4BmgYrNfpC0My6y hsh3WrN25KuTrDafvONIRDPLX24wq1j5RGQ1ucQrxNejJtVORLeiAoSCt1G2XrgeKK T6/T+2Hv+GCHSI7x3TW2XpQVFO3idu1lX+T0nyat5LTWJI1mAHchVAYbyDOUMl+km1 eVWZBkJl96YC2yTV2+dS4NzOZS49T0f1COYBu0AZRzt8n3aigjeqUc+vnXATB/TSxV C6TJ5UdaomaVA== Original-Received: from pastel (unknown [45.72.241.23]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id BCD461201A6; Sun, 10 Oct 2021 15:10:59 -0400 (EDT) In-Reply-To: <83y270rd4j.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 10 Oct 2021 20:41:32 +0300") 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:216829 Archived-At: > This is because of commit 2e595b3: we now report mouse gestures on > tool bar and tab bar with the corresponding prefixes. And > keyboard.c+mouse.el evidently don't like to see [tool-bar mouse-movement]. > > 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. Stefan "wondering if using modifiers instead of prefixes would have made things better or made them worse"