Sometimes I have a progress bar that shows progress on a certain task, and then resets to the minimum when starting a new task. But there is a new behavior (new in Big Sur, I think) that smooths out the display of a progress bar, such that if you reset the bar to its minimum, it animates backward instead of jumping back. I hate this, it looks like my app is making negative progress. I tried doing [CATransaction flush] after changing the bar value, and that had no effect. What can I do?
Can I turn off new smoothed NSProgressIndicator behavior?
Depending how you're doing the update, you probably want to touch -[NSAnimationContext duration] or +[CATransaction animationDuration]
@TynJJ: How I do the update is just [progressBar setDoubleValue: 0.0]. I tried both of the things you suggest and neither had any effect.
Solved it! Set the usesThreadedAnimation property of the progress bar to NO.