Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8255276 | 8u291 | Kevin Rushforth | P3 | Resolved | Fixed | b01 |
JDK-8262212 | jfx11.0.11 | Kevin Rushforth | P3 | Resolved | Fixed |
ADDITIONAL SYSTEM INFORMATION :
known: windows 10, jdk 10, display scaling 150%, 2560x1440
A DESCRIPTION OF THE PROBLEM :
it's common practice for higher resolution monitors in windows to have display scaling set to some value higher than 100%, typically 125/150%. however, when using webview with an image that has a filter css property applied (like grayscale or blur) the image is not updated/placed/scaled in the correct position
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
create a webview, apply a css filter property to an image (grayscale for example)
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
the images are rendered with the filtering applied
ACTUAL -
the images are rendered with the filtering applied BUT:
the images are no longer in the same position/scaling
---------- BEGIN SOURCE ----------
any webview will work, just go to:
http://html5-demos.appspot.com/static/css/filters/index.html
and the problem will be obvious
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
set windows display scaling to 100%
FREQUENCY : always
known: windows 10, jdk 10, display scaling 150%, 2560x1440
A DESCRIPTION OF THE PROBLEM :
it's common practice for higher resolution monitors in windows to have display scaling set to some value higher than 100%, typically 125/150%. however, when using webview with an image that has a filter css property applied (like grayscale or blur) the image is not updated/placed/scaled in the correct position
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
create a webview, apply a css filter property to an image (grayscale for example)
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
the images are rendered with the filtering applied
ACTUAL -
the images are rendered with the filtering applied BUT:
the images are no longer in the same position/scaling
---------- BEGIN SOURCE ----------
any webview will work, just go to:
http://html5-demos.appspot.com/static/css/filters/index.html
and the problem will be obvious
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
set windows display scaling to 100%
FREQUENCY : always
- backported by
-
JDK-8255276 javafx webview css filter property with display scaling
- Resolved
-
JDK-8262212 javafx webview css filter property with display scaling
- Resolved