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

Bug 433182

Summary: [CTabFolder] Click on >> does not work
Product: [RT] RAP Reporter: Cho HyunJong <hangum>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 2.3   
Target Milestone: 2.3 M3   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
tabfolder sample none

Description Cho HyunJong CLA 2014-04-22 06:12:04 EDT
Screen to move the tab when you click the >> button that appears when the screen is narrow does not appear.

Test Version : rap-2.3.0-M2-20140311-0943
Test OS : MAC OS X
Test Browser : Chrome

Thanks RAP Team.

- Sample Code
public class BasicEntryPoint extends AbstractEntryPoint {

	@Override
	protected void createContents(Composite parent) {
		parent.setLayout(new GridLayout());

		final CTabFolder tabFolder = new CTabFolder(parent, SWT.BORDER);
	    tabFolder.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));

	    for (int i = 0; i < 10; i++) {
	      CTabItem item = new CTabItem(tabFolder, SWT.CLOSE);
	      item.setText("Item " + i);
	      Text text = new Text(tabFolder, SWT.MULTI | SWT.V_SCROLL | SWT.H_SCROLL);
	      text.setText("TabItem position is " + i);
	      item.setControl(text);
	    }

	}

}
Comment 1 Cho HyunJong CLA 2014-04-22 06:12:46 EDT
Created attachment 242176 [details]
tabfolder sample
Comment 2 Ivan Furnadjiev CLA 2014-04-23 02:42:36 EDT
Reproducible with Controls Demo -> CTabFolder tab. Click on chevron (>>) or tab item close button does not send notify operation if there is no listener attached. This regression has been introduced with change https://git.eclipse.org/r/#/c/22245/.
Comment 3 Cho HyunJong CLA 2014-04-23 04:35:57 EDT
Thanks~

고맙습니다.
Comment 4 Ivan Furnadjiev CLA 2014-04-23 04:52:58 EDT
Fixed in master with change https://git.eclipse.org/r/#/c/25389/.