! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
XFce4-panel crashes when trying to access non-existing launchers menu
Status:
CLOSED: FIXED
Severity:
critical
Product:
Xfce4-panel

Comments

Description imre.lorvi 2003-12-06 14:36:35 CET
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.
Comment 1 imre.lorvi 2003-12-06 14:36:37 CET
Additional information:

I found this bug in 4.0.0, but it appers also in 4.0.1
Comment 2 Olivier Fourdan editbugs 2003-12-06 14:49:27 CET
Both crash confirmed.

Olivier.
Comment 3 imre.lorvi 2003-12-06 15:05:44 CET
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...
Comment 4 Jasper Huijsmans editbugs 2003-12-06 16:09:07 CET
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;
Comment 5 Jasper Huijsmans editbugs 2003-12-23 13:13:37 CET
fixed in 4.0.2

Bug #32

Reported by:
imre.lorvi
Reported on: 2003-12-06
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
Unspecified

Attachments

Additional information