Project: Eclipse_Platform_UI
Bug 294210 [Contributions] 'Customize Perspective > Tool Bar Visibility' breaks with Separator
Reported: 2009-11-04 10:28:09 | Status: verified fixed

I20091103-0941 - enable Preferences > General Editors > Close editors automatically - open an editor - open Customize Perspective dialog - expand 'Navigate' => second to last item is empty (it's the separator in front of the 'Pin' action) - hover over the empty item => log entry below The separator should either not be shown (like in Menu Visibility), or it should be rendered with a label and a proper hover. !ENTRY org.eclipse.ui 4 0 2009-11-04 16:28:09.730 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.IllegalArgumentException: Argument cannot be null at org.eclipse.swt.SWT.error(SWT.java:4012) at org.eclipse.swt.SWT.error(SWT.java:3946) at org.eclipse.swt.SWT.error(SWT.java:3917) at org.eclipse.swt.widgets.Widget.error(Widget.java:463) at org.eclipse.swt.widgets.Label.setText(Label.java:388) at org.eclipse.ui.internal.dialogs.CustomizePerspectiveDialog$NameAndDescriptionToolTip.createEntry(CustomizePerspectiveDialog.java:758) at org.eclipse.ui.internal.dialogs.CustomizePerspectiveDialog$NameAndDescriptionToolTip.createToolTipContentArea(CustomizePerspectiveDialog.ja va:708) at org.eclipse.jface.window.ToolTip.toolTipShow(ToolTip.java:363) at org.eclipse.jface.window.ToolTip.toolTipOpen(ToolTip.java:530) at org.eclipse.jface.window.ToolTip.toolTipCreate(ToolTip.java:352) at org.eclipse.jface.window.ToolTip.access$2(ToolTip.java:346) at org.eclipse.jface.window.ToolTip$ToolTipOwnerControlListener.handleEvent(ToolTip.java:678) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3917) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3510) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.WorkbenchPage.editActionSets(WorkbenchPage.java:1875) at org.eclipse.ui.internal.handlers.EditActionSetsHandler.execute(EditActionSetsHandler.java:41) ...

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/CustomizePerspectiveDialog.java