On Thu, May 10, 2007 at 02:00:59PM +0300, Ozgur Ugras BARAN wrote: > I am trying to solve bug 3529 and things seems to be weird. I check if the > modelItem for the TOC entry is passed correctly. For kernel/model to view > side everything seems OK. Apparently the problem is in paint mechanism of > treeView. I did every possible trick to make the treeview repaint correctly, > but it seems that I can get no significant improvement. > > I am pretty sure the problem is in painting mechanism (maybe in threads?
There is no painting in threads. > We may be calling tocTV->select too many times?). For example, when > you have multiple TOC items selected and defocus and focus back to > lyx, tocTV paints correctly, i.e. single row is selected. > > Now I am curious that, If there is a bug in qt4 tableview, > selectionModel? There is a couple of complaints in qt interest list, > but I couldn't search for bug database. Any ideas? If you were a bit more specific on what you are looking for I could have a look. Andre'