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?
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: PanelController .cpp: // FIXME(loicm): Several objects created here are leaked.
unity/src/
Are we all just seeing side-effects of said leaks?