build-emacs
build-emacs copied to clipboard
x-popup-menu crashes in Emacs 28.1 on macOS 12.3
Hi,
first, thanks for creating those builds!
I noticed that the recent Emacs version (28.1) for macOS (12.3.1) crashes whenever an entry in a popup menu is selected (e.g. when confirming flyspell suggestions). Curiously, this only happens when the selection is done with the keyboard (i.e. all good when using mouse) and only for the latest version (Emacs 27.2.3 is fine).
Steps to reproduce:
- Create a file
foo.el
that contains some simple elisp to open a popup menu:
(easy-menu-define testmenu nil "Test Menu" '(("Hello") ("abc") ("def")))
(x-popup-menu `((0 0) ,(get-buffer-window)) testmenu)
- Run it and select one of the entries with the keyboard
/Applications/Emacs.app/Contents/MacOS/Emacs -q --load foo.el
M
Same experience here. (but not using flyspell)
Still happens with 28.2