GNU bug report logs -
#55203
29.0.50; MSW menu bar help text doesn't show when blink-cursor-mode is off
Previous Next
Full log
View this message in rfc822 format
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: 55203 <at> debbugs.gnu.org
> Date: Sun, 01 May 2022 14:32:14 +0800
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > This is a well-known problem. It is caused by the implementation of
> > Emacs menus on MS-Windows: we start a separate message loop for
> > handling the menu events, and this suspends the main event loop. When
> > blink-cursor-mode is ON, the timer causes the main event loop to turn
> > a notch, and then Emacs produces the help-echo for the menu item; but
> > without cursor blinking and no other sources of async input events,
> > that doesn't happen.
>
> Thanks. Could you point to where that "separate message loop" is
> started? I couldn't find anything in w32menu.c.
It's in w32fns.c, under WM_EMACS_TRACKPOPUPMENU. w32menu.c sends the
WM_EMACS_TRACKPOPUPMENU message to the main window procedure when the
menu is ready to be displayed. We then call TrackPopupMenu and
discard any mouse events except those which select a menu item (AFAIU
what happens there; I'm nowhere close to being an expert on this
stuff).
This bug report was last modified 3 years and 51 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.