Community
Participate
Working Groups
Reproduce: * Open the drop-down list on a Combo box * Note that the selection changes when hovering over the list * The Combo box selection (i.e. the string displayed in the text field) does not change * As an effect, the Combo text-field and the list may have different selections Expected: * The drop-down list should have the same hover effect as List * List elements should be selected by click or keyboard * The Combo-selection and the selected list element should be synchronized
If I remember correctly, this was done to respect the Windows combo behavior. I've just checked it with SWT Controls Demo under Windows and RAP Combo behaves exactly the same like in SWT - on mouse over the combo list selection changes.
On Windows, does the selection stay when the mouse cursor leaves the drop-down list?
Yes... it stays. And if you press Enter key, the hovered (selected) item text is shown into the text field (selection from the list is applied to the text field).
Ok, I see. On GTK, the selection also works like a hover effect. On mouse out, the drop-down list is deselected. So I guess, the hover effect may make sense. But what really puzzles me is this behavior: * Open the drop-down list * Hover over some item * Leave the drop-down list and click somewhere outside of it (drop-down closes) * Open the drop-down list again and find the item previously hovered still selected
Yes... your are right. On Windows when you open the drop-down list the initial selection is *always* on the current combo selection. In RAP it's not.
The issue from comment #4 is fixed in CVS HEAD.