Memory leak in drawing

Bug #1157209 reported by shuerhaaken
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Unico
New
Undecided
Unassigned

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

Revision history for this message
shuerhaaken (shkn) wrote :
Revision history for this message
shuerhaaken (shkn) wrote :

This issue seems to affect Quantal, only.

Revision history for this message
István Szőllősi (szollosi-istv4n) wrote :

I have the same error, with xnoise music player application.
Commanly the memory useg is over than 500 ~ 600MB.

shuerhaaken (shkn)
no longer affects: light-themes
Revision history for this message
shuerhaaken (shkn) wrote :

Why isn't anybody answering this bug report?

Next time I should write it on a piece of paper and throw it out of the window. Same effect.

Disappointing

Revision history for this message
Vlad Orlov (monsta) wrote :

Is this bug still present in Trusty? I'm thinking of uploading unico to Debian repos (it has been removed due to a critical bug and the departure of the maintainer), and if this bug isn't fixed there's no point in doing it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.