On Sun, May 08, 2005 at 07:56:47PM +0200, Andre Poenitz wrote:
> On Sun, May 08, 2005 at 03:50:56PM +0100, Angus Leeming wrote:
> > sync_events appears to be called on each and every blink of the cursor:
> > void LyXScreen::showCursor(BufferView & bv)
> > {
> >         // You are not expected to understand this. This forces Qt
> >         // (the problem case) to deal with its event queue. This is
> >         // necessary when holding down a key such as 'page down' or
> >         // just typing: without this processing of the event queue,
> >         // the cursor gets ahead of itself without a selection or
> >         // workarea redraw having a chance to keep up. If you think
> >         // you can remove this, try selecting text with the mouse
> >         // in Qt, or holding Page Down on the User's Guide.
> >         lyx_gui::sync_events();
> > [...]
> > I'm not answering the 'why' these calls were felt to be needed, but I am
> > pointing out that they appear to 'solve' some specific problem.
> 
> Now a verification of these 'problems' would be in order, wouldn't it?
> 
> Andre'

Let us first make sure which of these processEvents() are actually
causing our 'table blues' problem(s). Surely not all of them.

- Martin

Attachment: pgpmTIQ409l52.pgp
Description: PGP signature

Reply via email to