Page 1 of 1

TTree redraw issues

Posted: Wed May 19, 2010 8:20 am
by 16556175
Hi,

It seems TTree control doesn't get properly refreshed/repainted under some conditions. (see attachments)

It is most noticable after some of tree parameters were changed - first repaint doesn't happen as it should:
a) reposition tree nodes (TTreeNodeShape->X0=...), resize form which contains TTree control
b) change tree node shape, resize form
c) zoom, change tree node shape

Previously we were used rather old TeeTree2C6Tee6. Everything worked fine for this control.

Any help would be appreciated,
Thanks in advance,
Sebastian

Re: TTree redraw issues

Posted: Thu May 20, 2010 2:49 pm
by yeray
Hi Sebastian,

Trying to reproduce it in a as simple example as possible, here is what I get:

1. Create a new application.
2. Drop a TTree in the form, not very big.
3. Double click the Tree to get into the editor. Add a big Rectangle (TTreeNodeShape) and close the editor:
tree_created.png
tree_created.png (11.41 KiB) Viewed 14242 times
4. Resize the Tree to try to see the whole NodeShape:
tree_repaint.png
tree_repaint.png (14.63 KiB) Viewed 14253 times

Re: TTree redraw issues

Posted: Fri May 21, 2010 6:28 am
by 16556175
So it seems that you were able to easily reproduce it, right ?
The attached screenshot looks corrupted.

Re: TTree redraw issues

Posted: Fri May 21, 2010 9:27 am
by yeray
Hi Sebastian,

Thank you.
I've added it to the defect list to be fixed in future releases (TV52014907).

Re: TTree redraw issues

Posted: Fri Sep 17, 2010 12:41 pm
by 16556175
Any chances to include the fix in v2010.01 ?

Re: TTree redraw issues

Posted: Fri Sep 17, 2010 1:08 pm
by yeray
Hi Sebastian,

I'm afraid it hasn't been fixed yet. I'll increment the priority to this ticket.