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

Bug 351751

Summary: Unable to paint over OS theme tree expansion controls
Product: [Eclipse Project] Platform Reporter: Chris Williams <chris.a.williams>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: akurtakov, ericwill
Version: 3.6.2Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Drawing over top OS controls doesn't seem to work properly, seen here none

Description Chris Williams CLA 2011-07-11 16:38:31 EDT
Build Identifier: I20110428-0848

The arrows/boxes on the left of tree items used for expanding/collapsing the tree are being drawn by the OS according to the OS theme. We're unable to use low-level SWT Paint listeners to paint/draw over top those controls (to provide our own) by "erasing" them drawing the background color and then drawing a fg color over. Instead we see our drawing on top of the OS drawing, rather than "erasing" the OS one with our bg color and then drawing over that.

Reproducible: Always
Comment 1 Chris Williams CLA 2011-07-11 16:39:24 EDT
Created attachment 199445 [details]
Drawing over top OS controls doesn't seem to work properly, seen here
Comment 2 Chris Williams CLA 2011-07-11 16:40:02 EDT
This is somewhat related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=345798
Comment 3 Alexander Kurtakov CLA 2018-07-13 09:07:07 EDT
Do you still face this issue? If yes, please attach a pure swt snippet to ease testing.
Comment 4 Eric Williams CLA 2018-08-16 11:08:30 EDT
GTK doesn't allow you to paint over the expander arrows, this is a platform limitation we cannot work around.