-
Notifications
You must be signed in to change notification settings - Fork 11
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
Show error message inside downloads popup when download fails because OS issue #3576
Conversation
32b064f
to
25b7cb9
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jotaemepereira thanks for this fix! It works well for me (I had to comment out a few more assert calls) and I only have an autolayout issue when there are more downloads on the list:
Hopefully it's a simple fix.
25b7cb9
to
da11f6e
Compare
@ayoy Thanks for the feedback! The constraints issue should be fixed: |
7981942
to
7ec6797
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks so much @jotaemepereira!
Task/Issue URL: https://app.asana.com/0/1204006570077678/1208780258680374/f
Tech Design URL:
CC:
Description:
AC1
Given a user on macOS 14.7.1
When the user fails to download a fail with error code 256 and type NSFileReadUnknownError
Then we show an error banner with some guidance on how to update
AC2
Given a user on macOS 15.0.1
When the user fails to download a fail with error code 256 and type NSFileReadUnknownError
Then we show an error banner with some guidance on how to update
Notes:
How To Update
button that will take the user to this page: https://support.apple.com/guide/mac-help/get-macos-updates-and-apps-mh35618/macFor Sparkle users: We will show a
Open Settings
button that it will take them to System Settings → Software UpdateSteps to test this PR:
To test this, you first need to mimic the error. To force this, go to
WebKitDownloadTask
, and after line 330, throw the following exception:Then, if you are not on macOS 14.7.1 or 15.0.1, you need to add your current OS to the
isSpecificMacOSVersion
function in theDownloadListViewModel
.If you want to test Sandbox vs Non-sandbox, you can change how the view is initialized in the
DownloadsViewController
line 140.Definition of Done:
Internal references:
Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation