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

Bug 403612

Summary: [Combo] Hitting Esc key when a combo has the focus does not close the dialog
Product: [RT] RAP Reporter: Sebastien Arod <sebastien.arod>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.1 M2   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
A snippet project showing the problems none

Description Sebastien Arod CLA 2013-03-18 06:41:07 EDT
Created attachment 228559 [details]
A snippet project showing the problems

When a dialog or wizard is opened hitting Esc key generally closes the shell which is the expected behavior.
However if a combo has the focus the hitting esc key will not close the dialog.

Reproducible case:
* Using the attached snippet
* Launch the BugSnippet EntryPoint
* Clock the button to open the dialog
* In the dialog put the focus on the combo. 
* Hit escape
=> The dialog won't close

As a wild guess I would say the issue is probably linked to the fact that the combo catches the esc key to be able to close the combo when expanded.
Comment 1 Ivan Furnadjiev CLA 2013-03-18 09:05:09 EDT
Reproducible with Workbench Demo -> Preferences dialog.
Comment 2 Ivan Furnadjiev CLA 2013-03-21 07:07:45 EDT
Fixed in master with commit 11f8ba0f77538537e701433950b4802193f03a96.