View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004403 | JEDI VCL | 00 JVCL Components | public | 2008-07-16 07:40 | 2008-12-22 04:29 |
Reporter | tetardd | Assigned To | obones | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
Product Version | 3.32 | ||||
Target Version | Fixed in Version | ||||
Summary | 0004403: Inconsistencies in selection of items in TJvTreeView (compared to VCL) | ||||
Description | The way TreeNodes are displayed selected (when HideSelection is False) suffers from inconsistencies compared to Delphi's VCL. To reproduce, simply create a form with 1 TJvTreeView and 1 TTreeView (both having HideSelection = False and ReadOnly = True) and one button whose OnClick code is below: procedure TForm8.Button1Click(Sender: TObject); Var TreeNode : TTreeNode; begin // Populate Jedi's TreeView: TreeNode := JvTreeView1.Items.AddChild(Nil, '1--------'); JvTreeView1.Selected := TreeNode; TreeNode := JvTreeView1.Items.AddChild(Nil, '2--------'); TreeNode := JvTreeView1.Items.AddChild(Nil, '3--------'); TreeNode := JvTreeView1.Items.AddChild(TreeNode, '4------'); // Populate Delphi's TreeView with same items: TreeNode := TreeView1.Items.AddChild(Nil, '1--------'); TreeView1.Selected := TreeNode; TreeNode := TreeView1.Items.AddChild(Nil, '2--------'); TreeNode := TreeView1.Items.AddChild(Nil, '3--------'); TreeNode := TreeView1.Items.AddChild(TreeNode, '4------'); end; 1- As you can see, exactly the same items are created dynamically in the two tree views. However, Delphi's tree view shows one TreeNode selected (gray background around '1-----') while this does not happen in TJvTreeView. 2- Select treenode called '1-----' in TJvTreeView, the select rect is displayed but the gray background still not there. To show thta background, you have to select another treenode (click on '2-----'). 3- Click the button once again to create new items. The selected treenode background has disappeared again in TJvTreeView (but not in Delphi's TTreeView). | ||||
Additional Information | Code and executable attached in zip file. | ||||
Tags | No tags attached. | ||||
2008-07-16 07:40
|
TJvTreeView Bugs.zip (291,686 bytes) |
|
Please use version 3.33, or better, the SVN version and try again. This might have been fixed already. |
|
I compared the source code for both JvComCtrls.pas and JvExtComCtrls.pas units where the JvTreeView control resides (and its ancestors) for both version 3.32 and 3.33 and there is no change in the code that tackles this bug. Therefore, the bug has not been corrected in version 3.33. |
|
And what about the SVN version? Further to this, there might be changes in other files that could have an impact on this. I'm sorry, but version 3.32 is too old to be interesting for such bug reports |
|
Hello, any news? |
|
No news, no action |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-07-16 07:40 | tetardd | New Issue | |
2008-07-16 07:40 | tetardd | File Added: TJvTreeView Bugs.zip | |
2008-07-17 00:20 | obones | Status | new => acknowledged |
2008-07-17 00:21 | obones | Note Added: 0014390 | |
2008-07-17 00:21 | obones | Status | acknowledged => feedback |
2008-07-17 01:36 | tetardd | Note Added: 0014391 | |
2008-07-17 01:54 | obones | Note Added: 0014392 | |
2008-10-10 05:15 | obones | Note Added: 0014824 | |
2008-12-22 04:29 | obones | Note Added: 0015132 | |
2008-12-22 04:29 | obones | Status | feedback => resolved |
2008-12-22 04:29 | obones | Resolution | open => unable to reproduce |
2008-12-22 04:29 | obones | Assigned To | => obones |