Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316001 - CSS Styles not applied correctly the second time (switching via the ThemeManager)
Summary: CSS Styles not applied correctly the second time (switching via the ThemeMana...
Status: RESOLVED INVALID
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Bogdan Gheorghe CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-07 10:38 EDT by Lars Vogel CLA
Modified: 2012-09-18 14:31 EDT (History)
2 users (show)

See Also:


Attachments
Eclipse3.6-CSS (27.92 KB, application/x-zip-compressed)
2010-06-07 10:38 EDT, Lars Vogel CLA
no flags Details
New version of Example (27.96 KB, application/x-zip-compressed)
2010-06-07 10:59 EDT, Lars Vogel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2010-06-07 10:38:46 EDT
Created attachment 171274 [details]
Eclipse3.6-CSS

If I use the IThemeManager in Eclipse 3.6 the styling works not always. Have for example a look at the attached project. 

At startup is load Theme ID "de.vogella.rcp.css.themes.default". Using the command  "de.vogella.rcp.css.commands.switchstyle" is switch to "de.vogella.rcp.css.themes.colorful" which works great. 

But if I switch back to "de.vogella.rcp.css.themes.default" the colors of the child elements are not reseted.
Comment 1 Lars Vogel CLA 2010-06-07 10:39:55 EDT
Not sure if this is related to Toms Change. Adding him.
Comment 2 Lars Vogel CLA 2010-06-07 10:59:24 EDT
Created attachment 171279 [details]
New version of Example

Same example, cleaned up
Comment 3 Lars Vogel CLA 2012-09-18 14:31:57 EDT
We have to restart to apply the new CSS. Closing as INVALID