| Summary: | Tabbing into a toolbar with all disabled items shows nothing | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Simon Arsenault <simon_arsenault> |
| Component: | SWT | Assignee: | Steve Northover <snorthov> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | Keywords: | usability |
| Version: | 2.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
|
Description
Simon Arsenault
Usability rather than accessibility issue Test code:
import org.eclipse.swt.*;
import org.eclipse.swt.widgets.*;
import org.eclipse.swt.layout.*;
public class PR_8302 {
public static void main (String [] args) {
Display display = new Display ();
Shell shell = new Shell (display);
shell.setLayout (new RowLayout ());
new Button (shell, SWT.PUSH).setText ("FRED");
ToolBar toolBar = new ToolBar (shell, SWT.FLAT);
for (int i=0; i<4; i++) {
ToolItem item = new ToolItem (toolBar, SWT.NONE);
item.setText ("Item " + i);
item.setEnabled (false);
}
shell.pack ();
shell.open ();
while (!shell.isDisposed()) {
if (!display.readAndDispatch ()) display.sleep ();
}
display.dispose ();
}
}
This has been fixed for a while. Should mark as WORKSFORME since it wasn't fixed for this bug #. WFM. |