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

Bug 317788

Summary: [CSS] CTabRendering: dynamic theme switching does not change all attributes
Product: z_Archived Reporter: Kai Toedter <kai.toedter>
Component: E4Assignee: Project Inbox <e4.swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Picture
none
bright gradient css
none
dark gradient css none

Description Kai Toedter CLA 2010-06-24 04:58:36 EDT
When using css like

.MPartStack {
    tab-renderer: url('platform:/plugin/org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
    unselected-tabs-color: black;
    outer-keyline-color: grey;
}

.MPartStack.active {
	unselected-tabs-color: black;
    outer-keyline-color: red;
}

these attributes are not refreshed when switching the theme dynamically.

How to reproduce: Install latest version of contacts demo and put the attached css files in the css directory. Then start the demo and switch from dark to bright and to dark again.

If you switch back to bright, the shadow also seems broken.
Comment 1 Kai Toedter CLA 2010-06-24 04:59:20 EDT
Created attachment 172580 [details]
Picture
Comment 2 Kai Toedter CLA 2010-06-24 04:59:46 EDT
Created attachment 172581 [details]
bright gradient css
Comment 3 Kai Toedter CLA 2010-06-24 05:00:05 EDT
Created attachment 172582 [details]
dark gradient css