Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2016 - TeeChart Pro 2016 VCL (Komponente TDBTree); Delphi-10-Seattle; Windows-10
Summary: TeeChart Pro 2016 VCL (Komponente TDBTree); Delphi-10-Seattle; Windows-10
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: TTree (show other bugs)
Version: unspecified
Hardware: PC Windows
: Highest enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-16 10:14 EDT by Claudia Baier
Modified: 2021-07-22 06:18 EDT (History)
3 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
zip-Datei include Delphi-Project and sql-script (262.76 KB, application/x-zip-compressed)
2018-05-14 10:43 EDT, Claudia Baier
Details
DBTree example works (221.28 KB, application/x-zip-compressed)
2018-09-28 07:09 EDT, sandra pazos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Claudia Baier 2018-03-16 10:14:14 EDT
I implement TDBTree with checkboxes. The DBTree has around 2000 shapes in 4 hierarchical level.
First all nodes are Expanded := False.
I use the OnClickShape event and it works fine.
Until I expanded and scroll in tree for much times,
then the TTreeNodeShape in OnClickShape event is the wrong node!
This happens undeterminated.

With TeeChart 8.07: First the node text have to be clicked then the OnClickShape event
fires for the correct node. But with the new version of TeeChart, it do not work again.

With the checked-shapes my application generate a sql-query.
So the wrong behavior in unterminated cases is a grave error in my application.

What can I do?
Comment 1 Claudia Baier 2018-03-20 04:17:10 EDT
My tree has 20000 Shapes. 
Sorry for the mistake.
Comment 2 sandra pazos 2018-04-19 10:45:12 EDT
Hello Claudia,


In the link below you can download the free version to check if the problem appears in latest TeeChart Pro V2018.24. 
https://www.steema.com/downloads/vcl

Could you confirm us if the problem is fixed?  

If the problem persist, could you please attach project we can run as-is to reproduce the problem here? 

Thanks in advance
Comment 3 Claudia Baier 2018-05-14 10:43:22 EDT
Created attachment 830 [details]
zip-Datei include Delphi-Project and sql-script

use winzip32.exe to exctract files
Comment 4 Claudia Baier 2018-07-11 03:42:14 EDT
Hello Sandra,

did you received all my attachments about the problem?
I can not placed all here.
So I replied jour email of 10.04.18 dated 14.05.18.

Can you reproduce my problem?

Waiting for an answer
Claudia Baier
Comment 5 Claudia Baier 2018-08-30 08:21:43 EDT
Hello Steema-Team,

regarding my still unresolved error.
I found a note in your support-forums, by searching 'OnClickShape'.
This note (titled by 'OnClickShape Bug in Teetree', posted by Roland) describe a problem, 
that seems to by like my problem.

The solution posted by Tom was to change a statement the file 'TeeTree.pas'.
But i do not found this file on my system. 

Please help me. We need it very urgently.

Best regards
Claudia Baier
Comment 6 Claudia Baier 2018-08-31 11:27:57 EDT
Hello Steema-Team,

after re-installing my licensed version TeeChart Pro V2016.18, 
i have my sourecode-files back.
Now i see in the file 'TeeTree.pas' that you had change it,
BUT it do not work correctly.

Undeterminated the wrong TTreeNodeShape in OnClickShape event was returned. 

Best regards
Claudia Baier
Comment 7 sandra pazos 2018-09-28 07:09:47 EDT
Created attachment 860 [details]
DBTree example works
Comment 8 sandra pazos 2018-09-28 07:12:30 EDT
The problem occurs using latest TeeChart Pro VCL/FMX 2018.25. To reproduce the problem is necessary following the steps below: 

1. open the node <Gmd u. außerhalb RLP>

   (about 2000 childs are expanded)

2. scroll und check some boxes on this childs-tree-part

3. open another node below, for examble <Altj.u. 15 b. 66 u.m.>

4. scroll und check some boxes on this childs-tree-part

5. close the node <Altj.u. 15 b. 66 u.m.>

6. scroll up

7. close the node <Gmd u. außerhalb RLP>

8. scroll up

9. open the node <Kreise u.außerh. RLP>

10. try to check some children.

Note you should check only some children notes.
Comment 9 Claudia Baier 2019-09-24 07:58:03 EDT
Hello,
i want to remind you of the bug.
What is the status of the error correction?

A year ago I received this message from Sandra Pazos:
Hello Claudia,

Thanks for your revision. 
We try to fix it to upcoming versions of TeeChart, but may be is a complex problem and required some time

Thanks in advance

Regards. 
Sandra / Development & Support
sandra@steema.com 

For my program users is it very unsatisfactory to work with this bug.

Regards
Claudia Baier
Comment 10 marc meumann 2021-04-19 07:40:40 EDT
fix in code.
Comment 11 marc meumann 2021-07-22 06:18:25 EDT
re-opened for further investigation.