View Issue Details

IDProjectCategoryView StatusLast Update
0004036JEDI VCL00 JVCL Componentspublic2007-10-12 04:24
ReporterWerewolfAssigned Toobones 
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionwon't fix 
Platformx86OSWindowsOS VersionXP+SP2
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0004036: TJvCaptionButton does not destroy ToolTip window as expected
DescriptionTJvCaptionButton does not destroy ToolTip GDI window resource
Steps To ReproduceUse MemProof utility by Atanas Stoyanov
(url http://www.automatedqa.com/downloads/memproof/ )
on test application uploaded
Additional InformationPatch for solving this issue is uploaded
TagsNo tags attached.

Activities

2007-01-15 03:48

 

JvCaptionButtonTest.rar (3,046 bytes)

2007-01-15 03:48

 

JvCaptionButton.patch (490 bytes)
Index: JvCaptionButton.pas
===================================================================
--- JvCaptionButton.pas	(revision 11075)
+++ JvCaptionButton.pas	(working copy)
@@ -2683,6 +2683,11 @@
         // FToolTipHandle is automatically destroyed when ParentForm handle is destroyed.
         FToolTipHandle := 0;
       end;
+    WM_CLOSE:
+    begin
+      Result := False;
+      DestroyToolTip;
+    end;
     WM_NOTIFY:
       Result := HandleNotify(TWMNotify(Msg));
   else
JvCaptionButton.patch (490 bytes)

obones

2007-01-27 12:24

administrator   ~0010679

Why is this needed?
There is a comment just above saying that the ToolTip is destroyed when the parent form is closed. Shouldn't that cover it then?

Werewolf

2007-02-12 09:26

reporter   ~0010785

It stays untouched as to me.

obones

2007-06-19 07:20

administrator   ~0013445

Can you explain a bit more? I don't understand the issue very well.

obones

2007-10-12 04:23

administrator   ~0013899

No answers, things look good to me, no action will be taken right now.

Issue History

Date Modified Username Field Change
2007-01-15 03:48 Werewolf New Issue
2007-01-15 03:48 Werewolf File Added: JvCaptionButtonTest.rar
2007-01-15 03:48 Werewolf File Added: JvCaptionButton.patch
2007-01-27 12:24 obones Note Added: 0010679
2007-01-27 12:24 obones Status new => feedback
2007-02-12 09:26 Werewolf Note Added: 0010785
2007-06-19 07:20 obones Note Added: 0013445
2007-10-12 04:23 obones Status feedback => resolved
2007-10-12 04:23 obones Resolution open => won't fix
2007-10-12 04:23 obones Assigned To => obones
2007-10-12 04:23 obones Note Added: 0013899