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

Pisces software renderer shows incomplete border images in particular situation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u40, 9
    • Fix Version/s: 9
    • Component/s: javafx
    • Environment:
      • Ubuntu Desktop 14.04
      • SearchBox.jar (It belongs to Ensemble.jar)

      Backports

        Description

        I found this issue while I was working on a customer project. And I am creating this issue to get your help to solve this problem.

        As far as I examined, the Pisces S/W renderer has a bug related to handling some properties of JavaFX CSS (Cascading Style Sheets).

        If I run 'SearchBox.jar' with ‘-Dprism.order=es2’ or ‘-Dprism.order=d3d’, there’s no problem.
        However, if I run it with ‘-Dprism.order=sw’ option, the border image is displayed incompletely.
        ‘SearchBox.jar’ is one of the test cases of Ensemble.jar and it belongs to the JavaFX repository.
        (under \apps\ga-samples\Ensemble)

        Since this problem happens only if the software renderer is used, I suspect that the software renderer has an issue.

        In detail, the problem occurs when the 'left' property for “-fx-border-image-slice” and “-fx-border-image-width” are the same.
        In the following CSS properties, '22' indicates the 'left' property.

        < SearchBox.css >
        -fx-border-image-slice: 12 12 12 22 fill;
        -fx-border-image-width: 12 12 12 22;
        (the top, right, bottom, and left)

        ('javafx.runtime.version=8.0.40' version of the JavaFX was used for desktop)

        I'll attach the Jar file of the tested application and screen captures related to this issue.
        ( Download Url: https://drive.google.com/folderview?id=0B7VKR77zzBAySThQZlExRWxPTlk&usp=sharing )

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                flar Jim Graham
                Reporter:
                rlee Rokkyu Lee (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported: