[Bug 162138] plasma leaks x resources (pixmap memory)

Daniel Winter dw at danielwinter.de
Mon Jun 2 20:16:51 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=162138         




------- Additional Comments From dw danielwinter de  2008-06-02 20:16 -------
I tried to find out what is causing this.

I found one leak which I could reproduce on nvidia with composite, on vesa without on Intel Graphics wihtout. But there must be more (while i think that some of them are only there with composite enabled).

The one I found ist in the Taskbar Applet.  On every redraw of an item in the taskbar it adds von pixmap to X with about 1-4 kilobyte each. (to reproduce just bring up two smaller windows on top of the screen and switch focus bitween them over and over again while looking at the output of xrestop)

If you disable the drawing of the icons of the taskbar items (in the source (windwstasbaritem.cpp  the m_icon.paint() call))   this leak is "fixed".  

The problem is m_icon is a QIcon so the bug is in QT?!?  Ok i do no know enough about that, so maybe else can use this information.





It stops


More information about the Panel-devel mailing list