From unknown Thu Jun 19 16:17:23 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#76384 <76384@debbugs.gnu.org> To: bug#76384 <76384@debbugs.gnu.org> Subject: Status: Incorrect mouse events / tool-bar event is undefined error. Reply-To: bug#76384 <76384@debbugs.gnu.org> Date: Thu, 19 Jun 2025 23:17:23 +0000 retitle 76384 Incorrect mouse events / tool-bar event is undefined error. reassign 76384 emacs submitter 76384 mjk severity 76384 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 17 23:15:46 2025 Received: (at submit) by debbugs.gnu.org; 18 Feb 2025 04:15:46 +0000 Received: from localhost ([127.0.0.1]:52727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tkF1O-00055Q-4v for submit@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 ) id 1tk8Db-0008QH-D1 for submit@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 ) id 1tk8DV-0007J2-J9 for bug-gnu-emacs@gnu.org; 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 ) id 1tk8DT-0003YT-Vk for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2025 15:59:49 -0500 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-5452c29bacfso3876167e87.3 for ; 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 (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@gmail.com> 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@gnu.org From: mjk 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@gmail.com; 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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: is undefined is undefined 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 18 09:34:15 2025 Received: (at control) by debbugs.gnu.org; 18 Feb 2025 14:34:15 +0000 Received: from localhost ([127.0.0.1]:56882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tkOft-0007vM-5Y for submit@debbugs.gnu.org; Tue, 18 Feb 2025 09:34:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42326) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tkOfp-0007ub-Lg; Tue, 18 Feb 2025 09:34:10 -0500 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 1tkOfk-0007L2-AK; Tue, 18 Feb 2025 09:34:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=RviwliJhUkoyqWF6ptkkLPyCBL+e2PqG2D3OXqr/coU=; b=Io1U+Q+5sJa0yDAVw6Ye yeaKL3GIiwNuj9dcbReuzBFENvE2sQWN6lleXr4s5kPMpbd+hPWyfpVT8qloMZof5RQdojP0ZfC9t Wf/VeCQs0OME1wb+wBicc7vVuMuftCSp3D4pJH3GCpBpYv9guI9NCF+bCFJ/shCIdhrITnK69YM9G RJBPlIlqtDEpnLP7hXyG33RHAWSP2TNwvfenXm8mOznRy3Mjp8syqenf/we0Yn3+GAYe54vYntRpN KNthRmII7wNeiGEL5cTezGLgNgUz5FmQOddHKB7joS4xKWkfJrwkQ1xh0WJ5wgeqGydvkExKFxddQ HXOgSykKnyTmGw==; Date: Tue, 18 Feb 2025 16:34:01 +0200 Message-Id: <867c5n9vae.fsf@gnu.org> From: Eli Zaretskii To: mjk In-Reply-To: (message from mjk on Mon, 17 Feb 2025 23:06:24 +0200) Subject: Re: bug#76385: Incorrect mouse events / tool-bar event is undefined error. References: <46c348d0-4944-4b74-8eab-acbc7cc7bf77@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 76385@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) merge 76385 76384 thanks > Date: Mon, 17 Feb 2025 23:06:24 +0200 > From: mjk > > Sorry, > > forgot to include the build details: Your message created a new bug report, so I'm now merging them together. > > On fedora 40 with gnome. > > In GNU Emacs 29.4 (build 1, x86_64-redhat-linux-gnu, GTK+ Version >  3.24.42, cairo version 1.18.0) of 2024-07-16 built on >  27527c2e06f843c0962737354e0b3cf7 > System Description: Fedora Linux 40 (Workstation Edition) > > Configured using: >  'configure --build=x86_64-redhat-linux-gnu >  --host=x86_64-redhat-linux-gnu --program-prefix= >  --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr >  --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc >  --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 >  --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run >  --sharedstatedir=/var/lib --mandir=/usr/share/man >  --infodir=/usr/share/info --with-cairo --with-dbus --with-gif >  --with-gpm=no --with-harfbuzz --with-jpeg --with-json --with-modules >  --with-native-compilation=aot --with-pgtk --with-png --with-rsvg >  --with-sqlite3 --with-tiff --with-tree-sitter --with-webp --with-xpm >  --with-xwidgets build_alias=x86_64-redhat-linux-gnu >  host_alias=x86_64-redhat-linux-gnu CC=gcc 'CFLAGS=-DMAIL_USE_LOCKF -O2 >  -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches >  -pipe -Wall -Werror=format-security >  -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS >  -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong >  -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 >  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection >  -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' >  LDFLAGS=-Wl,-z,relro >  PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig CXX=g++ >  'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g >  -grecord-gcc-switches -pipe -Wall -Werror=format-security >  -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS >  -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong >  -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 >  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection >  -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '' > > Configured features: > ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON > LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY > PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF > TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM XWIDGETS GTK3 ZLIB > > Important settings: >   value of $LC_MONETARY: fi_FI.UTF-8 >   value of $LC_NUMERIC: fi_FI.UTF-8 >   value of $LC_TIME: fi_FI.UTF-8 >   value of $LANG: en_US.UTF-8 >   value of $XMODIFIERS: @im=ibus >   locale-coding-system: utf-8-unix > > Major mode: Message > > Minor modes in effect: >   mml-mode: t >   tooltip-mode: t >   global-eldoc-mode: t >   show-paren-mode: t >   electric-indent-mode: t >   mouse-wheel-mode: t >   tool-bar-mode: t >   menu-bar-mode: t >   file-name-shadow-mode: t >   global-font-lock-mode: t >   font-lock-mode: t >   blink-cursor-mode: t >   line-number-mode: t >   auto-fill-function: message-do-auto-fill >   transient-mark-mode: t >   auto-composition-mode: t >   auto-encryption-mode: t >   auto-compression-mode: t >   abbrev-mode: t > > Load-path shadows: > None found. > > Features: > (shadow sort emacsbug comp comp-cstr warnings icons rx cl-extra > help-mode url-util url-parse auth-source cl-seq eieio eieio-core > url-vars mail-extr message sendmail mailcap yank-media puny dired > dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 > epg-config gnus-util text-property-search time-date mm-decode mm-bodies > mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums > mail-prsvr mailabbrev mail-utils gmm-utils mailheader clang-rename > clang-include-fixer let-alist json subr-x map byte-opt bytecomp > byte-compile clang-format cl-macs gv xml cl-loaddefs cl-lib rmc > iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook > vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win > term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe > tabulated-list replace newcomment text-mode lisp-mode prog-mode register > page tab-bar menu-bar rfn-eshadow isearch easymenu timer select > scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors > frame minibuffer nadvice seq simple cl-generic indonesian philippine > cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao > korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech > european ethiopic indian cyrillic chinese composite emoji-zwj charscript > charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure > cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp > files window text-properties overlay sha1 md5 base64 format env > code-pages mule custom widget keymap hashtable-print-readable backquote > threads xwidget-internal dbusbind inotify dynamic-setting > system-font-setting font-render-setting cairo gtk pgtk multi-tty > make-network-process native-compile emacs) > > Memory information: > ((conses 16 96060 9792) >  (symbols 48 7993 0) >  (strings 32 23040 2318) >  (string-bytes 1 697119) >  (vectors 16 18706) >  (vector-slots 8 376260 22697) >  (floats 8 169 21) >  (intervals 56 374 0) >  (buffers 984 13)) > > > On 17.2.2025 22.59, mjk wrote: > > 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: > > > > is undefined > > is undefined > > 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 > > > > > > > From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 19 06:50:01 2025 Received: (at 76384) by debbugs.gnu.org; 19 Feb 2025 11:50:01 +0000 Received: from localhost ([127.0.0.1]:43900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tkiaW-0005RI-JO for submit@debbugs.gnu.org; Wed, 19 Feb 2025 06:50:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35890) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tkiaU-0005Qa-Rh for 76384@debbugs.gnu.org; Wed, 19 Feb 2025 06:49:59 -0500 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 1tkiaP-0003fZ-Er; Wed, 19 Feb 2025 06:49:53 -0500 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=wukVmpFKtey1XE1vW3Zbzrw6UL2/cEgvh1QAkV1AVpA=; b=X/m0AlDjI36s x6927w18FEiaLPLyznts/gMmUxJnLZER810RQXzc4i2ijHYdVpjEDowQg404QFayiM6ZSu+2bTVFn AlN25OLfC6rUKGUrYtWWJ6n52+OVdq4HkwTlJ9a6ks+JcibU1LGpGD7ocYBPV7lJzCtzfR8CC0qQU IqzEZ+X9HeBF8hTz0HySnCM8R+KDrxvqJplXDPEh1tN1eHoL5i73BCoZDrodQQSe9kHmflwuEY5FZ 9O3m6ZlLBbTEqnr2JULYONn+7bY5oQmyhzjngVEn9j6r7vQj2Vu3Qb4oMr25Xt5hUmMtYT1FeroRz M2wtxidwjSRZfXkHhjcdiA==; Date: Wed, 19 Feb 2025 13:49:49 +0200 Message-Id: <86ldu26tnm.fsf@gnu.org> From: Eli Zaretskii To: mjk In-Reply-To: <46c348d0-4944-4b74-8eab-acbc7cc7bf77@gmail.com> (message from mjk on Mon, 17 Feb 2025 22:59:42 +0200) Subject: Re: bug#76384: Incorrect mouse events / tool-bar event is undefined error. References: <46c348d0-4944-4b74-8eab-acbc7cc7bf77@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76384 Cc: 76384@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Mon, 17 Feb 2025 22:59:42 +0200 > From: mjk > > 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: > > is undefined > is undefined > 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 is very strange. Does it only happen in LSP/DAP mode? If so, the reason is probably in those packages. But if this happens also in "emacs -Q", if you just turn the mouse wheel in that upper part of the window, below the tool bar, and see these messages, then we'd need to look at the mouse coordinates as reported to Emacs in your case. It would help if you tell what is the Emacs version where you see it and on what platform. (For best results, post the data about the Emacs build where it happens which is collected by "M-x report-emacs-bug".) Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 19 08:04:33 2025 Received: (at 76384) by debbugs.gnu.org; 19 Feb 2025 13:04:33 +0000 Received: from localhost ([127.0.0.1]:44745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tkjkd-0000Hz-RM for submit@debbugs.gnu.org; Wed, 19 Feb 2025 08:04:32 -0500 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:45209) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tkjka-0000Gu-Pq for 76384@debbugs.gnu.org; Wed, 19 Feb 2025 08:04:30 -0500 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-5461cb12e39so3369359e87.2 for <76384@debbugs.gnu.org>; Wed, 19 Feb 2025 05:04:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739970262; x=1740575062; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=VThFxdqldb8dnLHPGFznJo9efVaLbAKFuma+M0RHvg0=; b=klwwo7ef6Xze4qJ76lrQBCnT1bGQSt3rCfCKzLelzF16rC9CwRbxGgyGXHETwC3Z/f F7W9HfTnRhTNhnZL412uI9TCQTblehrE39/rxfPEv886X6swvi+e2FBqoe+8CMpbr+k1 ZsgVL96HyrJFGEtG6UjYodqKWXvPclHNUkgrCCVhHZU1GHYrKvWhWxyPMxnWFrxNQiDp ccDS1PZDZU3QjH9rKzqR68SLGYC4q528ezaTvtuhE5ejs1F8eiomA4TkW/kIscRxZIEM 10/2m4qDIbBCN7e9AYNhUJIXY95b3DRY4QlqIS9MYI6RwaYLuVpvQriDznNRxE4YCvO5 +JBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739970262; x=1740575062; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VThFxdqldb8dnLHPGFznJo9efVaLbAKFuma+M0RHvg0=; b=mTbe9WJvbRl1oRxXMpp2KwrPBJ1dhilkkSForMbfkd3BZurFmi1bYguCqgKK4Zy1qG YEc3QUTmK9wSb0Fqdu5g2C8tXSLwR6+xypzY/fv/W11R1XP12VDlbz8yHVboUPUKu3yU KnYGixzYohFGzTTMEWKOHW99V24M8RdNp7ZeEoPCDqyJXzXvHFskHiNfa9G/Fs/cCIM0 FEaGwAWwC57/BjY6mxRvF5TVFHZyZXSzs3D7kDhyBYWw9e4TNzZu2oKiZiz3DjtXZd1a F9TjRKJ9MChw1Vjfq2zCP+Vgc5WcYD/5W2dLouX9NVvMQlhJEypH/4dcXg3oRhNMPSkQ WPSg== X-Gm-Message-State: AOJu0YyPTWVnnjweBz3UbAoE08cvDuYOH9B6yDOz19CoriojmxdqLVar HpZlUTRpXrE9Hi8tsA9pJO16BGOpFt687Dz1Vvptm9m8MZkUBDFBVPIUMg== X-Gm-Gg: ASbGnctJh+7munelRWX6/dg/99mxLtiEFy02r0/Qx8Jv9KxS+Sdx4KFhTyCCll/P1lO OVz9kzSw58Aud89z25INrrQPcPcgsZrAlXh6MuQfnOKfMvxb6CtfCnyfrnY1tp7fvKuV2sBkVbi 6jrhdkI+mCat5gzc3VY82229g7ZEY9tAjUlihOxG5PBeIJ2hmyxbxEDYR7N4DPTLSY1ALjSk4LE ByF0A6CejL/ZScINAgti6cj3GiL51+OcxVNdQeStPa6mlnW1VoDsqGdI+x9xO6RUITKy07FvxBc IZiyU8K4pyP+cvDWMF+JLgi3rR3jemKQV7LqOOI7xg/pqL0dVmGFDA== X-Google-Smtp-Source: AGHT+IFMfqbL4PiKi6ASnnGnOu4dycMi9Qwu4oDJtuCDsN+iND9nzQRjOCFZiHcGucGAqeM3sTBHZw== X-Received: by 2002:a05:6512:ba6:b0:545:bf4:4bc7 with SMTP id 2adb3069b0e04-5452fe4e600mr6865371e87.19.1739970261560; Wed, 19 Feb 2025 05:04:21 -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-54530cbbfe5sm1464521e87.27.2025.02.19.05.04.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Feb 2025 05:04:20 -0800 (PST) Message-ID: Date: Wed, 19 Feb 2025 15:04:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#76384: Incorrect mouse events / tool-bar event is undefined error. To: Eli Zaretskii References: <46c348d0-4944-4b74-8eab-acbc7cc7bf77@gmail.com> <86ldu26tnm.fsf@gnu.org> Content-Language: en-US From: mjk In-Reply-To: <86ldu26tnm.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76384 Cc: 76384@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Eli, On fedora 40 with gnome. This was after throwing .emacs and .emacs.d aside. I also tested as you instructed with -Q and it is just the same. *scratch* is enough. I suppose it is the same in any window for me. And it seems to be fully repeatable. Maybe I should try some other windowing system just for reference. The output of report-emacs-bug below: In GNU Emacs 29.4 (build 1, x86_64-redhat-linux-gnu, GTK+ Version  3.24.42, cairo version 1.18.0) of 2024-07-16 built on  27527c2e06f843c0962737354e0b3cf7 System Description: Fedora Linux 40 (Workstation Edition) Configured using:  'configure --build=x86_64-redhat-linux-gnu  --host=x86_64-redhat-linux-gnu --program-prefix=  --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr  --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc  --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64  --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run  --sharedstatedir=/var/lib --mandir=/usr/share/man  --infodir=/usr/share/info --with-cairo --with-dbus --with-gif  --with-gpm=no --with-harfbuzz --with-jpeg --with-json --with-modules  --with-native-compilation=aot --with-pgtk --with-png --with-rsvg  --with-sqlite3 --with-tiff --with-tree-sitter --with-webp --with-xpm  --with-xwidgets build_alias=x86_64-redhat-linux-gnu  host_alias=x86_64-redhat-linux-gnu CC=gcc 'CFLAGS=-DMAIL_USE_LOCKF -O2  -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches  -pipe -Wall -Werror=format-security  -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS  -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong  -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection  -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '  LDFLAGS=-Wl,-z,relro  PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig CXX=g++  'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g  -grecord-gcc-switches -pipe -Wall -Werror=format-security  -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS  -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong  -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection  -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM XWIDGETS GTK3 ZLIB Important settings:   value of $LC_MONETARY: fi_FI.UTF-8   value of $LC_NUMERIC: fi_FI.UTF-8   value of $LC_TIME: fi_FI.UTF-8   value of $LANG: en_US.UTF-8   value of $XMODIFIERS: @im=ibus   locale-coding-system: utf-8-unix Major mode: Message Minor modes in effect:   mml-mode: t   tooltip-mode: t   global-eldoc-mode: t   show-paren-mode: t   electric-indent-mode: t   mouse-wheel-mode: t   tool-bar-mode: t   menu-bar-mode: t   file-name-shadow-mode: t   global-font-lock-mode: t   font-lock-mode: t   blink-cursor-mode: t   line-number-mode: t   auto-fill-function: message-do-auto-fill   transient-mark-mode: t   auto-composition-mode: t   auto-encryption-mode: t   auto-compression-mode: t   abbrev-mode: t Load-path shadows: None found. Features: (shadow sort emacsbug comp comp-cstr warnings icons rx cl-extra help-mode url-util url-parse auth-source cl-seq eieio eieio-core url-vars mail-extr message sendmail mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader clang-rename clang-include-fixer let-alist json subr-x map byte-opt bytecomp byte-compile clang-format cl-macs gv xml cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads xwidget-internal dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 96060 9792)  (symbols 48 7993 0)  (strings 32 23040 2318)  (string-bytes 1 697119)  (vectors 16 18706)  (vector-slots 8 376260 22697)  (floats 8 169 21)  (intervals 56 374 0)  (buffers 984 13)) On 19.2.2025 13.49, Eli Zaretskii wrote: >> Date: Mon, 17 Feb 2025 22:59:42 +0200 >> From: mjk >> >> 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: >> >> is undefined >> is undefined >> 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 is very strange. Does it only happen in LSP/DAP mode? If so, > the reason is probably in those packages. But if this happens also in > "emacs -Q", if you just turn the mouse wheel in that upper part of the > window, below the tool bar, and see these messages, then we'd need to > look at the mouse coordinates as reported to Emacs in your case. It > would help if you tell what is the Emacs version where you see it and > on what platform. (For best results, post the data about the Emacs > build where it happens which is collected by "M-x report-emacs-bug".) > > Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 19 11:39:26 2025 Received: (at 76384) by debbugs.gnu.org; 19 Feb 2025 16:39:26 +0000 Received: from localhost ([127.0.0.1]:50040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tkn6b-0000p2-Kd for submit@debbugs.gnu.org; Wed, 19 Feb 2025 11:39:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40470) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tkn6a-0000oQ-16 for 76384@debbugs.gnu.org; Wed, 19 Feb 2025 11:39:24 -0500 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 1tkn6U-0001CC-Hy; Wed, 19 Feb 2025 11:39:18 -0500 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=p1oWhjrMZsaPKckvwTpRzIucXLOF4kINLCmvWI64o4U=; b=MWXJyeuAzDmk IvusYHZ85yHiB+wvhIb9muFqkhA7GXwA8wQr4IweMNJRDc9+Tc62tHDJeV1mbSaepi4Y3wG9XCI7j L9ofNMjOF2v4CuKnM/3nCMF7KYcRR/LRofmReX+CW1Q0p5zeIMgq5iZqp8EvqG/gPKyr6lBh5NYgB Xe4T2LKNKPebphfMSM8WrFowbMkNwIYFPAaHgF0FXB5J4+znH2fScE4odm7v0gcp3NtvoYnrSndIp h5AIMGxbLpA50YnTE98tMaPwFsvp7//GV6Ica/wYtkjg/jUYD3f5+xhIcM1NSuBMEK1qO2VBuxTLb nd/PHK6gpsqomTvpTshEog==; Date: Wed, 19 Feb 2025 18:39:16 +0200 Message-Id: <86eczt6g97.fsf@gnu.org> From: Eli Zaretskii To: mjk , Po Lu In-Reply-To: (message from mjk on Wed, 19 Feb 2025 15:04:20 +0200) Subject: Re: bug#76384: Incorrect mouse events / tool-bar event is undefined error. References: <46c348d0-4944-4b74-8eab-acbc7cc7bf77@gmail.com> <86ldu26tnm.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76384 Cc: 76384@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Wed, 19 Feb 2025 15:04:20 +0200 > Cc: 76384@debbugs.gnu.org > From: mjk > > On fedora 40 with gnome. This was after throwing .emacs and .emacs.d aside. > I also tested as you instructed with -Q and it is just the same. > *scratch* is enough. > I suppose it is the same in any window for me. And it seems to be fully > repeatable. > Maybe I should try some other windowing system just for reference. OK, thanks. This becomes curiouser and curiouser, then. What is your window manager? Po Lu, any ideas how this kind of weird thing could happen? From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 19 20:48:49 2025 Received: (at 76384) by debbugs.gnu.org; 20 Feb 2025 01:48:49 +0000 Received: from localhost ([127.0.0.1]:56047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tkvgG-0003PV-PF for submit@debbugs.gnu.org; Wed, 19 Feb 2025 20:48:49 -0500 Received: from sonic311-25.consmr.mail.ne1.yahoo.com ([66.163.188.206]:34282) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tkvgD-0003Ob-8r for 76384@debbugs.gnu.org; Wed, 19 Feb 2025 20:48:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1740016119; bh=S50cJfnXjivpYMUNVG2ez20K/bPADn6tV7Ig657Eiy0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=nsiU4dcycG7dv2T/fGjMGYToZYl8ZPqtjsvyI1MjNhNY+O9wW0l4i8HqpqfV5tPYkdf0F7NQsWwc3RTRCc8S3Ve0EewP3mLrll7PPIw6CamREvK25c3UR4X7gTmAaWNYq5V6RYffQRj3hiWs2DbXZ9VIKmyHrUxmkQs1OEDLi6ytVadIYRHxNsxqhdmDOBTQAhuFceanPC46VFlm7i16vHO6DgUc3YAmAJihHoDyGyiXEWPKiWvZR3fqSaSyDLeGgPNzscVe3ifQcY2zq/2Qq5QrsqKJRTR3fFaLBnvbeaNAi42Y8AIFits/7Sahve9TSTJ4BGeMEiXOJOfatAXhog== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1740016119; bh=TS3hcD1y2KgpCpwi/GqAKVe5+P+HricOMdhuFnQP21M=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=EpuuphfsjjGlTVsdVpn7iXkw7ave5y91MeFGXTTRY3XiiHJUd5SQ+ulm8Zv6yGE5ZECqmkIAOve/faC77aDyEDEqWJrDfY78+44UpVEV6eR8EY0eFPGaTDuIJ/elzgblpD3Vok0GztSGVNYrKdmWWdRZsLW1yPRDOvVTtSgyoArBUyBY+/7gPIWREA+ecCUdUjSPxXBAVmGqenWAgc+KEIpi+iW6dqzKJoohFcMQik4cXuPlDPueaZ0rnWfYuO+tITyz5b1+9VEVpB7OYjsP+XI9W6fhI58fiu9663F4iwTGeolU6iYD+7JQPOb9D06PXwRaGVux2NxX1svqBQqQaQ== X-YMail-OSG: nPl9cQYVM1nMTnQIYHXkRlhJe8IRDDAfat9Evv6Bgh347vkcRdW_UThKwKpCNjh naol.zJszrljPBG67FXShJgUToXxa9hw5UTCAUXssPBlMzRXUApcnij8a93vtLLnDjI4W9UOhk2_ IiQY1ZG92z_Cg3te2L9b.TdnxnEsmDAHSwBnr6fnNKdTU3Tds_sha.w7uGQftf0KjoHVkAH2X43Y WmDvGLW46jk8fsgizKetyqpkAJ47EgtdxYIcnwMle4a3TZ6GE0IjNM7Z6B6Y.bsDv9u9V82or1gh jQe3rwX4PKHhlg.f64E20nAXP7AdPJruxXeLQpskF7LdCIowdeNNEjp5QI0i9pscAysaSDUYNa3v 5qOh.i_p35MSXjcyzYXHZ5xXO6W.xYU6Y_Gv2SJMuDnAHV0_etNPrC6qCK4vvQiuOEnBPgQxEIJn uawP5ppbDJOrqB0.Hgj8.uoKjMvLAEKP_UxSgWoqNDIooiK8Yn5rpt39fbTbSEuHYTnjDbtn56ty KqoG.d1ScwLjc7LimuJrSpRbRBjHBoSypzcxAyTbU6xt299ZGG5Bv.7PzYi_qE2xXQg1vy0VHsh0 U3heTVr10.E9wTH7jtAqLah8RyVYk32Jq42xeaGXvQjwtLKhPwku1iSXU4b1d5eykBeLBYrzbhVG NdNCRTo1MUFW3uZqz_Bz1saFKifyTBChfR6YZBszsQ.dt4zpiCm5eM3wBb7W0mjWcV3LpoctvLNB StpRpaF7xfnBh4HTzKcA60AOLhdHRGB3qd5M1j73bvV5_hYC6ekAQlelYjJimLOKXMeiYMgb1BU2 yDQvGYW5LIMuVvRGyvrp94m9Y4a8r3n7UGeaWIkfY7wwWJwzTIyJXeccU.7gTa5N29OZ4sHS3MSZ 9.7UipD6jNn36TetCA1q94OA5ac8ayVSQt6_h9KfM6lYtsvbJe0sFeherBZMwWdANq1UB.L6Ugaf aCheICteZmW4GVnTUq1QuQA6dojJd4MeMUT9E3DJa2yWY1EGPCvCrAir.nZMtKEQhJSEyaO49G61 AMnZacdCvOUEOnUF1r4ylmn061SY2KwNT6yP8X_y8gfqiJGYhPaJ5iiIF111plA6ETedozXDIyKM wLfE3iUCqRRfr2xpZuDV75t7F97CHnq2C7Tk60iazXfuWh7DVS6zincCzf72b_L2wqWA4UifuuTM VlpM8jGT2c0u9BAJSGMBsdYrx_6LfgggXpbptlWH0lf.Vm72_rCcSuW3_rr_Na5KjIEYV2htSA_U 4DIXmthD1UuD.1tA71rVkmmfTKzZGNRJO0MmmHBgDazVLC8xjE.AV0m84cfDqu24FL8EH_WjFaeW zkWO1LOmeqRH9g_2ldJ6TrGNR4i5mYRQmmr68JP4UVd2eZPjQnzMUbKmxgWj9mkBso8de.fdpoLo b.hyGtFuSgoqzULp3UVzBaG_AkkkrK9oxrlA7qyKpppYTcWiQd.4Bcefof8H4.zkW25d.UHvZ6Cu d9T2uGrjMSbEM3r5UKbCKqBzQew_0b.uHLcR5zyQsaGLOvAfdX8udBYEScOBGh257A7_gW.ss67Q g2SoFt_1rfDoaeHezZ09RJ8gZZZ3p2WdzOBv01tU9e8edPyqnaF0BT7AyLrgFvOQcjFKBdNzp0ir anAnq6UNo8CIJ_1KnMniRKRo1fHQYwGmXJM1McY328..IkxDxRS_ANY4K7BFIZtASJq0_k0VnE53 avDuXQf_Vw1SKg7DI_3YUIGVYsnMekEbMt.wLFBeFYzkfxhBet3ebzqej.vhfizX3t3pvyBggiAv x92CXlPbdL8U6oLPrV9jtAPBziz48LG3GCgEeWLXAJPliIM6A79z_rwuK2gfCZAPqQjoyGFSsanM 8SHlcmQSARoJAJuOknkbrZo2IlV8ibdbAhdk0aLuqlBiiz8HeHl.B.D5Kpuzvxf2NC83Oq7J6x1o 6DCANNyOwh_DKixQp5Mb55h7ywMJqH6BsTFRGgwDl.RCSLE0OxKwb5I0jagzgGUMoCdny2I17CSE eQ_NnoOKj4bwYZAxzVnT7xz6be.GzinojAFvZNqkTBl._r27b3_5M9huCy9EBxmOXysHXW9qKwtS UFoZN6ONW8k3db_UqlwCjoJzPCPuNVOiTxUCRA2Nkpilgx44212YyudqipkUjlaNGO9PGXY4uded mBwIrW24l5GTwmFhIdlVnDXksx3fJYfOrbFDHlvOrs5ogKOTuGr50nm6aHQZ3KoUsiGQKLdMbXML bpLJ3YjJOcuUDdWQJDE.E.s3xOK10Yr.9mrIP2NkWPX8x0ZHPOCI27ijL1zvJWGHQ X-Sonic-MF: X-Sonic-ID: b3323a56-06ef-41ac-ab25-9972828588d7 Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Thu, 20 Feb 2025 01:48:39 +0000 Received: by hermes--production-sg3-5b7954b588-5j5q2 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ebe741c523c72bcc9102b9106fc2b043; Thu, 20 Feb 2025 01:48:33 +0000 (UTC) From: Po Lu To: Eli Zaretskii Subject: Re: bug#76384: Incorrect mouse events / tool-bar event is undefined error. In-Reply-To: <86eczt6g97.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 19 Feb 2025 18:39:16 +0200") References: <46c348d0-4944-4b74-8eab-acbc7cc7bf77@gmail.com> <86ldu26tnm.fsf@gnu.org> <86eczt6g97.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Thu, 20 Feb 2025 09:48:28 +0800 Message-ID: <874j0pmln7.fsf@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.23369 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 766 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76384 Cc: 76384@debbugs.gnu.org, mjk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> Date: Wed, 19 Feb 2025 15:04:20 +0200 >> Cc: 76384@debbugs.gnu.org >> From: mjk >> >> On fedora 40 with gnome. This was after throwing .emacs and .emacs.d aside. >> I also tested as you instructed with -Q and it is just the same. >> *scratch* is enough. >> I suppose it is the same in any window for me. And it seems to be fully >> repeatable. >> Maybe I should try some other windowing system just for reference. > > OK, thanks. This becomes curiouser and curiouser, then. > > What is your window manager? > > Po Lu, any ideas how this kind of weird thing could happen? I don't know, but I expect it to be fixed in Emacs 30 where mouse wheel event types have been unified across all window systems. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 19 20:49:39 2025 Received: (at 76384) by debbugs.gnu.org; 20 Feb 2025 01:49:40 +0000 Received: from localhost ([127.0.0.1]:56061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tkvh5-0003V1-9m for submit@debbugs.gnu.org; Wed, 19 Feb 2025 20:49:39 -0500 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]:52403) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tkvh2-0003U9-J3 for 76384@debbugs.gnu.org; Wed, 19 Feb 2025 20:49:37 -0500 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-30918c29da2so4085041fa.0 for <76384@debbugs.gnu.org>; Wed, 19 Feb 2025 17:49:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740016170; x=1740620970; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=rIvThZ06W0ZH7VzK+DB3mLJ6hVNA8k0qFpWkJAjHOj8=; b=G9WvIhE3hDYHFBTPHjq5qiQDcIftcLVM6kJQ8DrVgOP4f9NZKR8ymlIrw3I3C+wOLH FWR+ilsX3KeS2kOdvl7/yC1tYd7iV1O6RYT9UFBnZMghiGQOsbstHQYJd8/HYCyUP+1t LfZ38DmcRPp0Ov1ji2A/PEEZXPFyjFyPHa/c91fkrL5iBWUI4Vk7lStMFPFKMGRhX8Fu ajegsCpTH7iwudUrzyDX/g5gFbL+jEH0Rd/7Y/UODeqWKn+HqPf00F5VpvLOhDNJ6iMH MbGRFq5MphCvJxNQnnwhQ4uFeGvIDRBNSePOfjQ2VUJ5mJShjXuydhALBWCEkjF9zpD2 te8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740016170; x=1740620970; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rIvThZ06W0ZH7VzK+DB3mLJ6hVNA8k0qFpWkJAjHOj8=; b=CK02I2mn2GHdNYRVocyNZfGgwG0TOnPro0XPjBijCFGQ/hZATf00sYTwaGb/T1VefZ HqT9JsEtLtsTc4nORApyQD0EGxutO0b5YEQX2aznQlR2EPDiBK6o9mzuHzJGHPS/2i+h UqUYte/zg3CP6YwsJMTEcZHIhKer1c6ItIPAz2vp5HfcRWk5WB6ILaFIkUpsVRf2F7h5 f+Ueg3yoU5grcDYICZCkbzmb/ibSt5RauVAtxpSli6199HxAo5f9hb+HYVgg3xcmfsSg XgpgjqYjGHMfvCTMwy0GfUZ6BT1yGXq74LtH/E/0qimPxOfL7iYUUentKZuurxFuOj9a FtOw== X-Gm-Message-State: AOJu0YwVjF+46HsXd0qqbY2WQMj1GlKabyTg4yLeGw1XJPATDwmhwnMO cYEa/wGgU85qGrO8GsbSon1jXUIr1F3Zl+VcE2sgOuheUnbiG8Ks X-Gm-Gg: ASbGncvi7ChIN0UVngHxvl4FKnq0UJ6OBqtrry6kJ2Cm6fGY4UWYQ9mTCdCkMy6e+at wR2hDaQTwNhz0GwcWJXR6CrFtTiakV3VXcdS2NZQ6XJ03nJK8vo28WLezSgEIguDhAeWQMS5rGv 9YxOAdjfqdDF+qRXMGgREjqYE8k0/rKmQJMVy/F5SN+Kx+3S4q8aqVlnzrULvePRpR1PUrAzGWn 0G2/5qwC3cKLAzheNfhn023N43YWvzwRA72ZxhtdPFbyjuqF6xVcVkJk/GvBrQ3Wxse1fQdEwhB Zr26z396synX4XKiDco5WUuOZ/b5EEv9ewMdKK6gtTvySWsT462K/g== X-Google-Smtp-Source: AGHT+IGXtQwpsc6jdBKDZ49ibIFOtR+cIh5+b12tRm7USudPftGldJ8F7iAY6EkzV/aFWUYY/X8xbw== X-Received: by 2002:a2e:9201:0:b0:308:eabd:298a with SMTP id 38308e7fff4ca-30927a59219mr60051741fa.15.1740016169595; Wed, 19 Feb 2025 17:49:29 -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 38308e7fff4ca-30a27ad08c2sm14898641fa.50.2025.02.19.17.49.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Feb 2025 17:49:28 -0800 (PST) Message-ID: Date: Thu, 20 Feb 2025 03:49:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#76384: Incorrect mouse events / tool-bar event is undefined error. To: Eli Zaretskii , Po Lu References: <46c348d0-4944-4b74-8eab-acbc7cc7bf77@gmail.com> <86ldu26tnm.fsf@gnu.org> <86eczt6g97.fsf@gnu.org> Content-Language: en-US From: mjk In-Reply-To: <86eczt6g97.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76384 Cc: 76384@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Guys, Got some more info by testing. Rather interesting. The reason I mentioned the window manager, is because that I haven't had much trust on gnome quality since version 3 (this is 46). So I installed xcfe and tried there. Works fine. I do get mouse scroll beeps on the tool bar, but I think that is kind of correct behavior. Handlers just not defined. In this configuration mouse events in text window scroll only the text window as expected. On Xfce emacs (don't actually know where it comes from), pops up a display that says that pure gtk version of emacs is not supported and can cause crashes during transfers of large data, and recommends installing emacs-gtk-x11 or emacs-lucid. To me this sounds like fedora related tweaking. So I installed emacs-gtk-x11, and this seems to work fine, at least with the simplest case with *scrach* buffer and no configuration of my own. This seems to be some kind of mismatch between the pure gtk emacs and gnome window manager, or maybe in the window manager itself. dunno. What is weird is that in the versions that work, I get the mouse event errors from the tool-bar (as expected if they are not defined), but in non working config I get them from the working window area. But - the tool bar works otherwise, so other mouse events are mapped correctly. So it is very surprising that different events are managed different way. Seems that somebody is doing something fancy and overly complicated. So, maybe this is not an emacs bug after all. t. mjk On 19.2.2025 18.39, Eli Zaretskii wrote: >> Date: Wed, 19 Feb 2025 15:04:20 +0200 >> Cc: 76384@debbugs.gnu.org >> From: mjk >> >> On fedora 40 with gnome. This was after throwing .emacs and .emacs.d aside. >> I also tested as you instructed with -Q and it is just the same. >> *scratch* is enough. >> I suppose it is the same in any window for me. And it seems to be fully >> repeatable. >> Maybe I should try some other windowing system just for reference. > OK, thanks. This becomes curiouser and curiouser, then. > > What is your window manager? > > Po Lu, any ideas how this kind of weird thing could happen? From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 20 02:30:39 2025 Received: (at 76384) by debbugs.gnu.org; 20 Feb 2025 07:30:39 +0000 Received: from localhost ([127.0.0.1]:59006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tl115-0004lq-3a for submit@debbugs.gnu.org; Thu, 20 Feb 2025 02:30:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36226) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tl112-0004l8-6r for 76384@debbugs.gnu.org; Thu, 20 Feb 2025 02:30:37 -0500 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 1tl10w-00008r-G9; Thu, 20 Feb 2025 02:30:30 -0500 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=FKBooAktiiZtOJS9SaiZk6t5zziecMMNO8UYxdJelzY=; b=Wea4tSoYNqu/ xqzEjJg1rAjgdkZsuneTJhY0VJzPjI8xqsbyK1FKSGEc7HjsOhtnWmEHZQ6MxOu3xVgybNCDJmPUR BAINlS5Rmi4hM5RnKe4OOtC+vkC0YqqXPNMztx2x0nEwXe+AAYJpCxz9w2aOhhgcAwI5R3prxxFiL Rjg4iVE6Z+TSn81hjGTYHYAiNMZVi+GsYv1WnsPGzb5aPA/hIRxhLy7c1lVRDM68oRxKJVzG5kX2M iGxVobWEZUazu28xJcm3x0Zbx/A0D++KoKydJ/YfHMzhztnLtrf7K2rWZpPcTtBeW06PqLaIhRIlO 5Xhfxd3QfZHxr3+kcgKLNg==; Date: Thu, 20 Feb 2025 09:30:27 +0200 Message-Id: <86v7t53wfg.fsf@gnu.org> From: Eli Zaretskii To: mjk In-Reply-To: (message from mjk on Thu, 20 Feb 2025 03:49:28 +0200) Subject: Re: bug#76384: Incorrect mouse events / tool-bar event is undefined error. References: <46c348d0-4944-4b74-8eab-acbc7cc7bf77@gmail.com> <86ldu26tnm.fsf@gnu.org> <86eczt6g97.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76384 Cc: luangruo@yahoo.com, 76384@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Thu, 20 Feb 2025 03:49:28 +0200 > Cc: 76384@debbugs.gnu.org > From: mjk > > Got some more info by testing. Rather interesting. > The reason I mentioned the window manager, is because that I haven't had > much trust on gnome quality since version 3 (this is 46). > > So I installed xcfe and tried there. Works fine. I do get mouse scroll > beeps on the tool bar, but I think that is kind of correct behavior. > Handlers just not defined. > In this configuration mouse events in text window scroll only the text > window as expected. > > On Xfce emacs (don't actually know where it comes from), pops up a > display that says that pure gtk version of emacs is not supported and > can cause crashes during transfers of large data, and recommends > installing emacs-gtk-x11 or emacs-lucid. > To me this sounds like fedora related tweaking. > > So I installed emacs-gtk-x11, and this seems to work fine, at least with > the simplest case with *scrach* buffer and no configuration of my own. > > This seems to be some kind of mismatch between the pure gtk emacs and > gnome window manager, or maybe in the window manager itself. dunno. > What is weird is that in the versions that work, I get the mouse event > errors from the tool-bar (as expected if they are not defined), > but in non working config I get them from the working window area. But - > the tool bar works otherwise, so other mouse events are mapped correctly. > So it is very surprising that different events are managed different > way. Seems that somebody is doing something fancy and overly complicated. > > So, maybe this is not an emacs bug after all. Thanks. With which versions of Emacs did you try the above? Po Lu says Emacs 30 should probably solve this, so the versions you tried could be relevant. Another thing to try is Emacs 30 (currently available only as a pretest) and see if the problem there exists even in your original window manager. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 20 09:46:56 2025 Received: (at 76384) by debbugs.gnu.org; 20 Feb 2025 14:46:56 +0000 Received: from localhost ([127.0.0.1]:35484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tl7pI-0004N4-4v for submit@debbugs.gnu.org; Thu, 20 Feb 2025 09:46:56 -0500 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:49490) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tl7pE-0004M0-N2 for 76384@debbugs.gnu.org; Thu, 20 Feb 2025 09:46:53 -0500 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-5452c29bacfso1197269e87.3 for <76384@debbugs.gnu.org>; Thu, 20 Feb 2025 06:46:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740062806; x=1740667606; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=CGrPEHlM41YLxntkEOfGNQCokzOsljXl9GzBbz3mEXs=; b=WhWTpHZV4+D+tsdb7qdF+R60sQ+sUjV6YIiaB8AOUna+BSOxniFu06OnExYuYVi7Pl 2nkYd31jPgRe6FJjYiwaxsJM4U0eFwJAHRrcTCAqnNW9d/iF3qXrx105wydbI81JCoqi aC/HATMB7i9RlrDs48rYxyTrfxWvsbNVGzWL4CA9dVaKnOkWOYVGdu/2mK5Lp8fmdhkS FukJU6e1n0B3s7rS+smqLe+zHe3R+DfMLZC5N857kJ503VRSpmDmzOautNGbs2/uzLsf ThObIqrjp8eViMtBlLrmToellE/bn0UM9y939f4nVTkg+Gyiji+xQu76dWWXPziddQKa uCqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740062806; x=1740667606; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CGrPEHlM41YLxntkEOfGNQCokzOsljXl9GzBbz3mEXs=; b=FgzDRpxrpmbiZ3I6khSmIhueIPl51d0WS81Eb49LLqNe9SLZ4vVM6Tb0Bfynu6V9Dp llzagJ19iyNe7Yl5aTzk7FAWQcMOvyhEkxKTZtRH3rDd/VtPa12EYOvvx5O0s7wduNNi pLao5MjUvDui8YWc7Pp/wffRA444y2V6lyLA8RWXmrZhoTcoL8XKyocFQmBi4/lCcl9c oG/A9RRjorbxvWuB55dRf4vpZSD1IU2E39wIJBOa57FSGqWXgx8v83vOVUK6hakyJpLk 4BG6UhIT4ZqaMv6hLNmZL2x7G1vN0/fnxCIkszGCXfDPlIjtiBwxXSyjhzkYpGW/QzQF Cs/g== X-Forwarded-Encrypted: i=1; AJvYcCVrIb7uxSMX7Fc+svbBW2ThofpXFIUSJOC2Xb7uJCTVHOGRaLeG20g8o3OTXm/uuhan5gCKCw==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yz1NIN552Tm41QPHgPIvdeovApAPm3jon8TBv+XJND31do9ADAU ub4o11oq6COKG0YvM/BMm8UZkNPk9p57eabmSrKAhAZvV/uKvDdM X-Gm-Gg: ASbGncsULa+7v1AE8lBA0MhJ9SfnbSWRQYy9LqsduZxwA+vE5IZ0Is0ZtGlcVRgTg6Q 3bMXDJAvpHUBTSeFFst5LlVtlyR6Ptx2zRsLgO/8J6qz7GERXbz5c8glXrS/mDeTmyOQaNhHAom m1CbRFzXT3TOX6Hc2GHlXr4ohevi4MIAtsep7QKjAYxi806N0Cvn5QN5wcPL4DlYNxQ1q77K0xp DsRKY1z+NtVIHSmYXVpCRYpG028odfQmhMU4KOzWr+qKV3LQ1XAY4SQ2FyeX3mcZgTpnv0Kwb7w 6j445eEhUEcVzyYAZx2a55k+cA2253802gifo5MAaKLCKgBK5S2GaA== X-Google-Smtp-Source: AGHT+IFppVQj6U3k70pxnagn7NAHvR1pCi8g6oeKkt2fNbGZC20KNxTmkA14Cj1aH/FmHDD1PP3q4g== X-Received: by 2002:a05:6512:2827:b0:545:1ce0:6409 with SMTP id 2adb3069b0e04-5452fe30bffmr7884878e87.17.1740062805811; Thu, 20 Feb 2025 06:46:45 -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-5451f08332bsm2424096e87.48.2025.02.20.06.46.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Feb 2025 06:46:45 -0800 (PST) Message-ID: <982bf4ce-33a3-452f-9f2b-412981b89b32@gmail.com> Date: Thu, 20 Feb 2025 16:46:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#76384: Incorrect mouse events / tool-bar event is undefined error. To: Eli Zaretskii References: <46c348d0-4944-4b74-8eab-acbc7cc7bf77@gmail.com> <86ldu26tnm.fsf@gnu.org> <86eczt6g97.fsf@gnu.org> <86v7t53wfg.fsf@gnu.org> Content-Language: en-US From: mjk In-Reply-To: <86v7t53wfg.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76384 Cc: luangruo@yahoo.com, 76384@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I think I already sent the full info about the version that failed. The working one is the same (version number) with the -.gt-x11 extension, and emacs-lucid works too. I downloaded and compiled version 30.1 (rc on the web page) and compiled it. This one seems to work, but with the default config, configure produces a version that uses lucid, which seems to work as 29 too. Not sure what to do to produce similar to the failing one, and whether it is worth while to use a lot of time to try to reproduce this. t. mjk On 20.2.2025 9.30, Eli Zaretskii wrote: >> Date: Thu, 20 Feb 2025 03:49:28 +0200 >> Cc: 76384@debbugs.gnu.org >> From: mjk >> >> Got some more info by testing. Rather interesting. >> The reason I mentioned the window manager, is because that I haven't had >> much trust on gnome quality since version 3 (this is 46). >> >> So I installed xcfe and tried there. Works fine. I do get mouse scroll >> beeps on the tool bar, but I think that is kind of correct behavior. >> Handlers just not defined. >> In this configuration mouse events in text window scroll only the text >> window as expected. >> >> On Xfce emacs (don't actually know where it comes from), pops up a >> display that says that pure gtk version of emacs is not supported and >> can cause crashes during transfers of large data, and recommends >> installing emacs-gtk-x11 or emacs-lucid. >> To me this sounds like fedora related tweaking. >> >> So I installed emacs-gtk-x11, and this seems to work fine, at least with >> the simplest case with *scrach* buffer and no configuration of my own. >> >> This seems to be some kind of mismatch between the pure gtk emacs and >> gnome window manager, or maybe in the window manager itself. dunno. >> What is weird is that in the versions that work, I get the mouse event >> errors from the tool-bar (as expected if they are not defined), >> but in non working config I get them from the working window area. But - >> the tool bar works otherwise, so other mouse events are mapped correctly. >> So it is very surprising that different events are managed different >> way. Seems that somebody is doing something fancy and overly complicated. >> >> So, maybe this is not an emacs bug after all. > Thanks. With which versions of Emacs did you try the above? Po Lu > says Emacs 30 should probably solve this, so the versions you tried > could be relevant. > > Another thing to try is Emacs 30 (currently available only as a > pretest) and see if the problem there exists even in your original > window manager. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 09 04:38:11 2025 Received: (at 76384-done) by debbugs.gnu.org; 9 Mar 2025 08:38:11 +0000 Received: from localhost ([127.0.0.1]:58151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1trCAl-00025A-Aq for submit@debbugs.gnu.org; Sun, 09 Mar 2025 04:38:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55836) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1trCAi-00024t-Km for 76384-done@debbugs.gnu.org; Sun, 09 Mar 2025 04:38:09 -0400 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 1trCAd-0002bA-0s; Sun, 09 Mar 2025 04:38:03 -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=MvCkbZCebTv7/DRZTyU+j8iIMcpD75qmzc725NmEi10=; b=JWBQhWL89U1l z6fN7F2XWpYtwc5QNanvAVOpoM7YfIjUOvsOHIBxGP8FtK2iaddn8ZHCYnLbOIzRPlijrGmNMYYYv zXAislUlQe/ixuk77aJvByNsbR01GCNv8oCdMR8Za77Lcp4HQdDUU3KsrCKPIKNh1lozjUsIf83Ya 6rn1xMvxlxzC+yDGGEMS7X91SSynU9Y7nBacaHR2yAoE9q7AMz37shWXrB6cqtP4saYOPEbeVo2VB ZkRbeCDWSB6f508pSEc6WZMedHd6x096j6yhmxoXHav6nzLsHwyrMqQZRliSc4Ssbb0U9ADn/Pduk Hw9rmG3XbjQH7lT7pyjVgg==; Date: Sun, 09 Mar 2025 10:37:49 +0200 Message-Id: <861pv6iopu.fsf@gnu.org> From: Eli Zaretskii To: mjk In-Reply-To: <982bf4ce-33a3-452f-9f2b-412981b89b32@gmail.com> (message from mjk on Thu, 20 Feb 2025 16:46:44 +0200) Subject: Re: bug#76384: Incorrect mouse events / tool-bar event is undefined error. References: <46c348d0-4944-4b74-8eab-acbc7cc7bf77@gmail.com> <86ldu26tnm.fsf@gnu.org> <86eczt6g97.fsf@gnu.org> <86v7t53wfg.fsf@gnu.org> <982bf4ce-33a3-452f-9f2b-412981b89b32@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76384-done Cc: luangruo@yahoo.com, 76384-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Thu, 20 Feb 2025 16:46:44 +0200 > Cc: luangruo@yahoo.com, 76384@debbugs.gnu.org > From: mjk > > I think I already sent the full info about the version that failed. > > The working one is the same (version number) with the -.gt-x11 > extension, and emacs-lucid works too. > > I downloaded and compiled version 30.1 (rc on the web page) and compiled > it. This one seems to work, but with the default config, configure > produces a version that uses lucid, which seems to work as 29 too. > > Not sure what to do to produce similar to the failing one, and whether > it is worth while to use a lot of time to try to reproduce this. OK, thanks. I'm therefore closing this bug. From unknown Thu Jun 19 16:17:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 06 Apr 2025 11:24:26 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator