Jenkins closes/saves the project configuration if the user presses RETURN in a text field. If the text field has a Jenkins provided auto-completion (or an auto-completion of a browsers like Firefox) then Jenkins also saves the configuration upon selecting a value in the auto-completion list. This is irritating since the user does not expect that a dialog will be closed due to a selection in a list. Either provide a new shortcut to close/save a dialog (as it is done in Jira using ALT-S) or provide a special handling for ENTER if there is a auto-completion in progress.
Old Issue description:
Under the build triggers block in the job configuration if you check off "Build after other projects are built" and start typing a project name, the auto complete box that offers possible suggestions for jobs you want to set as triggers does not respond to the enter key.
For example I type test, it tells me available jobs are test-1 and test-2, I use the arrow key to scroll down to test-1 and press enter it will save and exit the configuration rather than select test-1 because the enter key is still tied to the save button.
*Also I believe that Projects names is a grammatical error, and should instead be Project names.
[JENKINS-9597] Autocomplete box in text boxes is not selectable using the enter key
Fix Version/s | New: current [ 10162 ] | |
Assignee | New: Drew Repasky [ drew ] | |
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Resolution | Original: Not A Defect [ 7 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Summary | Original: Autocomplete box under Projects names is not selectable using the enter key | New: Autocomplete box in text boxes is not selectable using the enter key |
Description |
Original:
Under the build triggers block in the job configuration if you check off "Build after other projects are built" and start typing a project name, the auto complete box that offers possible suggestions for jobs you want to set as triggers does not respond to the enter key. For example I type test, it tells me available jobs are test-1 and test-2, I use the arrow key to scroll down to test-1 and press enter it will save and exit the configuration rather than select test-1 because the enter key is still tied to the save button. *Also I believe that Projects names is a grammatical error, and should instead be Project names. |
New:
Jenkins closes/saves the project configuration if the user presses RETURN in a text field. If the text field has a Jenkins provided auto-completion (or an auto-completion of a browsers like Firefox) then Jenkins also saves the configuration upon selecting a value in the auto-completion list. This is irritating since the user does not expect that a dialog will be closed due to a selection in a list. Either provide a new shortcut to close/save a dialog (as it is done in Jira using ALT-S) or provide a special handling for ENTER if there is a auto-completion in progress. Old Issue description: Under the build triggers block in the job configuration if you check off "Build after other projects are built" and start typing a project name, the auto complete box that offers possible suggestions for jobs you want to set as triggers does not respond to the enter key. For example I type test, it tells me available jobs are test-1 and test-2, I use the arrow key to scroll down to test-1 and press enter it will save and exit the configuration rather than select test-1 because the enter key is still tied to the save button. *Also I believe that Projects names is a grammatical error, and should instead be Project names. |
Assignee | Original: Drew Repasky [ drew ] |
This is probably not a bug – I confirmed the described behavior in Firefox 3.6.12 and 5.0, but I would guess that it is intentional.
The Enter key in the "Configure Job" webform will trigger a form submit, and will result in any changes being saved (unless you are in a Textarea field such as Description). This is nice because you won't need to scroll or tab all the way down to the Save button to make a quick change to a job.
The behavior you want can be accomplished by using the Tab key. Just start typing to get some suggestions from the YUI Autocomplete mechanism, then use the arrows to select one, then tab to move to the next field without saving.