swingx
  1. swingx
  2. SWINGX-1447

JXPanel.getEffectiveAlpha returns wrong value when ancestor inhertisAlpha == false

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.6.3
    • Component/s: Misc Component
    • Labels:
      None

      Description

      JXPanel should call getEffectiveAlpha on its closest ancestor instead of walking the entire tree itself. By walking the entire tree, it is not correctly considering ancestors that do not inherit alpha settings as stops. We could simply put that in the code, but it seems cleaner to call getEffectiveAlpha on the ancestor instead of special casing the code.

        Activity

        Karl Schaefer created issue -
        Karl Schaefer made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Karl Schaefer
            Reporter:
            Karl Schaefer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: