RFR: 8169501: GIF animation is too fast

Bhawesh Choudhary github.com+4208131+bhaweshkc at openjdk.java.net
Fri May 15 07:47:22 UTC 2020


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

-------------

Commit messages:
 - 8169501: GIF animation is too fast

Changes: https://git.openjdk.java.net/jfx/pull/221/files
 Webrev: https://webrevs.openjdk.java.net/jfx/221/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8169501
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jfx/pull/221.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/221/head:pull/221

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


More information about the openjfx-dev mailing list