Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317788 - [CSS] CTabRendering: dynamic theme switching does not change all attributes
Summary: [CSS] CTabRendering: dynamic theme switching does not change all attributes
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: E4 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-24 04:58 EDT by Kai Toedter CLA
Modified: 2012-12-13 14:59 EST (History)
0 users

See Also:


Attachments
Picture (71.84 KB, image/png)
2010-06-24 04:59 EDT, Kai Toedter CLA
no flags Details
bright gradient css (1.92 KB, text/css)
2010-06-24 04:59 EDT, Kai Toedter CLA
no flags Details
dark gradient css (1.90 KB, text/css)
2010-06-24 05:00 EDT, Kai Toedter CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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