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#66655: 29.1; Clicking buttons sometimes doesn't work Date: Wed, 25 Oct 2023 14:59:55 +0300 Message-ID: <83pm12kj44.fsf@gnu.org> References: <1d9187b71e7288eaf08ac9a2f0559bdf@gmail.com> <8334y4s0oe.fsf@gnu.org> <83v8axmbsh.fsf@gnu.org> <83y1fskyjj.fsf@gnu.org> <83il6wktxt.fsf@gnu.org> <83h6mgkst3.fsf@gnu.org> <83edhkkrzd.fsf@gnu.org> <83bkcokoxu.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13470"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tomasralph2000@gmail.com, 66655@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 25 14:01:05 2023 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 1qvcZN-0003Jx-Iw for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Oct 2023 14:01:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvcZ5-0003ez-FS; Wed, 25 Oct 2023 08:00:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvcYq-0003bZ-NW for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 08:00:45 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qvcYp-0005wF-TK for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 08:00:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvcZK-0005aS-0W for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 08:01: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: Wed, 25 Oct 2023 12:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66655 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 66655-submit@debbugs.gnu.org id=B66655.169823523321426 (code B ref 66655); Wed, 25 Oct 2023 12:01:01 +0000 Original-Received: (at 66655) by debbugs.gnu.org; 25 Oct 2023 12:00:33 +0000 Original-Received: from localhost ([127.0.0.1]:57588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvcYq-0005ZW-MT for submit@debbugs.gnu.org; Wed, 25 Oct 2023 08:00:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvcYo-0005ZC-Pd for 66655@debbugs.gnu.org; Wed, 25 Oct 2023 08:00:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvcY9-0005Z8-OG; Wed, 25 Oct 2023 07:59:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=PAso4S9dkGggoHyWtpKyv06xONeFA/sMIqA8eNPhbl0=; b=DAAFJXwpcmup iCIXAuMyaebp+ASMItzYnZdIPpkxeDPMw5BudXXlWjVbdSVnEVEiBB1VsYbH0bUZMN0RcDno0U3eP 9QdHMFOP/7F5PTW/B+f2hEkSykqQhfxWpmZuWe15nHACitVcld/VkXjU1BXo20AQIcq9dRJThmFQ+ 9DLHtqDY39g3IHahrmZ6wZs03wo7s+6FnG3I3DNaBRPerkMPwBwNBwgoImRcdA2biB8Xt6+bBCt7d AhxgwinA4nhZmInD3Q0YRp4/YeVN2xDueqXt4dqSVL1peBAP5IPCSUNvFBSluePwq39OVBYGamV21 F4wfOQABioUZfRL1wwpC0A==; In-Reply-To: (message from Stefan Monnier on Tue, 24 Oct 2023 18:00:14 -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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273158 Archived-At: > From: Stefan Monnier > Cc: tomasralph2000@gmail.com, 66655@debbugs.gnu.org > Date: Tue, 24 Oct 2023 18:00:14 -0400 > > > With the current code, if I move the mouse between the events, but the > > coordinates differ by less than double-click-fuzz, we will not > > generate a drag event. If the mouse-moved flag overrides that, we > > will generate a drag event where previously we didn't, isn't that so? > > Good point. > > The patch below should fix this problem (as well as the problem that we > only considered the mouse to move when we emitted a `mouse-movement` > event). This seems to assume that double-click-fuzz cannot be large enough to allow the events be on different buffer positions? Isn't this change in behavior?