From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#42887: 28.0.50; Customize Group doesn't show/hide option on repeated clicking Date: Mon, 11 Sep 2023 16:20:53 -0300 Message-ID: References: <7c86ca80-e4ab-7954-d21c-9f7a908aa9f8@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24266"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: luangruo@yahoo.com, Eli Zaretskii , Lars Ingebrigtsen , tsuucat@icloud.com To: Stefan Kangas , 42887@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 11 21:22:12 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 1qfmU8-00068a-Qm for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Sep 2023 21:22:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfmTv-00042P-Sx; Mon, 11 Sep 2023 15:21:59 -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 1qfmTu-00042F-E1 for bug-gnu-emacs@gnu.org; Mon, 11 Sep 2023 15:21:58 -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 1qfmTt-0000uJ-Vw for bug-gnu-emacs@gnu.org; Mon, 11 Sep 2023 15:21:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qfmTx-0002Uh-Sy for bug-gnu-emacs@gnu.org; Mon, 11 Sep 2023 15:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Sep 2023 19:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42887 X-GNU-PR-Package: emacs Original-Received: via spool by 42887-submit@debbugs.gnu.org id=B42887.16944600739531 (code B ref 42887); Mon, 11 Sep 2023 19:22:01 +0000 Original-Received: (at 42887) by debbugs.gnu.org; 11 Sep 2023 19:21:13 +0000 Original-Received: from localhost ([127.0.0.1]:54894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfmTA-0002Tf-Hz for submit@debbugs.gnu.org; Mon, 11 Sep 2023 15:21:12 -0400 Original-Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]:53481) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfmT7-0002T9-2i for 42887@debbugs.gnu.org; Mon, 11 Sep 2023 15:21:11 -0400 Original-Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-1cc87405650so3317919fac.2 for <42887@debbugs.gnu.org>; Mon, 11 Sep 2023 12:21:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694460058; x=1695064858; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:cc:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=hIG++e5hYrs4nUQBYcKIMKOmZHBiKzPLqarIVQBpTxI=; b=qSpGG+zZzrmwuzuWbw43XxYF0e/uruSwtg+L7kEMGcwnE2PjwKYGYhG1K9KJQtAaj1 BT3KEUWpLqFfuAL+VkVMRKZTslwjv7LC7h2siNEJ+ORHTKnTRdDzTJcbzt2FYFaS75Pt SVTQD0/Tm++XatI2kGx5ugTjpJBUcITXzR5NUsFW7BzorsrMPEZumAcRD8l3jNtIPSJ0 JMcVyJeeFMNXr5djTIlMSBgt4j1m6K6NIirEjizMBde5DFrYUDMgI0tDK3eoVz1QJcwl 2il57JEuI49khgZv4JhIqF4LdRFma8d7zYELXGLszGkDZol3hJHtETmOEhLe7p7L92kO pnPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694460058; x=1695064858; h=content-transfer-encoding:in-reply-to:from:cc:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hIG++e5hYrs4nUQBYcKIMKOmZHBiKzPLqarIVQBpTxI=; b=XvoCzGYKoP65dqfxiD5gOE6YjEL/jgL47iNWG7KO+eeShInIpp+dUj2lvrp5VwSmPQ KOMLYbVCv5pNbJReBcHsdF5aulGDR7p0PCdoEtZdiLzp88II0IVHC1FF+zY1TzbajcoL 5XSStf0f7y7brguVIFL6E2HzagPYoqPWDEVl43Lb/k+IFKyEqpJ3VHCjgxY2dHigBvzf yJEDpeF4hvrn+Z0KpSQjMXlRe2GE9/i8rgJBZYOhMKaBqIpNLYjZemaHUQ357xezDDaZ mBctYPUEDxLQIYiTFm/QFMDTNnSdEfZj23i8qQ/42TEgKkqV1FmXvi9IsIsqMNKzryJy 3XKA== X-Gm-Message-State: AOJu0YxyhVNRwUpgzuGlHAh51l/m+EvzC2bnXuydqyXIVr5LtLvxGGCl 91f8xu1uyX9KSADWrtD6+4E= X-Google-Smtp-Source: AGHT+IHrA6pdLEysMqtmD0ETKCujO4CyQJnloISPSfIKd48wi03KeWeHz8UKRQqTJQ4YiSpqDrlhvQ== X-Received: by 2002:a05:6870:2102:b0:1be:c8e2:3ec3 with SMTP id f2-20020a056870210200b001bec8e23ec3mr13731448oae.14.1694460058557; Mon, 11 Sep 2023 12:20:58 -0700 (PDT) Original-Received: from [192.168.0.234] ([152.168.142.156]) by smtp.gmail.com with ESMTPSA id ch26-20020a056871c41a00b001cc5fec1d26sm4296970oac.18.2023.09.11.12.20.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Sep 2023 12:20:57 -0700 (PDT) Content-Language: en-US In-Reply-To: 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:270079 Archived-At: On 11/9/23 15:01, Stefan Kangas wrote: > Mauro Aranda writes: > >> I don't know why I couldn't reproduce it three years ago, but I managed >> to do that now, I think. >> >> Could you please check if the following change to >> widget-button-release-event-p fixes this for you? >> >> (defun widget-button-release-event-p (event) >>    "Non-nil if EVENT is a mouse-button-release event object." >>    (and (eventp event) >>         (memq (event-basic-type event) '(mouse-1 mouse-2 mouse-3)) >>         (seq-some (lambda (el) >>                     (memq el '(click drag triple double))) >>                   (event-modifiers event)))) >> >> >> Please do try it with mouse-1 and mouse-2 if you can. >> >> (I know that the mark gets set with repeating clicks with mouse-1, >> and there's a signal with mouse-2, but I'm focusing on whether this >> changes fixes the detection of repeated clicks) > > Thanks. > > I don't currently have convenient access to the machine where I can > reproduce this, and it will be at least another couple of weeks until I > do.  Apologies in advance if it takes a while before I can review this. OK, no problem, of course.  There are other bugs to focus in the meantime :-). > If someone else can reproduce and this patch fixes it for them, that > works too. I see I failed to CC people that participated in this report. Sorry, doing that now.  For reproducing, the recipe given by Stefan is pretty good, but I would like to add that in my experience is better to make the repeated clicks as if you wanted to double click, but maybe not so fast. Try to not move the mouse, and if the option doesn't toggle, wait. There might be something in the echo area like: double-down-mouse-1 double-mouse-1-