[XForms] [patch] sliders and counters

Jean-Marc Lasgouttes Jean-Marc.Lasgouttes at inria.fr
Fri May 7 08:59:34 EDT 2004


>>>>> "Angus" == Angus Leeming <angus.leeming at btopenworld.com> writes:

Angus> What else is needed for the 1.1 release?

I am currently trying to play around with xpopup.c to fix two
problems:

1/ if you open a menu in LyX and then a submenu and then click on
another submenu of the same level the first menu stays on screen.

OK, I explain: in LyX, do File>New, and then click on Insert>Math and
then Inset>Special Character. The result is that you have both
submenus shown.

I think the problem is that there should be some redraw event taking
place, but that it does not happen. I tried to reproduce this with
demos/popup or demos/pup, but nothing happens there. The problem does
not occur on screen that honor backing store (as reported by
xdpyinfo), but it seems that modern linux distributions ship an
XFree86 that does not do backing store.

So probably this is only a LyX bug. How can I debug this?

2/ There is an annoying behaviour of the LyX menus that mean that if
you click on File, and then on Edit, the file menu will not close
itself. The reason is the code in xpopup.c:is_on_title, which assumes
that one has to click beyong the first 2 thirds of the menu
(horizontally speaking) in order to get the menu to go away. 

I tried to remove this extra code, but all I get now is that menus are
closed when one releases the mouse on the File menu (like macos used
to do). I am not sure people will like this.


Of course, none of these things are primordial for xforms 1.1.

Anyway



More information about the Xforms mailing list