From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mark Kennedy Newsgroups: gmane.emacs.bugs Subject: bug#51794: 29.0.50; invalid input events generated from a mouse click for the tab bar Date: Fri, 12 Nov 2021 15:49:45 -0500 Message-ID: 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="20213"; mail-complaints-to="usenet@ciao.gmane.io" To: 51794@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 12 22:04:27 2021 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 1mldil-00051z-4F for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Nov 2021 22:04:27 +0100 Original-Received: from localhost ([::1]:33016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mldik-0000h4-0D for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Nov 2021 16:04:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mldiN-0000gO-HH for bug-gnu-emacs@gnu.org; Fri, 12 Nov 2021 16:04:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mldiM-00024f-3l for bug-gnu-emacs@gnu.org; Fri, 12 Nov 2021 16:04:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mldiL-0005yb-Mv for bug-gnu-emacs@gnu.org; Fri, 12 Nov 2021 16:04:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark Kennedy Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Nov 2021 21:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51794 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163675098522899 (code B ref -1); Fri, 12 Nov 2021 21:04:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Nov 2021 21:03:05 +0000 Original-Received: from localhost ([127.0.0.1]:46070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mldhQ-0005xG-Ip for submit@debbugs.gnu.org; Fri, 12 Nov 2021 16:03:05 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:60018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlday-0005lr-Ct for submit@debbugs.gnu.org; Fri, 12 Nov 2021 15:56:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlday-0005pl-0v for bug-gnu-emacs@gnu.org; Fri, 12 Nov 2021 15:56:24 -0500 Original-Received: from [2607:f8b0:4864:20::b30] (port=44712 helo=mail-yb1-xb30.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mldav-0001LF-No for bug-gnu-emacs@gnu.org; Fri, 12 Nov 2021 15:56:23 -0500 Original-Received: by mail-yb1-xb30.google.com with SMTP id q74so26866373ybq.11 for ; Fri, 12 Nov 2021 12:56:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=WgNcZCDz/Gqp+I0fNZeOIzxBM4vrUWaYV62YAIXx96c=; b=eUxkGOR8RC4fn1geed4cnKNw47Dr0WguG/Br30y1StfEz3+n+wzgPqQTJLZeLCChPL XgmW8f6C7/+59jwwSg9uq7/1oLAffeix0ImpWlgjl9K2F1TLjwedznxVa8hV4VT2r6NS uXjvAX+dm4bV7806dNzQds/FJx50SWTAz9xbxcqEB9LEYkhnhjBNqgIYaajYdQ2R5vfF cuPo5MKeIl7RYKyjvfGfZ9vnaSg/yKby7LRN52lLXFhNpkmlRkRDKKM7qXEf3quiLTR5 CHZYksB0GwwczN1xDEQ+YxJCo8URpxaZLLEaQjtWS2JdE/7E2Q5LSVYsbfTOCBx69+WK V/xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WgNcZCDz/Gqp+I0fNZeOIzxBM4vrUWaYV62YAIXx96c=; b=ehVkkwlW4nfCqN3ODzpBtThmoxTM7n7PkZK94A82wr1wpwR525e7bkU7l5ZBTCm5tB x2+u0cg7HghDo8s2cbHhGGIiORCCj1WMWc0nNqTRey/4lOhLltQpBC1uclY69JSuBzhd ju7oUx5Tiqtkz4jK1nBwaFLNirjscRKhnluMvs4Brzv+C0SnYDhUWv3K8AjfOrvdfHvC IKQsCHMcd7Zr33C7fXcrn/uykF3ZQYeFK/9k1XuyIU8yZCbLrfNstWKP8+veec4ebpY2 0FJ1pKh614ZUun47X3J5iiPkP/xxatiCKGXTqViS1cQmPiaJ2F+LE/Pue3Qc6V1QiFHR AUpQ== X-Gm-Message-State: AOAM530h8rf+Mg7auOodBImObfSKa7/+PiSDFAaT50k2pP/j4UYSzTgp el3y/k1kQyouB2+d57isTnoF6HyD0jDlaS4cyEPG0PWxQXeEPg== X-Google-Smtp-Source: ABdhPJw7eKcXWhEZMYyIgLXU+m39Di1I266nMfbigTDpWagUwhadn0Z57s2VFMUHXhXMEhiV5v61GWcLUvbGxz0jGqg= X-Received: by 2002:a9d:6855:: with SMTP id c21mr15089176oto.357.1636750193968; Fri, 12 Nov 2021 12:49:53 -0800 (PST) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::b30 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::b30; envelope-from=mark.t.kennedy@gmail.com; helo=mail-yb1-xb30.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 12 Nov 2021 16:03:03 -0500 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" Xref: news.gmane.io gmane.emacs.bugs:219793 Archived-At: CAVEAT: this has not been reproduced under an "emacs -Q" 1) launch an emacs with two windows 2) one window has a number of tabs with text files in each 3) the other window has at least one tab with a scala source file, in scala mode, using LSP 4) the emacs instance is configured to use lsp-metals 5) clicking on the tabs in the text file window works as expected (e.g. selection, closing) 6) clicking on a tab in the window with the scala source file triggers the message " is undefined". 7) switching from scala mode to fundamental mode restores the correct tab behavior. 8) switching back to scala mode from fundamental mode restores the failing behavior as you can see from the generated environment info below, the environment is *compilicated*. bisecting this is out of the question. i'm hoping that someone could focus on the presence of the "" in the generated input sequence since it implies that the lisp symbol nil was somehow passed into the input event queue. In GNU Emacs 29.0.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.17.4) of 2021-11-12 built on new.mofjwutu.com Repository revision: 12d554e5c54487d753a133c048e262f3d54019bd Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Fedora Linux 35 (Workstation Edition) Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: Scala Minor modes in effect: lsp-headerline-breadcrumb-mode: t lsp-diagnostics-mode: t lsp-modeline-workspace-status-mode: t lsp-modeline-diagnostics-mode: t lsp-modeline-code-actions-mode: t lsp-completion-mode: t indent-guide-mode: t subword-mode: t save-place-mode: t desktop-save-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t beacon-mode: t pyvenv-mode: t shell-dirtrack-mode: t pcre-mode: t dynamic-completion-mode: t msb-mode: t winner-mode: t savehist-mode: t which-function-mode: t global-page-break-lines-mode: t global-hi-lock-mode: t hi-lock-mode: t icomplete-mode: t dap-tooltip-mode: t dap-ui-many-windows-mode: t dap-ui-controls-mode: t dap-ui-mode: t which-key-mode: t lsp-ui-mode: t lsp-ui-doc-mode: t lsp-ui-sideline-mode: t company-mode: t treemacs-filewatch-mode: t treemacs-follow-mode: t treemacs-git-mode: t treemacs-fringe-indicator-mode: t lsp-lens-mode: t dap-auto-configure-mode: t dap-mode: t lsp-managed-mode: t lsp-mode: t yas-minor-mode: t flycheck-mode: t override-global-mode: t hl-todo-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t tab-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/mtk/.emacs.d/elpa/teco-20200707.2309/teco hides /usr/local/share/emacs/site-lisp/teco /home/mtk/.emacs.d/elpa/transient-20211105.100/transient hides /usr/local/share/emacs/29.0.50/lisp/transient Features: (shadow sort mail-extr emacsbug sendmail names edebug autoload tar-mode arc-mode archive-mode cl-print debug backtrace teco magit-utils crm jka-compr apropos cus-start eieio-opt speedbar ezimage dframe shortdoc misearch multi-isearch add-log mm-archive message yank-media dired dired-loaddefs rfc822 mml mml-sec epa derived gnus-util rmail rmail-loaddefs mailabbrev gmm-utils mm-decode mm-bodies mm-encode lsp-headerline lsp-icons url-http url-gw url-cache url-auth mule-util lsp-diagnostics lsp-modeline company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-cmake company-semantic company-template company-bbdb vc-git vc-dispatcher lsp-zig lsp-steep lsp-svelte lsp-sqls lsp-yaml lsp-xml lsp-vimscript lsp-vhdl lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v lsp-toml lsp-terraform lsp-tex lsp-sorbet lsp-solargraph lsp-rust lsp-rf lsp-r lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh lsp-php lsp-perl lsp-ocaml lsp-nix lsp-nim lsp-markdown lsp-lua lsp-kotlin lsp-json lsp-javascript lsp-haxe lsp-groovy lsp-hack lsp-graphql lsp-go lsp-completion lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-elixir lsp-elm lsp-dockerfile lsp-dhall lsp-d lsp-css lsp-csharp gnutls lsp-crystal lsp-cmake lsp-clojure lsp-semantic-tokens lsp-clangd dom lsp-beancount lsp-bash lsp-angular lsp-ada lsp-actionscript ccls ccls-member-hierarchy ccls-inheritance-hierarchy ccls-call-hierarchy ccls-tree ccls-code-lens ccls-semantic-highlight ccls-common scala-mode scala-mode-prettify-symbols scala-mode-imenu scala-mode-map scala-mode-fontlock scala-mode-indent scala-mode-paragraph scala-mode-syntax scala-mode-lib disp-table indent-guide hlinum linum cap-words superword subword saveplace desktop frameset display-line-numbers beacon highlight-indentation flymake-proc flymake warnings company-capf help-fns radix-tree elpy elpy-rpc pyvenv eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util elpy-shell elpy-profile elpy-django elpy-refactor diff-mode python tramp-sh tramp tramp-loaddefs trampver tramp-integration tramp-compat shell pcomplete parse-time iso8601 time-date ls-lisp format-spec ido files-x etags fileloop generator pcre2el rxt re-builder completion msb winner savehist which-func page-break-lines hi-lock avoid icomplete server use-package-delight lsp-pyright dap-mouse dap-ui gdb-mi gud bui bui-list bui-info bui-entry bui-core bui-history bui-button bui-utils cus-edit pp cus-load dap-java lsp-java request mailheader autorevert mail-utils cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs which-key lsp-ui lsp-ui-flycheck lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui-peek lsp-ui-sideline lsp-ui-util face-remap company hydra flycheck-package package-lint let-alist finder finder-inf projectile lisp-mnt mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr grep ibuf-ext ibuffer ibuffer-loaddefs lsp-metals view lsp-metals-treeview lsp-treemacs lsp-treemacs-themes treemacs treemacs-header-line treemacs-compatibility treemacs-mode treemacs-interface treemacs-extensions treemacs-mouse-interface treemacs-tags treemacs-persistence treemacs-filewatch-mode treemacs-follow-mode treemacs-rendering treemacs-async treemacs-workspaces treemacs-dom treemacs-visuals treemacs-fringe-indicator treemacs-scope pulse treemacs-faces treemacs-icons treemacs-themes treemacs-core-utils pfuture hl-line treemacs-logging treemacs-customization treemacs-macros lsp-metals-protocol lsp-lens dap-mode dap-launch posframe dap-overlays lsp-mode lsp-protocol aws-snippets go-snippets yasnippet-snippets yasnippet xref project tree-widget wid-edit spinner pcase network-stream puny nsm rmc markdown-mode color thingatpt noutline outline lv inline imenu ht filenotify ewoc epg rfc6068 epg-config compile text-property-search comint ring flycheck-eldev flycheck ansi-color find-func use-package-bind-key bind-key easy-mmode importmagic f dash s epc ctable edmacro kmacro concurrent deferred hl-todo use-package-ensure ialign align cl-extra use-package-core tab-line trim page-menu cperl-mode facemenu help-mode rx cl advice info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq gv subr-x byte-opt bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-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 cl-generic 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 simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 2036788 1830354) (symbols 48 68716 737) (strings 32 376913 356206) (string-bytes 1 16103230) (vectors 16 171799) (vector-slots 8 2498201 708904) (floats 8 877 5477) (intervals 56 205896 121072) (buffers 992 50))