View Issue Details

IDProjectCategoryView StatusLast Update
0005850JEDI VCL00 JVCL Componentspublic2015-09-21 17:47
ReporteraltaveronAssigned ToAHUser 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.49 
Summary0005850: Incorrect fix of the issue "Mantis 5818" in JvDBGrid.pas
DescriptionThe is a fix in JvDBGrid.pas:

  // Mantis 5818: the inherited code sometimes gives an invalid index for the column
  if Index > FirstVisibleColumn + VisibleColCount then
    Index := FirstVisibleColumn + VisibleColCount;

But this code doesn't help me. The working code is:

  // Store the column index to resize.
  FResizeColumnIndex := Index;
  if dgIndicator in Options then
    FResizeColumnIndex := FResizeColumnIndex - 1;

Please correct the issue fix.
TagsNo tags attached.

Activities

obones

2012-06-11 17:26

administrator   ~0019848

Please provide the zipped sources of a sample application showing this.

altaveron

2013-02-25 01:13

reporter   ~0020444

Please just fix it. Our application have millions lines of code. The issue presents on the last version.

altaveron

2013-02-25 01:25

reporter   ~0020445

The following line:

  FResizeColumnIndex := Index - 1;

Should be replaced by:

  // Store the column index to resize.
  FResizeColumnIndex := Index;
  if dgIndicator in Options then
    FResizeColumnIndex := FResizeColumnIndex - 1;

altaveron

2013-03-27 18:41

reporter   ~0020456

Why the issue has 'feedback' status and no answers?

AHUser

2013-05-25 15:25

developer   ~0020507

Fixed in svn revision 13517.

Issue History

Date Modified Username Field Change
2012-04-12 16:43 altaveron New Issue
2012-06-11 17:26 obones Note Added: 0019848
2012-06-11 17:26 obones Status new => feedback
2013-02-25 01:13 altaveron Note Added: 0020444
2013-02-25 01:25 altaveron Note Added: 0020445
2013-03-27 18:41 altaveron Note Added: 0020456
2013-05-25 15:25 AHUser Note Added: 0020507
2013-05-25 15:25 AHUser Status feedback => resolved
2013-05-25 15:25 AHUser Fixed in Version => Daily / SVN
2013-05-25 15:25 AHUser Resolution open => fixed
2013-05-25 15:25 AHUser Assigned To => AHUser
2015-09-21 17:47 obones Fixed in Version Daily / GIT => 3.49