Community
Participate
Working Groups
This happens only on MacOS for select of writable combo when it is intermixed with setText and index is equal to the earlier selectionIndex. Take the following snippet, it sets "Item 1" on Windows, Linux but keeps "Item 5" on MacOS. Combo c = new Combo(s, SWT.None); String items[] = { "Item 1", "Item 2", "Item 3", "Item 4"}; c.setItems(items); c.select(0); c.setText("Item 5"); c.select(0); If the last statement is changed to "c.select(1)" then combo sets "Item 2" on Mac OS as well. I tested this on Oxygen and Photon and the behavior is the same.
I'm able to reproduce the problem on 4.10.
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.