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

Bug 527053

Summary: [Theming] Background of separator menu item cannot be themed
Product: [RT] RAP Reporter: Matthias Boehm <Matthias.Boehm>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Matthias.Boehm
Version: 3.2   
Target Milestone: 3.4   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/111358
https://git.eclipse.org/c/rap/org.eclipse.rap.git/commit/?id=551a4817c14324f461476613c6d58e258211a94c
Whiteboard:
Attachments:
Description Flags
Sample application that shows the bug
none
Sample application that shows the bug none

Description Matthias Boehm CLA 2017-11-09 08:33:01 EST
Created attachment 271393 [details]
Sample application that shows the bug

I cannot theme the background of a separator menu item. The style sheets are as follows:

Menu 
{
    background-color: black;
}

MenuItem
{
    background-color: red;
}

MenuItem[SEPARATOR]
{
    background-color: yellow;
}

I expect, that the separator has a yellow background, but instead, it gets the background color of the Menu. 

Appended is a sample application that shows this bug. The sample menu opens when right-clicking on "Menu".
Comment 1 Matthias Boehm CLA 2017-11-09 08:39:34 EST
Created attachment 271394 [details]
Sample application that shows the bug
Comment 2 Eclipse Genie CLA 2017-11-10 03:34:50 EST
New Gerrit change created: https://git.eclipse.org/r/111358