ErlBerlMerl / vwkvasdopager

Automatically exported from code.google.com/p/vwkvasdopager
0 stars 0 forks source link

GDI Objects leak in tooltip code #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open the task manager and look at the "GDI Objects" column for the 
vwKvasdoPager under the process tab.
2. Move the mouse over the pager to make tooltips appear and disappear.
3. Observe the number of "GDI Objects" increase in the task manager.

What is the expected output? What do you see instead?

The number of used GDI handles should stay stable.

What version of the product are you using? On what operating system?

SVN HEAD (r10) under Windows 7

Original issue reported on code.google.com by alexandre.jasmin on 26 Jun 2010 at 10:30

GoogleCodeExporter commented 8 years ago
A GDI device context obtained through GetWindowDC() in tooltipUpdate() is never 
released.

Attaching a patch that fixes this.

Original comment by alexandre.jasmin on 26 Jun 2010 at 10:41

Attachments:

GoogleCodeExporter commented 8 years ago
Oops! Previous patch was a "context diff". Resubmitting in unified diff format.

Original comment by alexandre.jasmin on 26 Jun 2010 at 10:59

Attachments:

GoogleCodeExporter commented 8 years ago
patch is applied, issue closed

Original comment by kvasdo...@gmail.com on 17 Jul 2010 at 2:22