Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-07

Unreleased GDIObjects in GTK1 widgetset

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

I am trying out the latest Lazarus Data Desktop application (included with Lazarus). I got the latest svn versions of FPC and Lazarus. It seems the LCL-GTK1 widgetset is not released or freeing all objects. This happens is more LCL-GTK1 based applications, so isn't specific to Lazarus Data Desktop.

The error message when the application quits:

------------------------------
graemeg at graemeg-laptop:/opt/lazarus_svn/tools/lazdatadesktop$ ./lazdatadesktop [TGtkWidgetSet.Destroy] WARNING: There are 2 unreleased GDIObjects, a detailed dump follows:
[TGtkWidgetSet.Destroy] GDIOs: B78B1220 B78B12E0 [TGtkWidgetSet.Destroy] gdiBitmap: 2
------------------------------

What's also weird is that it references GDI (GDIObject and gdiBitmap), but isn't GDI a Windows thing?? What's it got to do with a Linux GTK1 application?

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Mattias Gaertner
to Graeme Geldenhuys
Show quoted text 17 lines
Hi, I am trying out the latest Lazarus Data Desktop application (included with Lazarus). I got the latest svn versions of FPC and Lazarus. It seems the LCL-GTK1 widgetset is not released or freeing all objects. This happens is more LCL-GTK1 based applications, so isn't specific to Lazarus Data Desktop. The error message when the application quits: ------------------------------ graemeg at graemeg-laptop:/opt/lazarus_svn/tools/lazdatadesktop$ ./lazdatadesktop [TGtkWidgetSet.Destroy] WARNING: There are 2 unreleased GDIObjects, a detailed dump follows: [TGtkWidgetSet.Destroy] GDIOs: B78B1220 B78B12E0 [TGtkWidgetSet.Destroy] gdiBitmap: 2 ------------------------------

Please report the bug.

What's also weird is that it references GDI (GDIObject and gdiBitmap), but isn't GDI a Windows thing?? What's it got to do with a Linux GTK1 application?

It's the gtk implementation of the GDI handle object, that the SelectObject function of the LCL interface expects.

Mattias

Reply by email

Graeme Geldenhuys
to Mattias Gaertner
Mattias Gaertner wrote 9 lines
> ------------------------------ > graemeg at graemeg-laptop:/opt/lazarus_svn/tools/lazdatadesktop$ ./lazdatadesktop > [TGtkWidgetSet.Destroy] WARNING: There are 2 unreleased GDIObjects, a > detailed dump follows: > [TGtkWidgetSet.Destroy] GDIOs: B78B1220 B78B12E0 > [TGtkWidgetSet.Destroy] gdiBitmap: 2 > ------------------------------ Please report the bug.

Reported as:
http://bugs.freepascal.org/view.php?id=11651

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email