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

Previous Next

Package: emacs;

Reported by: mjk <mkajola <at> gmail.com>

Date: Tue, 18 Feb 2025 04:16:03 UTC

Severity: normal

Merged with 76385

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: mjk <mkajola <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Incorrect mouse events / tool-bar event is undefined error.
Date: Mon, 17 Feb 2025 22:59:42 +0200
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





This bug report was last modified 74 days ago.

Previous Next


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