neilcsmith-net opened a new pull request, #9066: URL: https://github.com/apache/netbeans/pull/9066
Ensure the animation layer paint is called at least once inside paintComponent so that the animation timer is shut down. This is a minimal fix for #9060. If a change is made that triggers no change in bounds, then `animation` was set to `false`. However, if an existing animation was active at that time, the animation layer timer isn't stopped because `animLayer.paint(..)` isn't called during repaint. This causes a doom loop of repaint requests with excessive CPU usage. This whole animation layer code is a little suspect - ideally it would exit cleanly during the timer listener - but it doesn't seem worth doing a full refactor for a little used feature. Fixes #9060 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
