Comment 8 for bug 769957

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Unity panel turns black and/or corrupt when toggling Compiz plugins

Sorry, a more accurate way to count the number of Unity panels running is something like this:
for i in `xwininfo -root -children | awk '/^ *0x/ {print $1}'`; do xwininfo -id $i -all | grep '"panel"'; done

When the panel is corrupt, you can see many matches. But I think there should only be one. The same goes for when you replace "panel" with "launcher" in the above command. It appears both are being leaked by the Unity plugin.

As it happens, Loic put a comment in the relevant code acknowledging a leak was present:
unity/src/PanelController.cpp: // FIXME(loicm): Several objects created here are leaked.

Are we all just seeing side-effects of said leaks?