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

Bug 422076

Summary: ENTER on TreeViewer in a dialog does not trigger IOpenListener
Product: [RT] RAP Reporter: Volker Althaus <v.althaus>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 2.1   
Target Milestone: 2.2 RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Sample Hello World application to show the bug (1.5 and 2.1) none

Description Volker Althaus CLA 2013-11-19 12:01:31 EST
Created attachment 237561 [details]
Sample Hello World application to show the bug (1.5 and 2.1)

Hello,
in RAP 2.1 the IOpenListener on a TreeViewer is not triggered by the ENTER key when the tree itself is contained in a dialog (a WizardDialog in my case).

In RAP 1.5 this worked well.

In the example application press the "Open Wizard" button. In the dialog
select one of the table rows and press ENTER. In RAP 1.5 a MessageBox appears, in RAP 2.1 the dialog only loses it's focus and nothing else happens.

I provide a 1.5 and a 2.1 version of the sample application in this bug report.

Regards
Comment 1 Ivan Furnadjiev CLA 2013-11-19 12:50:41 EST
When you press ENTER client sends selection event on *disabled* shell/wizard default button ( "Finish" ) instead of Tree.
Comment 2 Ivan Furnadjiev CLA 2013-11-19 13:08:57 EST
Mark as P2 as this is a regression.
Comment 3 Ivan Furnadjiev CLA 2013-11-20 04:32:34 EST
Fixed in master with commit 0ad64af399f646de2b9eb422e598eee006431e37.