-
Notifications
You must be signed in to change notification settings - Fork 15
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
Fix Save Credentials popover on macOS Ventura #672
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
samsymons
reviewed
Aug 5, 2022
@@ -278,7 +278,7 @@ class TabLazyLoaderTests: XCTestCase { | |||
selectedUrlTab.reload() | |||
|
|||
// Then | |||
waitForExpectations(timeout: 0.3) | |||
waitForExpectations(timeout: 1) |
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.
👍
samsymons
approved these changes
Aug 11, 2022
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.
Looks good 🎉
samsymons
added a commit
that referenced
this pull request
Aug 15, 2022
* develop: Bookmarks phase 2 bug fixes (#686) Attempt to stop the new tab button from jumping around the UI (#685) Fix of threading issues related to history causing crashes (#688) Add empty autofill isEnabled checks (to update BSK) (#683) Bump BSK to a version that uses updated GRDB (#647) Fix Save Credentials popover on macOS Ventura (#672) Update BSK to latest version + noop updates (#669) Update selectedTabViewModel only when it actually changes (#681) Update BSK to version 21.0.0 (#680) Always add the Autoconsent script (#666) Optimisation of history entry saving (#675)
samsymons
added a commit
that referenced
this pull request
Aug 17, 2022
* develop: Fire Button quick wins (#677) Bookmarks phase 2 bug fixes (#686) Set version to 0.28.3. Only clear the selection if the selection needs to change. (#689) Set version to 0.28.2. Update embedded files for 0.28.2. Attempt to stop the new tab button from jumping around the UI (#685) Fix of threading issues related to history causing crashes (#688) Add empty autofill isEnabled checks (to update BSK) (#683) Bump BSK to a version that uses updated GRDB (#647) Fix Save Credentials popover on macOS Ventura (#672)
samsymons
added a commit
that referenced
this pull request
Aug 18, 2022
# By Sam Symons (14) and others # Via GitHub (1) and others * develop: (45 commits) Revert "Prevent the app from quitting while the Fire button is active" (#690) Disable link preview. (#691) Fire Button quick wins (#677) Bookmarks phase 2 bug fixes (#686) Set version to 0.28.3. Only clear the selection if the selection needs to change. (#689) Set version to 0.28.2. Update embedded files for 0.28.2. Attempt to stop the new tab button from jumping around the UI (#685) Fix of threading issues related to history causing crashes (#688) Add empty autofill isEnabled checks (to update BSK) (#683) Bump BSK to a version that uses updated GRDB (#647) Fix Save Credentials popover on macOS Ventura (#672) Update BSK to latest version + noop updates (#669) Update selectedTabViewModel only when it actually changes (#681) Update BSK to version 21.0.0 (#680) Always add the Autoconsent script (#666) Optimisation of history entry saving (#675) Use localized compare to sort autofill items (#674) 0.28.1 ... # Conflicts: # DuckDuckGo.xcodeproj/project.pbxproj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Task/Issue URL: https://app.asana.com/0/0/1202726027165123/f
Description:
Keep Save Credentials popover on screen while presenting Fireproof alert.
The alert is presented in context of the popover window, and apparently closing the window
while showing the alert breaks things on macOS Ventura.
The alternative would be to present Fireproof alert in context of the main application window,
but that seems counterintuitive since the alert is a consequence of the action in Save Credentials
popover. My solution keeps Save Credentials popover on screen until Fireproof alert is acted upon.
Steps to test this PR:
Repeat the same on macOS Monterey (for the record, I tested it and it worked for me).
Testing checklist:
Internal references:
Software Engineering Expectations
Technical Design Template
When ready for review, remember to post the PR in MM