RFR: 8211294: ScrollPane content is blurry with 125% scaling

Kevin Rushforth kcr at openjdk.java.net
Fri Dec 18 14:36:26 UTC 2020

On Fri, 18 Dec 2020 13:34:28 GMT, Frederic Thevenet <fthevenet at openjdk.org> wrote:

>> Unfortunately I've only seen it within an application with a fairly complex scene graph, which make isolating the issue  tricky. 
>> I'm still trying to reproduce it a minimal sample, but in the mean time, please have a look at the a screen capture below, which should at least help clarify the issue I'm observing:
>> ![8211294](https://user-images.githubusercontent.com/7450507/102610169-064d6000-412d-11eb-8ebd-b1999a6c6009.gif)
>> This snippet is captured after the window had been moved from a screen scaled to 100% to a second one scaled to 150%; notice how the controls in the "Chart Properties" pane only snap to pixel when the mouse pointer enters the pane.
> Digging deeper into my own code, it appears that there are several areas where I need to account for screen scale within the application's code itself (i.e. I use coordinates from mouseEvent to set the layout of some elements, and these are not snapped), so it probably safe to ignore these issues in the context of the PR.

So that leaves two follow-on bugs then:
1. Rendering a cached node doesn't match rendering it directly even when the transform is unchanged.
2. TextFlow: methods copied from Region have not picked up subsequent changes in those methods


PR: https://git.openjdk.java.net/jfx/pull/308

More information about the openjfx-dev mailing list