Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356161 - ToggleButtonRidget does not show correct selection, when set to outputonly
Summary: ToggleButtonRidget does not show correct selection, when set to outputonly
Status: NEW
Alias: None
Product: Riena
Classification: RT
Component: ridget (show other bugs)
Version: 4.0.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-30 03:05 EDT by Steffen Kriese CLA
Modified: 2011-08-30 03:08 EDT (History)
0 users

See Also:


Attachments
Patch for the SWT ExampleClient to reproduce the bug (1.92 KB, patch)
2011-08-30 03:08 EDT, Steffen Kriese CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Kriese CLA 2011-08-30 03:05:18 EDT
Example:

- myToggleBUttonRidget.setSelection(true);
- myToggleBUttonRidget.setOutputOnly(true);

result: visual appearance is correct!

- myToggleBUttonRidget.setSelection(false);

result: ToggleButton is outputonly, but still shows the selection.
Comment 1 Steffen Kriese CLA 2011-08-30 03:08:18 EDT
Created attachment 202386 [details]
Patch for the SWT ExampleClient to reproduce the bug

Steps to reproduce:
- Apply the patch
- Start the SWT ExampleClient
- Go to Playground => Marker
- Check the option "outputonly"
- Click the Button on the bottom "toggle checkbox selection"