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 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 you have it archived, else I'll have to trawl the archives to dig
it out.)

Putting that to one side, however, I'd note that things have never
been as bad as they are now. Somehow, we used to work around the
problem.

As an incentive to address this issue, I'm committing the following,
one line patch to XWorkArea.C

@@ -115,6 +115,7 @@ XWorkArea::XWorkArea(LyXView & owner, in
        frame = obj = fl_add_box(FL_BORDER_BOX, 0, 0, w, h, "");
        fl_set_object_resize(obj, FL_RESIZE_ALL);
        fl_set_object_gravity(obj, NorthWestGravity,
SouthEastGravity);
+       fl_set_object_color(obj, FL_RED, FL_MCOL);

In future, the flashes will be a nice, bright red!

-- 
Angus

Reply via email to