Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 474245

Summary: Clicking local search buttons affects keybindings
Product: [ECD] Orion Reporter: Jefferson Lam <jwlam>
Component: ClientAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Silenio_Quarti
Version: unspecified   
Target Milestone: 10.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Gif showing button and keybinding behavior none

Description Jefferson Lam CLA 2015-08-04 11:48:33 EDT
Created attachment 255620 [details]
Gif showing button and keybinding behavior

1. Open Orion
2. Open a file
3. Search for something
4. Click the `Next` button in the search dialog
5. Press `Shift + Enter`
6. [BUG] Selection moves to next result on the page
7. Click the 'Previous' button in the search dialog
8. Press `Enter`
9. [BUG] Selection moves to the previous result on the page

It looks like when you click on the Next/Previous buttons, the window focuses on whichever button you clicked. From there, if you press `Enter` or `Shift + Enter`, it will activate whichever button you had just clicked. 

Recommendation: `Enter` will always advance to the next selection on the page, and `Shift+Enter` will always advance to the previous selection on the page, regardless of whether you clicked on the Next or Previous buttons.