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? 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?
There were some problems recently with the slider that was due to a Qt
bug apparently. Maybe it's the same issue there?
Abdel.