Subject: Re: bug#53916: 29.0.50; pgtk: Gtk-WARNING with popup menu

From: Po Lu <[email-masked]>
Date: Thu, 10 Feb 2022 20:12:58 +0800

Stephen Berman <[email-masked]> writes:

> 0. emacs -Q
> 1. Disable with menu bar with `M-x menu-bar-mode'
> 2. Press the F10 key to invoke `menu-bar-open'
> => In the shell the following warning is emitted:
>
> (emacs-pgtk:6569): Gtk-WARNING **: 11:39:05.713: no trigger event for menu popup

That warning is harmless, though we could make it go away by installing
a log handler.  Someone else should chime in at this point to decide
whether or not that's worth it, since such a filter might end up
obscuring legitimate problems in the future.

Alternatively, we could do the same dance with "saved menu events" as on
X.  That would make the warning go away, but is very much not
recommended for a well-behaved GTK program (which the PGTK port already
isn't, but I don't see a reason to make that problem even worse.)