On Thu, 2005-05-12 at 15:57, Bennett Helm wrote:
> On May 12, 2005, at 5:45 AM, Jean-Marc Lasgouttes wrote:
> 
> >>>>>> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
> >
> > Bennett> But with a large-ish document (about 10000 words and with
> > Bennett> many footnotes, citations, and cross references, but with no
> > Bennett> math or graphics), typing at a normal speed is simply
> > Bennett> impossible: the order letters appear in the document is no
> > Bennett> longer the order I type them.
> >
> > How is the situation now? I am not sure it is going to be faster, but
> > at least you should be able to provide a profile that is usable...
> 
> Well, it's worse in two ways.
> 
> 1. Instead of reordering keystrokes, it drops keystrokes. Thus, typing 
> "The last time I tested lyx" results in: "Th attm Itsedlx".

I don't manage to reproduce this, even in the User Guide. But I'm not a
fast typist.

> 2. (Unrelated?) Moving the mouse pointer within the LyX window 
> automatically selects text, even when the mouse button has not been 
> pressed.

Not here.

> In case it's useful, I've attached another profile. (Please let me know 
> if this is the right sort of report to provide.)
> 
> Bennett

Do I see this correctly?

 | + 54.8% QFontEngineMac::doTextTask(QChar const*, int, int, int, unsigned 
char, int, int, QPaintDevice*, QRegion const*) const (LyX)
 | |   0.1% qMacVersion() (LyX)
 | | - 0.1% QFontEngineMac::doTextTask(QChar const*, int, int, int, unsigned 
char, int, int, QPaintDevice*, QRegion const*) const (LyX)
 | |   0.1% dyld_stub_GetGWorld (LyX)

QFontEngineMac::doTextTask eating 55% of your CPU? Or spending 55% of
its time there, waiting for drawing to finish?

Remember, "something's gotta give". We can switch off processEvents
completely, then all keystrokes are eventually processed, but until that
happens, the screen will look unfinished. As I understand these are the
drawing glitches that processEvents was introduced to get rid of. If you
want the screen to be up to date all the time, don't allow keystrokes in
while drawing.

Older LyX also silently drops keystrokes if you type too fast. Only, it
is so much faster that that rarely happens. Perhaps we should work on
1.4 speed, then.

Or should we switch off processEvents just for the Mac architecture?

- Martin

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to