Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006479 [JEDI VCL] 00 JVCL Components major always 2015-12-10 15:26 2015-12-10 19:34
Reporter Arioch View Status public  
Assigned To AHUser
Priority normal Resolution fixed  
Status resolved   Product Version Daily / GIT
Summary 0006479: Crash in TDataSet due to bug in TJvDbGrid
Description i somewhat frozen at 2013 GIT version with few fixes.
But for what i can see there was no change for it.

In some conditions JvDbGrid might cause AV in TDataSet

Bug is attempt to recreate the control when there is none and when the dataset is in process of being closed.

Line 4115 TJvDBGrid.DoAutoSizeColumns
https://github.com/project-jedi/jvcl/blob/master/jvcl/run/JvDBGrid.pas [^]

Proposed fix: insert there: "if WindowHandle = 0 then exit;"
Additional Information The proposed fix avoids fitting columns until the grid is visualized normal way.
And anyway, there is just no point to o on with complex and heavy autofitting when there is no real window created yet!
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0021249)
AHUser (developer)
2015-12-10 19:34

Fixed in master branch.

I added that while csLoading is set, the method is also skipped, what reduces the amount of unnecessary work.

- Issue History
Date Modified Username Field Change
2015-12-10 15:26 Arioch New Issue
2015-12-10 19:34 AHUser Note Added: 0021249
2015-12-10 19:34 AHUser Status new => resolved
2015-12-10 19:34 AHUser Fixed in Version => Daily / GIT
2015-12-10 19:34 AHUser Resolution open => fixed
2015-12-10 19:34 AHUser Assigned To => AHUser


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker