RFR: 8169501: GIF animation is too fast
Bhawesh Choudhary
bchoudhary at openjdk.java.net
Tue Sep 15 06:43:47 UTC 2020
On Thu, 23 Jul 2020 17:42:57 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> issue is caused by the threshold value for frame duration used by javaFx before it gets normalized. JavaFx is using
>> threshold value 10 while other browser (Safari, Firefox) is using 50 due to which, value between 10 and 50 don't get
>> normalized and animation runs at faster speed. To fix the issue change frame duration normalization value to <= 50.
>> Safari : https://bugs.webkit.org/show_bug.cgi?id=14413 Firefox : https://bugzilla.mozilla.org/show_bug.cgi?id=386269
>
> This is pending response to comments above.
10ms
11ms
12ms
15ms
______________
19ms
20ms
21ms
40ms
______________
75ms
Original
Without the fix, gif animation speed matches for all interval gifs with all other browser (Which includes firefox,
safari, chrome). Only animation speed for gif file which is attached in issue doesn't match. javafx webkit plays it
faster. Imageview plays everything at its original speed. No clamping happens here.
-------------
PR: https://git.openjdk.java.net/jfx/pull/221
More information about the openjfx-dev
mailing list