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

Bug 269355

Summary: Behavioural Differences between RWT+SWT Radio-Buttons
Product: [RT] RAP Reporter: Stefan Hansel <stefan.hansel>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ivan
Version: 1.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Stefan Hansel CLA 2009-03-19 09:05:47 EDT
Tested against current CVS-HEAD.

1) -------------
In SWT, when a user clicks one radio-button, the previously selected radio-button is deselected.
Then two SelectionEvents are fired (one for the deselected radio-button, one for the new selected radio-button).

In RWT currently there is only one event for the new selection, but not 

2) -----------
In SWT, when 'setSelection()' on a radio-button is called, this doesn't deselect the other radio-buttons (don't know if that's a bug in SWT).
In RWT, setSelection() deselects the previously radio-button.
Comment 1 Ivan Furnadjiev CLA 2009-03-19 12:38:08 EDT
There was a bug 224872, but it is fixed in CVS HEAD. Are you sure that you are using the CVS HEAD and not the target M5?
Comment 2 Stefan Hansel CLA 2009-03-19 13:57:06 EDT
Damn - who invented OSGI and told everyone that it is supposed to be better ?

I had the target platform (M5) rwt-bundle activated as well. 

Both problems solved, thank you !