JavaFX Content Rendering & Resizing and Font Bugs In Linux
John Neffenger
john at status6.com
Sun Jan 13 23:33:31 UTC 2019
On 1/12/19 10:20 PM, Ty Young wrote:
> Seeing as how this important issue is seemingly being ignored, I've
> decided to upload a video showcases the bugs[1]. If this isn't evidence
> that there is a problem with JavaFX's content rendering, resizing, and
> fonts I don't know what is.
Your video looks similar to a bug I first encountered two years ago [1].
I was reluctant to reply earlier because I can't reproduce the bug in a
windowed environment. So far I have seen the problem in the two cases
listed below (the bug report lists only the first case):
(a) on a Monocle platform using an off-screen composition buffer that is
allocated as a non-direct byte buffer, and
(b) on a Monocle platform using the frame buffer directly as the
composition buffer, and its horizontal visible resolution differs from
its virtual resolution.
If I play your videos at the slowest speed, I see the entire frame jump
up when you resize its window. That is just what you would expect if the
position of the buffer was reset to zero while the buffer was being used
to draw the frame.
Our environments are very different, and your problem may have origins
outside of JavaFX entirely, but it may still be worth trying the same
debugging technique described in the bug report.
John
[1] See: https://bugs.openjdk.java.net/browse/JDK-8201567
or: https://gitlab.com/openjfxepd/jfxpatch/issues/1
More information about the openjfx-dev
mailing list