There is two ways to crash the panel: You need a laucher and a menu attached to it. 1) Left-click and then before menu occures right-click on launcher so that two menus appers at the same time. After removing launcher the other menu stills stays open and will crash the panel if you are trying to add new launcher to it. 2) You need at least one item on menu, so that you can undoc the menu from launcher. After removing launcher the undocked menu stays open and accessing to it's items or trying to close it will crash panel.
Additional information: I found this bug in 4.0.0, but it appers also in 4.0.1
Both crash confirmed. Olivier.
in first case you should click on laucher and hold down you'r left mouse button(not just click on it) and then right click on it...
This should fix both issues. Please reopen if it doesn't. Index: panel/popup.c =================================================================== RCS file: /var/cvs/xfce/xfce4/xfce4-panel/panel/popup.c,v retrieving revision 1.40 diff -u -r1.40 popup.c --- panel/popup.c 3 Sep 2003 21:23:48 -0000 1.40 +++ panel/popup.c 6 Dec 2003 16:03:48 -0000 @@ -490,6 +490,8 @@ /* only items contain non-gtk elements to be freed */ GList *li; + gtk_widget_destroy (pp->window); + for (li = pp->items; li && li->data; li = li->next) { Item *mi = li->data;
fixed in 4.0.2