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

Bug 371726

Summary: A theme contribution for one application affects the other
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P2    
Version: 1.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Ivan Furnadjiev CLA 2012-02-16 06:14:53 EST
Steps to reproduce:
1. Add org.eclipse.rap.examples and org.eclipse.rap.examples.pages to the Controls Demo launch configuration.
2. Start the Control Demo as usual - the theme contribution from the Examples Demo affects the Controls Demo.
Comment 1 Ralf Sternberg CLA 2012-02-23 08:15:46 EST
I don't see the problem. Controls demo and examples demo are two entrypoints of the same application. The theme has application scope. We would have a problem if a theme contribution would affect other applications, but this is not the case with the demos.

BTW, Nick is about to fix the theme contribution for the examples demo to use only custom variants, so that it will not affect the controls demo anymore. Generally, a theme contribution should define custom variants to prevent messing up other entrypoints.
Comment 2 Ivan Furnadjiev CLA 2012-02-29 06:49:54 EST
(In reply to comment #1)
> I don't see the problem. Controls demo and examples demo are two entrypoints of
> the same application. The theme has application scope. We would have a problem
> if a theme contribution would affect other applications, but this is not the
> case with the demos.
Agree. Closed as INVALID.