[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No refresh of buffer before popup-menu

From: martin rudalics
Subject: Re: No refresh of buffer before popup-menu
Date: Thu, 22 Feb 2007 23:47:59 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]