You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Rangi Keen (JIRA)" <ji...@apache.org> on 2018/12/26 21:29:00 UTC
[jira] [Created] (NETBEANS-1833) Typeahead selection in comboboxes
only works when using lower case
Rangi Keen created NETBEANS-1833:
------------------------------------
Summary: Typeahead selection in comboboxes only works when using lower case
Key: NETBEANS-1833
URL: https://issues.apache.org/jira/browse/NETBEANS-1833
Project: NetBeans
Issue Type: Bug
Components: platform - Property Editors
Affects Versions: 9.0, 8.2
Reporter: Rangi Keen
Attachments: Typeahead.patch
In any combobox edited property, if any of the items contain upper case letters, typing the value in the property sheet will not match them unless you use all lowercase letters.
As a specific example:
# Create a new JFrame form in NetBeans
# Select the cursor property. Note that the options all start with an upper case letter.
# Start typing the text of an unselected value using an upper case letter (e.g. start typing "Wait Cursor").
Note that the "Wait Cursor" item will not be selected. However, if you type "wait cursor" in lower case, the "Wait Cursor" item will be selected.
Additionally, when an item is already selected in the middle of the list, typing a value should match items after that point. For example, in the cursor property example, if "Wait Cursor" is currently selected, typing "north" should match "Northwest Resize Cursor" because it follows "Wait Cursor" but it instead matches "North Resize Cursor" which comes before "Wait Cursor". This behavior would then match that implemented in standard combo box type-ahead matching (see {{javax.swing.JComboBox.DefaultKeySelectionManager.selectionForKey}}).
See [^Typeahead.patch] for a possible update.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists