Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FB9024440: NSProgressIndicator looses the animation state when switching to indeterminate mode. #568

Open
macmade opened this issue Sep 25, 2024 · 0 comments

Comments

@macmade
Copy link

macmade commented Sep 25, 2024

  • Date: 2021-03-01
  • Resolution: Open
  • Area: AppKit
  • OS: macOS
  • Type: Incorrect/Unexpected Behavior
  • Keywords: appkit, progress, indicator

Description

When using NSProgressIndicator in progress bar mode, the animation state is reset when switching to indeterminate mode.
As a result, the progress bar no longer animates.

Please see the example project for a demonstration of this behavior, which is new in macOS 11.

The demo app starts with an animating and indeterminate progress bar:

1 - Uncheck the "Indeterminate" checkbox.
2 - Move the slider to some position to increase the progress bar value.
3 - Check the "Indeterminate" checkbox.

The progress bar is not animated, although the "animate" binding is still on.
Toggling "animate" fixes the animation status, but this whole behavior is incorrect.
Previous macOS versions did not behave this way.

Files

Progress.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant