On Mon, Oct 07, 2002 at 04:02:06PM +0200, Jean-Marc Lasgouttes wrote:

> Since it seems TC has had no time to look at this bug, I did a bit of
> searching of my own (using an old sources snapshot from TC) and found
> that the culprit is in handle_motion (xpopup.c) where the item number
> cval is computed. 
> 
> The comment below says it all:
> 
>     /* if released on title bar, cval is zero. However, if there is no title,
>        change cval to -1 (invalid) if "too right" */
> 
> It happens that "too right" means "more than 1/3 of the menu width".
> What's the reason for that? It is a real pain with LyX, when if the
> File menu is open, clicking on Edit does nothing (not in the "too
> right" area).

iirc the problem was that that code doesn't have a good idea of where
one title ends and the other begins. At least, that was the problem I
hit when trying to fix the menus to behave in a bearable manner.

regards
john

-- 
"I will eat a rubber tire to the music of The Flight of the Bumblebee"

Reply via email to