NSProgress.indeterminate should make all parents indeterminate as well
| Originator: | steipete | ||
| Number: | rdar://33180039 | Date Originated: | 07-Jul-2017 02:59 PM |
| Status: | Open | Resolved: | |
| Product: | iOS + SDK | Product Version: | iOS 11b2 |
| Classification: | Other Bug | Reproducible: | Always |
Summary: NSProgress instance may be built like a tree structure, with parents and child. If one of the children progress instance is in an indeterminate state, the whole tree, up from the child is in an indeterminate state. I suggest that parent progress should update the indeterminate value (and notify with KVO). That'd help to update visual progress indicator to reflect the current state of the progress. Steps to Reproduce: NSProgress *progress1 = [NSProgress discreteProgressWithTotalUnitCount:1]; NSProgress *progress2 = [NSProgress discreteProgressWithTotalUnitCount:0]; // progress1->progress2 [progress1 addChild:progress2 withPendingUnitCount:1]; Expected Results: progress1.isIndeterminate is YES Actual Results: progress1.isIndeterminate is NO Version: iOS 11b2 Notes: This is not a regression, but something that could still be fixed in time for iOS 11.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!