Zitat von Graeme Geldenhuys <graemeg.lists@gmail.com>:

> Hi,
>
> Is the cursor painting (not clearing/repainting it's previous
> position) a known issue?  I tried Lazarus compiled with GTK2
> yesterday.  Pressing the up/down arrow navigating the code, I end up
> with what looks like 10-15 cursors. Actually only one is the cursor,
> the others are leftover positions not being cleaned up with a repaint.

Yes and no.
Yes, there are leftover issues, since we switched gtk2 double buffering on, and
no, not like you described.

The cursor is painted by the gtk2 interface during OnPaint events. When the
cursor is moved, hidden or shown the gtk2 interface automatically does an
InvalidateRect. That means simply moving around works.
The only problem - as far as I have seen - are external invalidates (not from
the LCL). For example switching from other applications or popup windows.
Does your caret hide when you switch to another window?


Mattias


