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

Bug 417808

Summary: Mnemonic behaviour for disabled controls
Product: [RT] RAP Reporter: Stefan Milchram <stefan.milchram>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: tbuschto
Version: 2.1   
Target Milestone: 2.2 M2   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
SWT and RWT-snippet none

Description Stefan Milchram CLA 2013-09-23 07:14:59 EDT
Created attachment 235713 [details]
SWT and RWT-snippet

Mnmenoic behaviour for diabled controls is different in RWT:

When 2 buttons share the same mnemonic the first wins (this works in RWT as in SWT).
If the first button gets disabled the second one will win in SWT -> in RWT nothing happens.

Snippet with SWT (snippet-class inside the zip) and RWT-snippet (project inside the zip) is attached.
Comment 1 Tim Buschtoens CLA 2013-09-24 09:24:59 EDT
Fixed with commit df1d526371e1efbfc9071d59c06b615fbbd401de. MnemonicHandler no longer dispatches trigger events to disabled widgets.