Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8108480

InnerShadow bounds returning padded bounds instead of content bounds even though the effect does not expand the image

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • fx1.3
    • fx1.2
    • javafx

    Description

      The ScrollBar control reports boundsInParent / boundsInLocal bounds as being larger than they should be. If I comment out the inner shadow effect, then the bounds come out correctly. It appears that the call to effect.getBounds(xform, nodeInput) (line 33 of EffectFilter in scenario) is computing and returning the padded bounds as opposed to the content bounds which is what we would expect in this case.

      The first attached picture shows the bounds when the effect is commented out, the second shows the bounds when the effect is in place.

      Attachments

        Issue Links

          Activity

            People

              flar Jim Graham
              rbair Richard Bair (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: