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

Bug 320204

Summary: Progress bar does not honor background mode on parent.
Product: [Eclipse Project] Platform Reporter: Alex Ignácio da Silva <alexignaciodasilva>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: alexey.v.romanov, ericwill
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:
Attachments:
Description Flags
A real world example. none

Description Alex Ignácio da Silva CLA 2010-07-18 19:11:51 EDT
Build Identifier: 20100617-1415 (3.6.0)

The progress bar is not honoring the background mode of its parent.

I have spotted this in my Ubuntu 10.04 Linux, where progress bars have rounded corners. The progress bar is always drawing a rectangular region, even if the parent's background mode is set to SWT.INHERIT_FORCE.

Reproducible: Always

Steps to Reproduce:
1. Open the SWT Controls view from the examples plug-in and select the ProgressBar tab,
2. in the combo box that sets the background mode on parent select SWT.INHERIT_FORCE, and mark the Background Color checkbox,
3. it will be apparent that the progress bar is still drawing its background, as the rounded corners do not show over the parent's blue background.
Comment 1 Alex Ignácio da Silva CLA 2010-07-18 19:19:21 EDT
Created attachment 174591 [details]
A real world example.
Comment 2 Alex Ignácio da Silva CLA 2010-07-18 19:57:13 EDT
This problem is also evident in the progress bar shown in RCP applications' startup splash screen.
Comment 3 Eric Williams CLA 2017-03-14 14:27:51 EDT
I cannot reproduce this issue. Given the age of the bug, I am going to close this. Please file a new bug against Oxygen if the issue pops up again.