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

Bug 311353

Summary: Single/MultipleChoiceRidget - stays empty when used with CompositeTable
Product: [RT] Riena Reporter: Christian Campo <christian.campo>
Component: demo & examplesAssignee: Elias Volanakis <elias>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: thorsten.schenkel
Version: unspecified   
Target Milestone: 2.0.0.RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
screenshot after pressing delete
none
screenshot after scrolling none

Description Christian Campo CLA 2010-05-03 07:28:08 EDT
I played around with the CompositeTable example in the example playground. When I clicked the Delete button I expected that the row I was in is deleted. Strange enough of the three columns, the two right ones are now shown empty.

Is that the intended behaviour ?
Comment 1 Christian Campo CLA 2010-05-03 07:29:45 EDT
It seems a redraw problem. When I screen up, it shows column 2 and 3 for the first row.
Comment 2 Christian Campo CLA 2010-05-03 07:30:30 EDT
Created attachment 166766 [details]
screenshot after pressing delete
Comment 3 Christian Campo CLA 2010-05-03 07:31:08 EDT
Created attachment 166767 [details]
screenshot after scrolling
Comment 4 Elias Volanakis CLA 2010-05-12 14:41:32 EDT
Reproducible. Investigating.
Comment 5 Elias Volanakis CLA 2010-05-12 16:45:46 EDT
The cause is was a change in Multiple/SingleChoiceRidget.

LNF_UPDATER.updateUIControlsAfterBind(control); was commented at the end of createChildren(). I have reenabled it. It causes the widget to re-layout itself which is necessary after adding content.

@Thorsten: if this creates any problem for you, let me know. I believe you had commented it out with the last commit to these files.