> Do you mean that the second menu is created before returning from the
> first w32_menu_show. It does not look so to me, but I might be
> misreading the code. Is not "selection" that is returned from the first
> w32_menu_show what is used to decide to do?
>
> Will not the that return value be used to decide what to do (in this
> case popup a second menu)? In popup-menu the return value is used to
> find cmd to execute. So when that is done the first popup menu should be
> gone, or?

I have the same problem with a popup-menu and a toggle-styled entry.
Whenever I toggle the entry and line- or mouse-move to the menu title,
the latter changes to something like "t", a dot, or an unprintable
character.  When I toggle the entry again the original title is
restored, and changes again when I move there again ...  Hence, this
problem is inherent to the menu code, or, you don't need two menus like
Lennart to make the problem show up.  My two observations:

(1) The affected element is _always_ the title of the menu (remaining
entries are never affected).

(2) The original, correct title is kept somewhere since otherwise it
couldn't be re-created when I toggle back.



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to