View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001536 | JEDI VCL | 00 JVCL Components | public | 2004-03-28 03:15 | 2004-04-01 11:32 |
Reporter | anonymous | Assigned To | user72 | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0001536: JvDocking -Loading / Saving layout from/to file does not work without USEJVCL | ||||
Description | If USEVCL is not defined: There is a call to TMemIniFile.Flush in JvDockControlForm.pas, line 1513. At least in Delphi 7 there is no such method. I guess it can be deleted, as immediately after it there is a call to Update, which should do it. Also, there are exceptions when saving and loading the docktree. Just try to use MSDNDemo with USEJVCL not defined. | ||||
Additional Information | current cvs from 2004-03-28 | ||||
Tags | No tags attached. | ||||
|
That's an error: it should be UpdateFile, not Flush. |
|
> Also, there are exceptions when saving > and loading the docktree. Just try to use > MSDNDemo with USEJVCL not defined. What's with that issue? It is still unfixed in current CVS. I investigated further: When saving the DockTree I get an access violation in JvDockInfo.pas at line 886. The last line command of SaveDockTreeToFile() is JvDockInfoTree.Free; The destructor of TJvDockBaseTree for some reason starts an BackwardScanTree() which finally leads to the above error. |
|
Anonymous CVS is delayed and can take up to 48 hours to be current. Please try again at a later time. I am not getting any AV's in JvDockInfo (or anywhere else for that matter) when closing down. |
2004-03-30 06:23
|
jvdocking test.zip (2,699 bytes) |
|
Try uploaded example. Run application and click "Save". |
|
Ah, not good. Try attached units |
|
No exception this time, but the created file is totally empty. Note that everything works when USEJVCL is defined. Perhaps the bug is in line 878 of JvDockInfo.pas: > FJvDockInfoStyle := isReadFileInfo; This causes the following "else if FJvDockInfoStyle = isWriteFileInfo" never to be executed. However, if I uncomment the line above, there are AVs when loading the dock tree. |
|
That line should definitely not be there. Are you sure you've replaced all the files (and dcu's!) included in the zip? I get content as well as no AV's |
|
just tested again - still there are access violations. the JvDockInfo.pas from the attachted archive contains the line mentioned above. perhaps you uploaded the wrong units? |
2004-04-01 08:44
|
JvDocking.zip (68,464 bytes) |
|
I've uploaded a new zip that works for me. Note that you cannot call LoadFromXXX before all forms are created, so you can't use FormCreate of the MainForm. I use FormShow and then set OnShow := nil; |
|
Also tested with the MSDN sample |
|
ok, works now for me too. you can close the issue - thanks. |
|
Updated in CVS |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-03-28 03:15 | anonymous | New Issue | |
2004-03-28 22:23 |
|
Note Added: 0003491 | |
2004-03-28 22:24 |
|
Status | new => resolved |
2004-03-28 22:24 |
|
Resolution | open => fixed |
2004-03-28 22:24 |
|
Assigned To | => user72 |
2004-03-29 06:24 | anonymous | Status | resolved => feedback |
2004-03-29 06:24 | anonymous | Resolution | fixed => reopened |
2004-03-29 06:24 | anonymous | Note Added: 0003493 | |
2004-03-29 09:23 |
|
Note Added: 0003495 | |
2004-03-30 06:23 | anonymous | File Added: jvdocking test.zip | |
2004-03-30 06:23 | anonymous | Note Added: 0003518 | |
2004-03-30 11:50 |
|
Note Added: 0003520 | |
2004-03-30 11:50 |
|
File Added: JvDocking.zip | |
2004-03-31 08:02 | anonymous | Note Added: 0003542 | |
2004-03-31 08:25 |
|
Note Added: 0003543 | |
2004-04-01 08:10 | anonymous | Note Added: 0003570 | |
2004-04-01 08:40 |
|
File Deleted: JvDocking.zip | |
2004-04-01 08:44 |
|
File Added: JvDocking.zip | |
2004-04-01 08:46 |
|
Note Added: 0003572 | |
2004-04-01 09:04 |
|
Note Added: 0003574 | |
2004-04-01 09:43 | anonymous | Note Added: 0003575 | |
2004-04-01 11:32 |
|
Status | feedback => resolved |
2004-04-01 11:32 |
|
Resolution | reopened => fixed |
2004-04-01 11:32 |
|
Note Added: 0003576 |