Issue Details (XML | Word | Printable)

Key: SWINGX-1513
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: kleopatra
Reporter: kleopatra
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

JRendererCheckBox: setting opacity to false has no effect

Created: 23/Jul/12 12:23 PM   Updated: 22/Feb/13 11:19 AM   Resolved: 22/Feb/13 11:19 AM
Component/s: Renderer
Affects Version/s: 1.6.3, 1.6.4
Fix Version/s: 1.6.5-1

Time Tracking:
Not Specified

Issue Links:

Participants: kleopatra and Spinnifex

 Description  « Hide

setting its opacity to false has no effect, as the isOpaque is overridden by

    public boolean isOpaque() {
        // JW: fix for #897, not sure of any side-effects
        // contentAreaFilled and opaque might be inconsistent
        return painter == null;
        // this is better, needs to be checked for side-effects
        // suggested fix to this issue
//        if (painter != null) {
//            return false;
//        }
//        return super.isOpaque();

The use-case to support is to allow client code to configure the hierarchy to completedly transparent (f.i. for showing a background image under the table)

Further analysis reveals that uncommenting the latter leads to a partial regression of Issue 879 (in Windows and Motif, still fine for Nimbus and Metal) Added visual test in RendererIssues.

kleopatra added a comment - 22/Feb/13 11:19 AM

as the related regression was fixed without reverting to the 1.6.4 logic (instead set opacity to true), this is still fixed.

Spinnifex added a comment - 12/Feb/13 06:12 PM

Ah - Problem solved !
You pointed me to the solution -> I downloaded the actual found 1.6.4-jars and now the error pane works, the date picker too.

kleopatra added a comment - 12/Feb/13 04:38 PM

the change introduced a regression (to core Nimbus mis-behaviour), see forum:

kleopatra added a comment - 08/Aug/12 03:30 PM

committed as of revision #4229

kleopatra added a comment - 08/Aug/12 03:28 PM

completely revised the painting tricksery ... hopefully not breaking anything