[XForms] Fixing the popups?

Angus Leeming angus.leeming at btopenworld.com
Fri Jun 4 11:59:37 EDT 2004


On Friday 04 June 2004 4:16 pm, Jean-Marc Lasgouttes wrote:
> Angus> Can you give me a prescription to trigger these problems
> Angus> myself? I've always been rather hazy about them.
>
> Launch LyX and open a document.
> Click on Insert
> Click on Math
> Click on 'Special character'
>
> The math menu is supposed to have disappeared, but since no redraw
> has occured, there is a painting problem. I tried to take a
> snapshot, but it failed miserably.

Ok, I see it. Are you absolutely sure that it's a redraw problem? It 
seems to me that it should be possible to check if any 'shadowed' 
popups are visible before drawing an 'unshadowed' one. If they are, 
then they should be hidden.

I also note that demos/pup.c has a posthandler. Something that 
XFormsMenubar does not. Moreover, this posthandler calls fl_showpup 
and fl_hidepup explicitly. Nowhere in XFormsMenubar are there calls 
to these functions.

Regards,
Angus



More information about the Xforms mailing list