On Mon, Jun 12, 2006 at 10:18:04PM +0300, Martin Vermeer wrote: > On Mon, Jun 12, 2006 at 12:47:56PM +0200, Juergen Spitzmueller wrote: > > Juergen Spitzmueller wrote: > > > I'm seeing drawing errors in 1.4 every now and then with collapsable > > > insets > > > in tabular cells (that is, if you write into the collapsable, the screen > > > does not get updated). > > > > I obviously mean something different: > > > > - New table > > - add some text in a cell > > - change column with > > - insert ERT and type inside > > > > the result looks like the attached screenshot. > > > > Jürgen > > I don't know precisely what you mean, but I too manage to produce > artefacts... by deleting stuff inside the ERT inside the tabular. > > I believe it is due to the use of a "signature" (calculated from the > inset row's x, y and width) to detect if it changed and should be > re-drawn. In this case the tabular cell with doesn't change and neither > does the row signature. > > I'm not sure how to fix it.
This is not the reason. It appears to me that the problem is, that rowpainter expects the inset->drawSelection() method to "blank out" the inset background before doing anything else. insettext (and derivatives) does that, insettabular does not. More thinking required... - Martin
pgpSAV4fRNMy2.pgp
Description: PGP signature