Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8166992 | 8u152 | Jim Graham | P3 | Resolved | Fixed | b01 |
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 )
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 )
- backported by
-
JDK-8166992 Pisces software renderer shows incomplete border images in particular situation
- Resolved