Repository navigation
macOS: restore sidebar icon colours after selection - #493
Merged
Merged
Conversation
Reapply the configured icon tint whenever a row loses emphasis. Keep the system foreground tint for an emphasized selection. Check the Inbox and Today tint transitions in the hidden launch probe and document the selection behaviour in R79 and the guides.
Record the hidden Inbox and Today check for R79 and the visible-window scenarios that still need manual verification.
This file contains hidden or 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
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.
Fixes #492.
On macOS, a sidebar icon could keep the system selection colour after its row lost emphasis. The row now reapplies the configured tint whenever its background style changes. An emphasized row still uses the system foreground colour for contrast.
Verification
sidebarcolorsprobe in a hidden Debug instance with a separate data directory. The baseline failed when Inbox returned to its normal background style. The fix passed the same transition for Inbox and Today in Light and Dark appearance.make test,make lint,make apple-test, andmake apple-lint.sidebarcolorsin CI. Real clicks and focus changes in a visible window remain a manual check.Code pointers
apple/App/SidebarTable.swiftderives the icon tint from the configured colour and the current background style.apple/App/DebugScript.swiftexercises the normal, emphasized, and normal states.scripts/check-launch.shchecks the result.