gma500 team mailing list archive
-
gma500 team
-
Mailing list archive
-
Message #00704
[Bug 1157209] Re: Memory leak in drawing
** Also affects: unico
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of GMA500
Team, which is subscribed to Unico.
https://bugs.launchpad.net/bugs/1157209
Title:
Memory leak in drawing
Status in Light Themes:
New
Status in The Unico Gtk+ Theming Engine:
New
Bug description:
If I use the Ambience theme, my application leaks memory.
This happens is a custom Widget derrived from a GtkProgressBar is used, which defines it's own height.
If I use the test program with Adwaita theme there is no such issue.
Derrived widget in Vala code:
-----
using Gtk;
private class CustomProgress : ProgressBar {
public override void get_preferred_height(out int minimum_height, out int natural_height) {
minimum_height = natural_height = 8;
}
}
-----
The leaking happens during rendering after the progress bar's fraction
has been set. Issue come up in gtk_render_background(),
gtk_render_frame() and gtk_render_activity().
Attached test case
To manage notifications about this bug go to:
https://bugs.launchpad.net/light-themes/+bug/1157209/+subscriptions