WARNING: TDBGrid.Destroy with LCLRefCount> 0.

4 posts / 0 new
Last post
ik0dwj
WARNING: TDBGrid.Destroy with LCLRefCount> 0.

Hi!

I already thought cqrlog 2.5.2 was finally the best version of all time.
When today, I accidentally right-clicked on the empty QSO list, in the main "New QSO" window,
the following warning appears:
"Press Ok for ignore and risk data corruption. Press Abort to kill the program".
This only happens if the "Show recent QSO records for the last XX days" option is not
selected in Preferences -> New QSO.
If instead I select this option the problem is solved.

While debugging I isolated this line which I think is interesting:

[CUT]
WARNING: TDBGrid.Destroy with LCLRefCount> 0. Tip: Maybe the component is processing an event?
[CUT]

73

oh1kh
WARNING: TDBGrid.Destroy with LCLRefCount> 0.

Confirmed!
Thanks for reporting.
How ever the main info is not "Press OK for ..." but the above line (that at least I have here):
qQSOBefore: Field not found: "eqsl_qsl_rcvd"

And it seems not to be depended on "Show recent QSO records for the last XX days". I get it always.
Do you have old qsos visible when you select "Show recent QSO records for the last XX days"? I do not have and maybe the error is depended on empty qso list.

How ever I put it on check list.
Thank you!

--
Saku
OH1KH

oh1kh
WARNING: TDBGrid.Destroy with LCLRefCount> 0.

There was clear bug.
Thanks for finding !

Now, if recent qso list is empty right click brings up pop up menu where all items are grayed out.
Pull request "Fix for show recent qsos before popup #402"

--
Saku
OH1KH

ik0dwj
WARNING: TDBGrid.Destroy with LCLRefCount> 0.

Thank you so much Saku for the time you spend on cqrlog.

73

--
Giuseppe
IKØDWJ