RFR: 8169501: GIF animation is too fast
Kevin Rushforth
kcr at openjdk.java.net
Wed Sep 30 18:42:07 UTC 2020
On Sat, 19 Sep 2020 17:02:44 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>>>
>>>
>>> Is this related to https://bugs.openjdk.java.net/browse/JDK-8209560?
>>
>> it seems not.
>
> Using the images you posted above, it appears that the browsers (Firefox and Edge on Windows, Firefox and Safari on
> Mac) have a threshold of 20ms, not 51 ms. Looks like the formula should be
> delay < 20 : set to 100
> delay >= 20 : use the value as is
>
> Your fix does make the 19 ms image match the browsers (whereas existing WebView is too fast), but the 20ms, 21ms, and
> 40ms images no longer do (they are fine in the existing WebVIew and too slow with your patch).
> So I recommend changing the value to 20 and then re-testing.
This PR is on hold. It can be reopened or a new PR can be sent as and when it is ready to proceed.
-------------
PR: https://git.openjdk.java.net/jfx/pull/221
More information about the openjfx-dev
mailing list