Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320204 - Progress bar does not honor background mode on parent.
Summary: Progress bar does not honor background mode on parent.
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux-GTK
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-18 19:11 EDT by Alex Ignácio da Silva CLA
Modified: 2017-03-14 14:27 EDT (History)
2 users (show)

See Also:


Attachments
A real world example. (23.61 KB, image/png)
2010-07-18 19:19 EDT, Alex Ignácio da Silva CLA
no flags Details

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