Re: The flicker of the XForms frontend

2004-05-05 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus, your latest patches to xforms and lyx concerning redraw seem > to work very well. > > They do not fix the menu problems, though. It seems that the xforms > popup code does not try to see whether backing store is applied. I > guess it should generate a redraw ev

Re: The flicker of the XForms frontend

2004-05-05 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> John Levon wrote: >> On Tue, May 04, 2004 at 10:05:24AM +0100, Angus Leeming wrote: >>> enabled XWorkArea to use the conventional X11 drawing model. >>> (John, do you have it archived, else I'll have to trawl the >>> archives to dig

Re: The flicker of the XForms frontend

2004-05-04 Thread Angus Leeming
John Levon wrote: >> // Question: should XScreen::expose always >> post // with x, y relative to the top left >> corner // of the window? The code below >> would continue > > Dunno. If I had to say anyt

Re: The flicker of the XForms frontend

2004-05-04 Thread John Levon
On Tue, May 04, 2004 at 01:04:48PM +0100, Angus Leeming wrote: > // Question: should XScreen::expose always post > // with x, y relative to the top left corner > // of the window? The code below would continue Dunno. If I had

Re: The flicker of the XForms frontend

2004-05-04 Thread Angus Leeming
Angus Leeming wrote: > Jean-Marc Lasgouttes wrote: >> The xforms patch seems reasonable enough. I do not know about the >> LyX part. But doing that would be very very nice. In particular, I >> think that would fix the bug with submenus staying on screen after >> they are closed. > > Try out the p

Re: The flicker of the XForms frontend

2004-05-04 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > The xforms patch seems reasonable enough. I do not know about the > LyX part. But doing that would be very very nice. In particular, I > think that would fix the bug with submenus staying on screen after > they are closed. Try out the patches I posted in reply to John

Re: The flicker of the XForms frontend

2004-05-04 Thread Angus Leeming
John Levon wrote: > On Tue, May 04, 2004 at 10:05:24AM +0100, Angus Leeming wrote: > >> enabled XWorkArea to use the conventional X11 drawing model. (John, >> do you have it archived, else I'll have to trawl the archives to >> dig it out.) > > Sorry, long since lost No worries. I found 'em. Att

Re: The flicker of the XForms frontend

2004-05-04 Thread John Levon
On Tue, May 04, 2004 at 10:05:24AM +0100, Angus Leeming wrote: > enabled XWorkArea to use the conventional X11 drawing model. (John, > do you have it archived, else I'll have to trawl the archives to dig > it out.) Sorry, long since lost john

Re: The flicker of the XForms frontend

2004-05-04 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Angus Leeming wrote: >> I suspect that this flicker is a manifestation of the flawed xforms >> drawing model that John has complained of in the past. Indeed, >> between us, we produced a patch, both for XForms and for LyX that >> en

Re: The flicker of the XForms frontend

2004-05-04 Thread Angus Leeming
Angus Leeming wrote: > I suspect that this flicker is a manifestation of the flawed xforms > drawing model that John has complained of in the past. Indeed, > between us, we produced a patch, both for XForms and for LyX that > enabled XWorkArea to use the conventional X11 drawing model. (John, > do

The flicker of the XForms frontend

2004-05-04 Thread Angus Leeming
Any use of the mouse or of the keyboard produces an annoying flicker in the XForms frontend as the work area is redrawn. This flicker does not occur in either the Qt or the Gtk frontend. Try running lyx under valgrind. It's a great way of slowing things down sufficiently to see what's going on. I