From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#66655: 29.1; Clicking buttons sometimes doesn't work Date: Fri, 20 Oct 2023 13:38:30 -0700 Message-ID: References: <1d9187b71e7288eaf08ac9a2f0559bdf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29886"; mail-complaints-to="usenet@ciao.gmane.io" To: tomasralph2000@gmail.com, 66655@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 20 22:39:53 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 1qtwHf-0007ZM-NA for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Oct 2023 22:39:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtwHR-0006W4-BO; Fri, 20 Oct 2023 16:39:37 -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 1qtwHP-0006VZ-CE for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 16:39:35 -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 1qtwHP-0007OA-4H for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 16:39:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtwHq-0005Br-Fr for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 16:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Oct 2023 20:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66655 X-GNU-PR-Package: emacs Original-Received: via spool by 66655-submit@debbugs.gnu.org id=B66655.169783435019882 (code B ref 66655); Fri, 20 Oct 2023 20:40:02 +0000 Original-Received: (at 66655) by debbugs.gnu.org; 20 Oct 2023 20:39:10 +0000 Original-Received: from localhost ([127.0.0.1]:41715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtwGz-0005Ac-Iw for submit@debbugs.gnu.org; Fri, 20 Oct 2023 16:39:09 -0400 Original-Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]:45454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtwGu-0005A1-Lf for 66655@debbugs.gnu.org; Fri, 20 Oct 2023 16:39:07 -0400 Original-Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2c5039d4e88so19990871fa.3 for <66655@debbugs.gnu.org>; Fri, 20 Oct 2023 13:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697834311; x=1698439111; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :from:to:cc:subject:date:message-id:reply-to; bh=bDtEb5NY+ravc69tGgYlEM/lZHLMoIi/wXn44EkxOvg=; b=m81dYo6f1SlparTssCam6ZQzJBbAxweUCoGCF4F3vfyMzJxOYfCF9wHSOon34KgU5d E4sakiXznyVLdCYnLGH4oSIMlUnNpyOaufkHeVy+gMQwxAmJUUn0xiSiWocEHe6kTFq0 8h8NrtBpt3DtzXbHXN2hMPTCDhCD6MT0Iieh3HoS8+HTcqZbyfr/dYFbLAnqT4RiPF+q pschhYbEmeQN3hEVw66bB8mlfXzwJCLm1l0779MxZv5so99qsy2e+qUS/PZhJhAuP16k 0XJKosKzq0oBq9AYPvBZgN0sduCJacprvNK/jD8RmhXO4g9qbMQWDyH4RiuUZZaHrOxj GDnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697834311; x=1698439111; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bDtEb5NY+ravc69tGgYlEM/lZHLMoIi/wXn44EkxOvg=; b=CpA7Ynt66p9VJA1fGEuOzo2yPy3z+72Ledr8/dwb4TzRCn3IZ5JVjqd85RSEn03Gdq MIBptQJSsyG6FeVKGZTHTaXwDltwFU6FnoZKzOBubni1LuDqc/b+iL5RuIfbU6r30/QE z8H0i6Xck2r5FrCmgd7NJgt//MPVKdWO5Y2H4qAgSiXfIN6cmcRVpoowPJGYrMJiqqPM Uem+YYjppIW4YeYSKULVXEUk7iMwslVH99TDx5b3bJh/szK/YwxsamE8mmO+P9fuRbeE 0ilDi9ZmjHyQQ4Xoue1wF5wJBhD3oOe73DUJtYp7ItkImFrV/nqCWhlXwzyOMfU4iS10 PD+g== X-Gm-Message-State: AOJu0YwsmgM4gcB7jv0X8oyXqdDhWOzrqMaGb0GbhKydPAzwbS9YHGWb vp6D3ZdF1Du50AjYdsqH36vB5y1kyDadXXwrDfM= X-Google-Smtp-Source: AGHT+IHIIyg3/itVxxz0m+DxArZKRkQM67HVWo/arw7hyVDyuiFr2tKMdgtk4f9qS0vSX+t+MHqGvAjIzaYkdc0pO+o= X-Received: by 2002:a2e:8e2a:0:b0:2b5:7f93:b3b0 with SMTP id r10-20020a2e8e2a000000b002b57f93b3b0mr1899525ljk.17.1697834310890; Fri, 20 Oct 2023 13:38:30 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 20 Oct 2023 13:38:30 -0700 In-Reply-To: <1d9187b71e7288eaf08ac9a2f0559bdf@gmail.com> 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:272814 Archived-At: tomasralph2000@gmail.com writes: > If using =display-line-numbers-mode= with the =visual= style set for it, > sometimes clicking buttons does not actually click it. It instead shifts > the buffer slightly, either to the left or to the right, and a mark is > set (by clicking I refer with the mouse, specifically). You will need to > press again in order to actually click the button. > > This is inconsistent, there's no guarantee that it will happen, it > sometimes does, but it is often enough for you to be able to notice within > just a couple of seconds of clicking through things. > > You can launch =emacs -Q= and run these two lines: > > (setq display-line-numbers-type 'visual) > (global-display-line-numbers-mode) > > Then just click through buttons. A good test is to open the emacs manual > =C-h R emacs= since it has a big index. > > The bug does not happen with =relative= style line numbers. I can reproduce this on master, but it did take like 1-2 minutes of clicking around to trigger it. I might be making this up, but I feel like I've seen this before -- without `display-line-numbers-mode'. Perhaps there's some rare bug that is just more frequently triggered when that mode is on? But I'm not really sure about that, it's quite possible that I'm wrong. In GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.7 (Build 21G816)) of 2023-10-18 built on Newton.local Repository revision: 50514298cf98fcd0dfb0d59a7e03b1ebb0d03490 Repository branch: scratch/no-purespace Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.7 Configured using: 'configure 'LDFLAGS=-L/usr/local/opt/llvm/lib -L/usr/local/opt/libffi/lib' 'CPPFLAGS=-I/usr/local/opt/llvm/include -I/usr/local/opt/libffi/include'' Configured features: ACL GIF GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB