| Summary: | Cocoa:Combo.setListVisible not working on cocoa | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Lakshmi P Shanmugam <lshanmug> |
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | Lakshmi P Shanmugam <lshanmug> |
| Severity: | normal | ||
| Priority: | P3 | CC: | christoph.zauner, grant_gayed, lshanmug, mseele, patrick |
| Version: | 3.6 | Keywords: | triaged |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | stalebug | ||
This defect is causing us some pain. Is there any chance a fix could be included in the 3.7.1 release? Not sure about 3.7.1, but updating QA contact. Bug triaged, visit https://wiki.eclipse.org/SWT/Devel/Triage for more information. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
Build id: I20100126-0800 Combo.setListVisible(true) doesn't show the drop-down list. For READ_ONLY combo it changes the selection, but after the call to setListVisible() the Combo list items can't be selected. testcase: public class Snippet { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout()); final Combo combo = new Combo(shell, SWT.READ_ONLY); combo.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); combo.setText("Here is some text"); combo.add("abc"); combo.add("efg"); combo.add("iii"); Button button = new Button(shell, SWT.PUSH); button.setText("show"); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { combo.setListVisible(true); } }); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }