Community
Participate
Working Groups
Pressing enter in the search text widget causes the *Next* button to be pressed on the discovery wizard. Intuitively I expect for enter to cause a search to occur instead. This can be resolved by adding a TraverseListener to the search text widget, reacting to events with @e.keyCode == SWT.TRAVERSE_RETURN@ and setting @e.doit = false@. The listener should also call @filterTextChanged()@
Created attachment 166870 [details] mylyn/context/zip
Created attachment 167839 [details] adds traverse listener
The patch adds a traverse listener to handle the enter key if the discovery viewer is not in automatic search mode. David, please check if that fixes the described problem.
The patch is great. +1
The patch looks good to me and having the ability to press enter in the search field seems very important for usability.
Thanks. Released.