Richard Heck wrote:

Can people on Linux (at least) try this: Open a new file; open a LyX note; type. I get amazing slowness. A little experimenting suggests that this behavior shows itself whenever I am typing at the end of a text inset. For example, if I go to the end of the file, then I get slowness. But if I move to the preceding paragraph, it's fine.

I see this kind of problem in footnote insets, too, especially if the inset needs to be widened. So I'm inclined to think this has something to do with the calculation of a new inset width, and possibly with the redrawing of the inset.
Slowness confirmed for 1.6svn of yesterday. :-(

The note is not really necessary - the main window is just as bad for me.

Open new empty file
Type fast, and notice about 80% cpu usage.
Type  until the screen scrolls. I can then type
fast enough to be a few words ahead of LyX, and I am not
a particularly fast touch typist. :-/

The easiest is to hold down
the "W" key and let autorepeat do all the work. Notice how
the fast stream of W's slows to a crawl as soon as the screen scrolls.

More precise: Slowness sets in as soon as a _single_ paragraph is partially
off-screen. The slowness is worst if the visible part of that paragraph is
large. So my wild guess is excessive repainting. Some kind of drawing
optimization that fails when the start of the paragraph is off-screen?

People with good graphichs drivers will probably not see this, as
nice fast graphics can hide lots of such problems.

Helge Hafting

Reply via email to