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

Bug 395670

Summary: The Sash-Handle vanishes when setting a custom theme
Product: [RT] RAP Reporter: RĂ¼diger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description RĂ¼diger Herrmann CLA 2012-12-04 04:00:48 EST
The sash handle (dotted image) isn't visible any more after setting a custom theme. Though the theme does not explicitly style the Sash or any of its sub-components.

To reproduce, run an ApplicationConfiguration like this (the custom-theme.css is empty):
  public void configure( Application application ) {
    Map<String, String> properties = new HashMap<String, String>();
    properties.put( WebClient.THEME_ID, "foo" );
    application.addStyleSheet( "foo", "custom-theme.css" );
    ...
  }
Comment 1 Ralf Sternberg CLA 2012-12-05 05:36:32 EST
That's expected. The fallback theme does not define an image for the Sash. If you register an empty theme, you don't get the RAP default theme, but just a set of minimal fallback values.

If you want to extend the default theme, add a theme contribution to RWT.DEFAULT_THEME_ID.