GNU bug report logs - #76384
Incorrect mouse events / tool-bar event is undefined error.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: mjk <mkajola@HIDDEN>; merged with #76385; dated Tue, 18 Feb 2025 04:16:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 76384 76385. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Feb 2025 04:15:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 17 23:15:46 2025
Received: from localhost ([127.0.0.1]:52727 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tkF1O-00055Q-4v
	for submit <at> debbugs.gnu.org; Mon, 17 Feb 2025 23:15:46 -0500
Received: from lists.gnu.org ([2001:470:142::17]:45976)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <mkajola@HIDDEN>) id 1tk8Db-0008QH-D1
 for submit <at> debbugs.gnu.org; Mon, 17 Feb 2025 16:00:00 -0500
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 <mkajola@HIDDEN>) id 1tk8DV-0007J2-J9
 for bug-gnu-emacs@HIDDEN; Mon, 17 Feb 2025 15:59:49 -0500
Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <mkajola@HIDDEN>) id 1tk8DT-0003YT-Vk
 for bug-gnu-emacs@HIDDEN; Mon, 17 Feb 2025 15:59:49 -0500
Received: by mail-lf1-x129.google.com with SMTP id
 2adb3069b0e04-5452c29bacfso3876167e87.3
 for <bug-gnu-emacs@HIDDEN>; Mon, 17 Feb 2025 12:59:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1739825984; x=1740430784; darn=gnu.org;
 h=content-transfer-encoding:subject:from:to:content-language
 :user-agent:mime-version:date:message-id:from:to:cc:subject:date
 :message-id:reply-to;
 bh=YvDiW+yGVZCDGzCN6a/fgTMi4qCsdwFDQs3SeLOxFYQ=;
 b=JnObgLckb9+w07kXoBlTdgPI0m3s99/eS5qrov0bn+VIoIIAYIUi0LhyS20HkxeYQP
 WBjyOXXRlGTa8gsaPrsnPodtkJg8eoXchQap8p4fqQ0iSuLPNrBkwCrp58EAzPLX5cI5
 ZpBZOvv/CUyJ4AnBOP58RZtD6RP+GQjXQn0/73Ec6PtHy1yBCjYu8zezKEfpSprrPY6D
 G9/JfHSgql8ExdzzUGiCGRVUkhUbF2kP0J//cEJmDIqVhBVchQfUyMwM9Fs4faa9EDag
 sAcATtccXKgRJWnvu3F4PODkX//rwKEmjkJE1VYSv5dFFYQcnhrLP/VOrhTdTCBIfAw/
 Ezlg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1739825984; x=1740430784;
 h=content-transfer-encoding:subject:from:to:content-language
 :user-agent:mime-version:date:message-id:x-gm-message-state:from:to
 :cc:subject:date:message-id:reply-to;
 bh=YvDiW+yGVZCDGzCN6a/fgTMi4qCsdwFDQs3SeLOxFYQ=;
 b=ElL2CSq8ioIBeE7C3UPrDbBBjxuWvr1JrmVASi5WZA8vVT6mtoE9BPdxxDUVxt0HCi
 3E9bsEinkN/enFeI2a/uip2aEDqUefDR69L2mrXvbLW7W6/EH2WeqQN/6/kdicbDKcQ2
 dJ0Cr0f1WUqNjrRwAnGpn0YMkO3iyrir5rKQOQ2B0m0TWWxGOQ4lSRegBmdhxipb1V+Q
 kNHWH9Y+8ffB/9RLXekwtXnfgheGiQktP+RMsWO8k0NcHoaS3bRIzhRKSn23dhoqZSLf
 0jTc3de5MCNWDxVKTfL94PcOM4xadDP32AaMKeBt15hzYkgzzK0ZUzAG/fdv9HaRVFuT
 bIiQ==
X-Gm-Message-State: AOJu0YxgA9QsVcHGIR6HJO0bjxHsrG9zVb4rnvyDDyupDF9S6CR/dcCe
 yWbJhXwSsup0eODj7XCOwYSi6JbLKF9N7V/3zZj48QDVJRHxqPgtcnciOw==
X-Gm-Gg: ASbGncsdMDeh8Bl185pjqAzB5DAdd8t/3Fx5bcU0h1BUPoWAytdLXWBXx8npofsKnBw
 daYkJTz4jM6pXjvCtu4AInN48uq66hbcfCcyWOiEsOEDKpEDp/1usiFSMTcuJCWYjyInKL9TdRx
 n/LZDF3U2MRSssxnCpZZDvZcWz5667jNSjkxdW7Q011ZlV95OB0OiEbPw42hVYnucCOh2TdD8EY
 Z6CZi72YrVGYmsPPu+jhc9WAt+Cua+bEDpRzLc0n7RCf37aKerZNEnsH6HPeP7H4HSkSHllF5rj
 VwnLRDjY15U7UZJTDiABdL3bhq1FQu9UmOOjnhoFH1RtA3jxEuREJQ==
X-Google-Smtp-Source: AGHT+IGKbyfB+OA2+nUYZr+ldGI17LhtzL2wCOz0t49a3L9TA9T00PGJ1pfSYS56NrZI/CGEr9YWQQ==
X-Received: by 2002:a05:6512:3a8a:b0:545:a7a:ce5e with SMTP id
 2adb3069b0e04-5452fe30b8emr3493794e87.15.1739825984188; 
 Mon, 17 Feb 2025 12:59:44 -0800 (PST)
Received: from [192.168.2.122] (91-157-215-84.elisa-laajakaista.fi.
 [91.157.215.84]) by smtp.gmail.com with ESMTPSA id
 2adb3069b0e04-5461cfe3a7fsm730738e87.34.2025.02.17.12.59.43
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Mon, 17 Feb 2025 12:59:43 -0800 (PST)
Message-ID: <46c348d0-4944-4b74-8eab-acbc7cc7bf77@HIDDEN>
Date: Mon, 17 Feb 2025 22:59:42 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: bug-gnu-emacs@HIDDEN
From: mjk <mkajola@HIDDEN>
Subject: Incorrect mouse events / tool-bar event is undefined error.
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=2a00:1450:4864:20::129;
 envelope-from=mkajola@HIDDEN; helo=mail-lf1-x129.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 17 Feb 2025 23:15:44 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hello,

I had irritating mouse problems originally in lsp/dap mode.
The mouse caused many-many beeps due to mouse move errors.

This is probably combination of problems in the basic thing and the lsp
gui packages together.

I was able to pinpoint one factor of this problem into configuration
where I had removed my .emacs and .emacs.d, so that I was in a pretty clean
configuration.

In this state I get spurious errors like:

<tool-bar> <wheel-up> is undefined
<tool-bar> <wheel-down> is undefined
<tool-bar> <double-wheel-down> is undefined

when I rotate the mouse wheel in the window area (pretty much any, like
*scratch*). Note, in the text window, not in the tool bar.

This happens only in a limited area at the top of the window. Not at the
very top of the window, but somewhat below. The dimensions of these areas
are as if the program was thinking that the menubar and the toolbar were
in the text window (like it was dispatching events from
coordinates where the origin is in the upper corner of the text window
rather than in the top of the whole window of the application.
So there is a narrow strip having same height as the menu-bar which is
not giving these events, then an area with same height as the tool-bar
which gives them, and then below it works normally again.

Then when other gui packages are on, I start to get also other similar
errors, probably depending on what events have been enabled and what
handlers have been installed. Mouse move events are naturally the most
irritating ones. Luckily emacs can be used pretty well with keyboard only.

t. mjk





Acknowledgement sent to mjk <mkajola@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#76384; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 18 Feb 2025 14:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.