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
App icon install progress bar stuck #529
Comments
+1 for this issue. This seems to be related with cc @senmu I will also try to debug and solve it if I'm available this week. |
Found the issue here
This should remove the overlay as the comments is saying. (At first, I suspect the bug is because we are missing func resetDockProgressTracking() {
DockProgress.progress = 1 // Only way to completely remove overlay with DockProgress is setting progress to complete
} But it will actually do nothing in this case, because the previous progress is // DockProgress.swift
public static var progress: Double = 0 {
didSet {
if previousProgress == 0 || (progress - previousProgress).magnitude > 0.01 {
previousProgress = progress
updateDockIcon()
}
}
} We can fix it on our side or update the library version. The latest upstream version has removed such limitation. https://github.com/sindresorhus/DockProgress/blob/fb80c50c8eac4c1143da6ec602b8fad760c1613a/Sources/DockProgress/DockProgress.swift#L107-L115 Also I was wondering why Would you help to tell use what's the suggested way to reset/remove it? cc @sindresorhus |
XcodesApp is using DockProgress 3.2.0 now. To solve the issue, I think upgrade the latest 4.3.0 would probably fix it. ( And also we'd like to confirm the preferred way to reset the Dock bar: |
This issue and #491 seems to be duplicated. Would you help close one as duplicated? (Prefer to close the latter since we have more context on this issue here)cc @MattKiazyk |
This upstream has patched a commit to fix the issue.
Update the PR. It's ready for a review. See detail here sindresorhus/DockProgress#20 (comment) |
Describe the bug
After a successful installation, the app icon's progress bar remained at mostly-done. This is visible both in the dock and in the app switcher.
To Reproduce
I'm not exactly sure; I clicked to install 15.2, then clicked the iOS 17.2 installer shortly after, while the Xcode install was in progress. I haven't tried it again (I'm a bit swamped).
Expected behavior
When there're no running tasks, the app icon (both Dock and in app switcher) shouldn't show a progress bar.
Screenshots
I didn't think to take a screenshot. The progress bar had maybe <=10% left.
Version
The text was updated successfully, but these errors were encountered: