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: Tue, 24 Oct 2023 17:18:16 +0300 Message-ID: <83h6mgkst3.fsf@gnu.org> References: <1d9187b71e7288eaf08ac9a2f0559bdf@gmail.com> <8334y4s0oe.fsf@gnu.org> <83v8axmbsh.fsf@gnu.org> <83y1fskyjj.fsf@gnu.org> <83il6wktxt.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38754"; 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 Tue Oct 24 16:19:16 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 1qvIFY-0009no-2q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Oct 2023 16:19:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvIF8-0004aH-Av; Tue, 24 Oct 2023 10:18:52 -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 1qvIF0-0004Xy-Ec for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 10:18:42 -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 1qvIEq-0006s7-IZ for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 10:18:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvIFJ-0007RT-Qo for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 10:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Oct 2023 14:19: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.169815713128577 (code B ref 66655); Tue, 24 Oct 2023 14:19:01 +0000 Original-Received: (at 66655) by debbugs.gnu.org; 24 Oct 2023 14:18:51 +0000 Original-Received: from localhost ([127.0.0.1]:56082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvIF8-0007Qq-Q1 for submit@debbugs.gnu.org; Tue, 24 Oct 2023 10:18:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvIF6-0007Qd-AP for 66655@debbugs.gnu.org; Tue, 24 Oct 2023 10:18:49 -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 1qvIEV-0006nv-PJ; Tue, 24 Oct 2023 10:18:11 -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=ULjaRhVmCW8mVnLGQNkPuAiV2TXJkv43zrlEepB18/8=; b=fPpF8kahhuLp zKKRowR/HeJS4vw3IUrEsgbsgYKFU8o6WdtpZRPVFyqpeGsSrqOX9h0tzr5HWrx6QWCekBFasEPNz zN84TiITyFd20tkXiy9k92gMROV4RJtMO1OMUBT98O5kITzvM0vaPI8it0aGZh6vcgTLR08TRvyrZ FpAixss/+RlfksL2rV9T7m0FkHfcWC7m+Ths/OYT1ktGexw4kaWs7Sqb/xYdrMVD3lrT9EhWSZMnw vU/MB6vtFP5QgCUxNZyHoIBh0WqkqkZm9YRH9sPnPfRpOTff+K9IHqMN6eJ27845VqsnA4nMCDb6Y qRE492Nh4vk5ER5P4HRhkg==; In-Reply-To: (message from Stefan Monnier on Tue, 24 Oct 2023 09:57:26 -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:273108 Archived-At: > From: Stefan Monnier > Cc: tomasralph2000@gmail.com, 66655@debbugs.gnu.org > Date: Tue, 24 Oct 2023 09:57:26 -0400 > > >> > What will that do if the mouse was moved, then returned to the > >> > original position before the button is released? > >> > >> In the sample patch I sent it depends if the original mouse/screen position > >> still shows the same buffer position. If it does, then the `up` will > >> stay as an `up`, otherwise it will turn into a `drag`. > >> [ At least, that's what I think my code does. ] > > > > OK, but I think the issue with double-click-fuzz still remains to be > > solved with this approach. > > Not sure what you men by that (probably because I don't know enough of > what we do with double-click-fuzz, i.e. where we do obey it and where we > don't). It is used to decide whether to emit a drag event or a click event, just search for it in keyboard.c and you will find the code.