Issue Details (XML | Word | Printable)

Key: GLAZEDLISTS-469
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: jessewilson
Reporter: cbare
Votes: 3
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
glazedlists

AutoCompleteSupport: Arrowing down on the popup and pressing enter fails to update combobox

Created: 15/Mar/09 01:17 PM   Updated: 17/Mar/09 01:15 PM
Component/s: swing
Affects Version/s: current
Fix Version/s: milestone 1

Time Tracking:
Not Specified

Environment:

Operating System: Mac OS X
Platform: Macintosh


Issuezilla Id: 469
Tags:
Participants: cbare and jessewilson


 Description  « Hide

I have a swing app with a JComboBox. I install AutoCompleteSupport using an EventList populated with
"Monkey", "Moose", "Mouse", ... and other entries. I type "mo" into the combobox, with the intention of
selecting "Moose". "Monkey" appears in the text area of the combobox, because that's the first match
for "mo". So far, so good. Then, I press the down arrow to open the popup. "Monkey" is selected.
Pressing down arrow again highlights "Moose". I hit enter, expecting "Moose" to be placed in the text
part of the combobox, but that doesn't happen. It remains "Monkey"

I suspect this is another issue of OS X UI.

I'll try it out on a windows box later. Source code to reproduce the issue is follows. I made a little
screencast to show you what I mean here: http://www.screencast.com/t/0KHdgUDWt, in which I also
talk about GLAZEDLISTS-458.

Thanks for the good work!



cbare added a comment - 17/Mar/09 01:15 PM

I verified that this bug does not appear running in windows with either of these versions of Java:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)

The bug does appear under OSX with either of these versions of Java:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)