JFXtras / jfxtras-styles

Java, JavaFX themes or look and feels. Currently contains JMetro theme.
https://pixelduke.com/java-javafx-theme-jmetro/
642 stars 144 forks source link

ProgressBar - Switching from indeterminate, to real and finally back to indeterminate doesn't animate #224

Open brett-smith opened 1 year ago

brett-smith commented 1 year ago

If you use switch between an indeterminate progress and a real progress more than once, the animation only works on the first indeterminate setting. Subsequent calls and the dots either do not appear at all or are frozen.

E.g

progressBar.setProgress(ProgressBar.INDETERMINATE_PROGRESS)
// do other stuff for a while
progressBar.setProgress(0.5d);
// do other stuff for a while
progressBar.setProgress(ProgressBar.INDETERMINATE_PROGRESS);

This works fine with default skin.