Subject: 30.1; Mouse selections broken on `emoji-insert' (C-x 8 e e)
From: Alcor <[email-masked]>
To: [email-masked]
Date: Sun, 02 Mar 2025 11:32:42 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Start graphical Emacs (pgtk or X), and:

1. Open any buffer where you can input text (e.g. `fundamental-mode')
2. Hit C-x 8 e e (`emoji-insert')
3. Using the mouse, click on any of the choices presented in the
transient menu that appears (e.g. "Activities")

Expected behavior:

The selected menu item is chosen/accepted.

Observed behavior:

IF you're using the transient.el bundled with Emacs 30.1 (0.7.2.2): You
will always be redirected to the "Recent" suffix instead of the choice
you selected.

IF you're using the newest transient.el from ELPA (0.8.5 at the time of
writing): The error "BUG: Cannot determine suffix object" is raised
after selecting the menu item. Hitting C-x 8 e e again will raise the
same error, without showing the transient menu.

In GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41,
 cairo version 1.18.0) of 2025-02-27 built on lcy02-amd64-120
Repository revision: 28dad3de8d076754ae479a1583c34795587a5b35
Repository branch: master
System Description: Ubuntu 24.04.2 LTS

Configured using:
 'configure --prefix=/snap/emacs/current/usr --with-x-toolkit=gtk3
 --without-xaw3d --with-modules --with-cairo
 --with-native-compilation=aot --with-pgtk --with-xinput2
 --with-tree-sitter 'CFLAGS=-isystem
 /build/emacs/parts/emacs/install/usr/include -isystem
 /build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu -isystem
 /build/emacs/stage/usr/include -O2' 'CPPFLAGS=-isystem
 /build/emacs/parts/emacs/install/usr/include -isystem
 /build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu -isystem
 /build/emacs/stage/usr/include'
 'LDFLAGS=-L/build/emacs/parts/emacs/install/lib
 -L/build/emacs/parts/emacs/install/usr/lib
 -L/build/emacs/parts/emacs/install/lib/x86_64-linux-gnu
 -L/build/emacs/parts/emacs/install/usr/lib/x86_64-linux-gnu
 -L/build/emacs/stage/usr/lib''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 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 GTK3 ZLIB

Important settings:
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Group

Minor modes in effect:
  gnus-undo-mode: t
  which-key-mode: t
  winner-mode: t
  windmove-mode: t
  recentf-mode: t
  global-auto-revert-mode: t
  fido-vertical-mode: t
  icomplete-vertical-mode: t
  icomplete-mode: t
  fido-mode: t
  desktop-save-mode: t
  minibuffer-depth-indicate-mode: t
  delete-selection-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-xdcc hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-xdcc
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-truncate hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-truncate
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-track hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-track
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-status-sidebar hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-status-sidebar
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-stamp hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-stamp
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-spelling hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-spelling
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-speedbar hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-speedbar
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-sound hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-sound
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-services hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-services
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-sasl hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-sasl
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-ring hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-ring
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-replace hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-replace
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-pcomplete hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-pcomplete
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-page hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-page
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-notify hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-notify
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-nicks hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-nicks
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-networks hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-networks
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-netsplit hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-netsplit
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-menu hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-menu
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-match hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-match
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-log hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-log
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-loaddefs hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-loaddefs
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-list hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-list
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-lang hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-lang
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-join hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-join
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-imenu hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-imenu
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-identd hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-identd
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-ibuffer hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-ibuffer
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-goodies hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-goodies
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-fill hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-fill
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-ezbounce hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-ezbounce
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-desktop-notifications hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-desktop-notifications
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-dcc hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-dcc
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-compat hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-compat
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-common hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-common
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-capab hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-capab
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-button hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-button
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-backend hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-backend
/home/alcor/.emacs.d/elpa/erc-5.6.1snapshot0.20250221.184006/erc-autoaway hides /snap/emacs/current/usr/share/emacs/30.1/lisp/erc/erc-autoaway

Features:
(shadow sort gnus-cite mail-extr emacsbug qp gnus-async gnus-ml nndraft
nnmh nnfolder utf-7 network-stream nsm gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg nntp gnus-cache disp-table whitespace
display-line-numbers oc-basic org-element org-persist org-id org-refile
org-element-ast inline avl-tree generator ol-eww eww url-queue mm-url
ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015
mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku
url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus
goto-addr compile comp-run xml gnus-cloud nnimap nnmail mail-source utf7
nnoo parse-time gnus-spec gnus-int gnus-range message yank-media puny
rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
gnus-win ol-docview doc-view jka-compr image-mode exif dired
dired-loaddefs ol-bibtex bibtex iso8601 ol-bbdb ol-w3m ol-doi
org-link-doi org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro
org-src sh-script smie treesit executable ob-comint org-pcomplete
pcomplete comint ansi-osc ansi-color org-list org-footnote org-faces
org-entities noutline outline ob-emacs-lisp ob-core ob-eval org-cycle
org-table ol org-fold org-fold-core org-keys oc org-loaddefs thingatpt
find-func cal-menu calendar cal-loaddefs org-version org-compat org-macs
format-spec sendmail rfc2047 rfc2045 ietf-drums gnus nnheader gnus-util
text-property-search time-date mail-utils range mm-util mail-prsvr xdg
doom-themes-ext-org doom-themes-ext-visual-bell face-remap
doom-nord-theme pcase doom-themes doom-themes-base which-key cus-edit pp
finder-inf use-package-ensure winner ring windmove recentf tree-widget
wid-edit autorevert filenotify icomplete desktop frameset mb-depth
delsel cus-load edmacro kmacro use-package-bind-key bind-key easy-mmode
use-package-core site-start comp comp-cstr cl-extra help-mode
comp-common warnings rx doom-themes-autoloads erc-irc-format-autoloads
info erc-autoloads markdown-mode-autoloads rainbow-delimiters-autoloads
package browse-url url url-proxy url-privacy url-expand url-methods
url-history url-cookie generate-lisp-file url-domsuf url-util mailcap
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons
password-cache json subr-x map byte-opt gv bytecomp byte-compile
url-vars 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 touch-screen 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 dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo gtk pgtk
lcms2 multi-tty move-toolbar make-network-process native-compile emacs)

Memory information:
((conses 16 697759 109931) (symbols 48 34816 1)
 (strings 32 178973 7709) (string-bytes 1 5122884) (vectors 16 53822)
 (vector-slots 8 649094 73990) (floats 8 650 12637)
 (intervals 56 983 0) (buffers 992 18))