View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005212 | JEDI VCL | 00 JVCL Components | public | 2010-03-29 16:47 | 2010-10-08 15:22 |
Reporter | Biblin | Assigned To | obones | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | suspended | ||
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | ||||
Summary | 0005212: JvDocking: Crash on SaveDockTreeToFile after closing popup panel | ||||
Description | Performing the following will either result in an access violation in TTJvDockZone.GetControlName if ChildControl is nonsense, or the "Docked control must have a name" exception will be raised. Steps to reproduce: Use code snippet below Click Button1 once to create and dock form2 Click unpin icon to collapse form2 to side Click Button1 to float and close form2 Click Button2 to save dock tree to file procedure TForm1.Button1Click(Sender: TObject); begin if Form2 = nil then begin Form2 := TForm2.Create(nil); Form2.Show; Form2.JvDockClient1.DockStyle := JvDockVSNetStyle1; Form2.ManualDock(JvDockServer1.LeftDockPanel, nil, alBottom); end else begin DoFloatForm(Form2); Form2.Free; Form2 := nil; Application.ProcessMessages; end; end; procedure TForm1.Button2Click(Sender: TObject); begin SaveDockTreeToFile('c:\temp\docktree.txt'); end; | ||||
Tags | No tags attached. | ||||
|
Can manually revert popuppanel back to pinned state before closing it as a workaround if Form2.Parent is TJvDockVSPopupPanel then TJvDockVSPopupPanel(Form2.Parent).DoShowControl(Form2); |
|
Could you please provide the zipped sources of a sample application showing this? |
|
No reaction, suspending the issue |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-03-29 16:47 | Biblin | New Issue | |
2010-03-30 11:10 | Biblin | Note Added: 0017332 | |
2010-06-07 13:47 | obones | Note Added: 0017447 | |
2010-06-07 13:47 | obones | Status | new => feedback |
2010-10-08 15:22 | obones | Note Added: 0017788 | |
2010-10-08 15:22 | obones | Status | feedback => resolved |
2010-10-08 15:22 | obones | Resolution | open => suspended |
2010-10-08 15:22 | obones | Assigned To | => obones |