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

Bug 333858

Summary: ToolItem in Chrome 8 and RAP 1.4 does not work
Product: [RT] RAP Reporter: Nobody - feel free to take it <nobody>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Nobody - feel free to take it CLA 2011-01-10 07:06:44 EST
Build Identifier: 1.4 M4

I am using chrome 8.0.552.224.
After an upgrade from the latest 1.3 release to 1.4 M4, the ToolItem invalidates the session. Similar behavior is also described in bugs 326123 and 331419.

With Firefox it works fine.

Since I have the problem after a RAP upgrade, i assume that it is also a RAP problem.

Reproducible: Always

Steps to Reproduce:
public class ToolTipBug implements IApplication {

	public Object start(final IApplicationContext context) throws Exception {
		Display display = PlatformUI.createDisplay();
		Shell shell = new Shell(display);
		shell.setLayout(new GridLayout());
		ToolBar toolBar = new ToolBar(shell, SWT.FLAT);
		ToolItem toolItem = new ToolItem(toolBar, SWT.FLAT);
		toolItem.setText("clickme");
		shell.setVisible(true);
		shell.pack();
		
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch())
				display.sleep();
		}
		return IApplication.EXIT_OK;
	}

	public void stop() {
	}

}
Comment 1 Ivan Furnadjiev CLA 2011-01-10 08:04:35 EST
.

*** This bug has been marked as a duplicate of bug 301236 ***