On Fri, 20 Mar 2026 05:53:54 GMT, Jay Bhaskar <[email protected]> wrote:
>> **Issue:** Animated GIF images displayed in a WebView show only the first >> frame and do not animate. This occurs regardless of how the GIF is loaded: >> <img> tag with file:/// URL via WebEngine.loadContent() >> <img> tag with file:/// URL via WebEngine.load() loading an HTML file >> >> Solution : Animation was not working because the decoder never reported >> Complete, so WebKit never started the animation engine. Make the status >> complete once the full frame is received. > > Jay Bhaskar has updated the pull request incrementally with one additional > commit since the last revision: > > fix as second review Verified the changes with and without the fix. With the fix, it can be seen that white, red and black screens are animated. Without the fix, it looks like only white screen is displayed. It would be better if we change the colour of the first image to something other than white, so that it is more clear visibly, that animation does not work without the fix. ------------- PR Review: https://git.openjdk.org/jfx/pull/2111#pullrequestreview-3979809940
