TTree redraw issues

TeeTree VCL for Borland Delphi and C++ Builder.
Post Reply
Sebastian
Newbie
Newbie
Posts: 9
Joined: Tue May 18, 2010 12:00 am

TTree redraw issues

Post by Sebastian » Wed May 19, 2010 8:20 am

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
Attachments
TeeTreeRedraw_c.jpg
TeeTreeRedraw_c.jpg (43.77 KiB) Viewed 3926 times
TeeTreeRedraw_b.jpg
TeeTreeRedraw_b.jpg (52.29 KiB) Viewed 3900 times
TeeTreeRedraw_a.jpg
TeeTreeRedraw_a.jpg (50.83 KiB) Viewed 3914 times

Yeray
Site Admin
Site Admin
Posts: 8730
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TTree redraw issues

Post by Yeray » Thu May 20, 2010 2:49 pm

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 3855 times
4. Resize the Tree to try to see the whole NodeShape:
tree_repaint.png
tree_repaint.png (14.63 KiB) Viewed 3866 times
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Sebastian
Newbie
Newbie
Posts: 9
Joined: Tue May 18, 2010 12:00 am

Re: TTree redraw issues

Post by Sebastian » Fri May 21, 2010 6:28 am

So it seems that you were able to easily reproduce it, right ?
The attached screenshot looks corrupted.

Yeray
Site Admin
Site Admin
Posts: 8730
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TTree redraw issues

Post by Yeray » Fri May 21, 2010 9:27 am

Hi Sebastian,

Thank you.
I've added it to the defect list to be fixed in future releases (TV52014907).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Sebastian
Newbie
Newbie
Posts: 9
Joined: Tue May 18, 2010 12:00 am

Re: TTree redraw issues

Post by Sebastian » Fri Sep 17, 2010 12:41 pm

Any chances to include the fix in v2010.01 ?

Yeray
Site Admin
Site Admin
Posts: 8730
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TTree redraw issues

Post by Yeray » Fri Sep 17, 2010 1:08 pm

Hi Sebastian,

I'm afraid it hasn't been fixed yet. I'll increment the priority to this ticket.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply