View Issue Details

IDProjectCategoryView StatusLast Update
0003424JEDI VCL00 JVCL Componentspublic2006-04-05 01:24
ReportermrieppAssigned Toobones 
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
PlatformBDS 2006OSWindowsOS VersionXP SP2
Product Version3.00 
Target VersionFixed in Version3.30 
Summary0003424: JvInspector hangs if EditCtrl is active
Descriptionthe Application hangs if EditCtrl is active.
Resolve the Problem with:

Update Sourcecode at:

procedure TJvCustomInspector.Notification(AComponent: TComponent; Operation: TOperation);
begin
// Bugfix Michael Riepp 08.01.2006
  inherited Notification(AComponent,Operation); // Add this line
// Bugfix
if (Operation = opRemove) and (AComponent = Painter) then
    FPainter := nil;
end;

Steps To ReproduceActivate Editing a Inspectoritem
then Call JVInspector1.Clear
or terminate the Application.
Hang.
TagsNo tags attached.

Activities

obones

2006-01-08 06:26

administrator   ~0008328

I can't reproduce this with the latest CVS and the JvInspector demo.
Can you post the zipped sources of a sample application showing the problem?

mriepp

2006-01-08 23:09

reporter   ~0008355

Last edited: 2006-01-09 03:10

I used the InspExample Project from the JVCL-Examples.

- Compile and run InspExample.exe
- First click on 'Marcel' in the "Various tests"-Section.
  The Editor is now active
- Then try to select the next Item 'Copy of initial'
- The Application hangs.

After testing with the Debugger, you can see that on destroying the FEditCtrl
it will stay in a not ending loop of calling notification-procedure.

The Changes of the sourcecode, i have made, resolves the problem.

DELPHI7: **** There ist no Problem ******
BDS 2006: There is the Problem.

in Delphi8 - Delphi 2005 not tested

mriepp

2006-01-15 23:15

reporter   ~0008392

Reminder sent to: ceditmx

Please read my note.

I have testet with Delphi 7 and BDS 2006
With Delphi 7 it is all ok. no problem.
But the Example-Application hangs with BDS 2006.

In Delphi 7 the the Notification is deleted before the procedure-call is made. In BDS 2006 it is made in a inherited notification-procedure.

obones

2006-04-04 07:30

administrator   ~0008901

Thanks, this is now ready to be put in CVS and will be as soon as it is back online.

obones

2006-04-05 01:24

administrator   ~0008946

This is now in CVS

Issue History

Date Modified Username Field Change
2006-01-08 05:07 mriepp New Issue
2006-01-08 06:26 obones Note Added: 0008328
2006-01-08 06:26 obones Status new => feedback
2006-01-08 23:09 mriepp Note Added: 0008355
2006-01-09 03:10 mriepp Note Edited: 0008355
2006-01-15 23:15 mriepp Note Added: 0008392
2006-04-04 07:30 obones Note Added: 0008901
2006-04-04 07:30 obones Status feedback => confirmed
2006-04-05 01:24 obones Status confirmed => resolved
2006-04-05 01:24 obones Resolution open => fixed
2006-04-05 01:24 obones Assigned To => obones
2006-04-05 01:24 obones Note Added: 0008946