Page 1 of 1

Multiple TChart bugs

Posted: Tue Mar 28, 2006 9:21 am
by 9530613
I have a lot of problems with TChart7 Pro ActiveX control.

Problem 1 - incorrect drawing.

If I try to paint TChart using IViewObject2::Draw method then extent
given in lprcBounds argument is ignored. Thus I can't draw scaled TChart.

Steps to reproduce:
1. Open "ActiveX Control Test Container" application supplied with
Microsoft VisualStudio 7.1.
2. Insert "TeeChart Pro Activex control v7" (using "Edit->Insert New
Control..." menu).
3. Deactivate control (using "Control->Deactivate" menu).
4. Resize control using resizing knobs on control's frame _without_
clicking on the control itself (or control becomes active).
5. Control size and size of control frame will be different. That's
because test container doesn't receive correct size change notifications.

Problem 2 - incorrect state handling.
Steps to reproduce:
1. Open "ActiveX Control Test Container" application and insert TChart
control.
3. Drag control (using frame's hatched border) so it will be partially
cut by window border (just move control left, for example).
4. Deactivate the control.
5. Control enters infinite update loop (using 100% CPU).

Problem 3 - hangups on last COM-reference release.
TChart control hangs in Release() call when the last reference is destroyed. This causes memory leaks and makes applications stay in memory forever.

Steps to reproduce:
1. Insert the control into "ActiveX Control Test Container".
2. Close ActiveX test container using "File->Exit".
3. tstcon32.exe will live on forever (see Task Manager).

Posted: Thu Mar 30, 2006 11:25 am
by Marc
Hello,

Update report:

Items in list:
1. Problem identified. Proposed solution undergoing tests for inclusion in next maintenance release.
2. Unable to reproduce. Please update, re. info request in parallel post: http://www.teechart.net/support/viewtopic.php?t=3794
3. Fix implemented for inclusion next maintenance release.

Regards,
Marc Meumann