Skip to content

macOS: restore sidebar icon colours after selection - #493

Merged
juev merged 2 commits into
mainfrom
feat/lists-492-sidebar-colors
Nov 30, 2026
Merged

juev merged 2 commits into
mainfrom
feat/lists-492-sidebar-colors

Conversation

@juev

@juev juev commented Nov 30, 2026

Copy link
Copy Markdown
Owner

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

  • Ran the sidebarcolors probe 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.
  • Passed make test, make lint, make apple-test, and make apple-lint.
  • The macOS launch check now runs sidebarcolors in CI. Real clicks and focus changes in a visible window remain a manual check.

Code pointers

  • apple/App/SidebarTable.swift derives the icon tint from the configured colour and the current background style.
  • apple/App/DebugScript.swift exercises the normal, emphasized, and normal states. scripts/check-launch.sh checks the result.

juev added 2 commits November 30, 2026 11:49
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.
@juev
juev merged commit 5abefe7 into main Nov 30, 2026
4 checks passed
@juev
juev deleted the feat/lists-492-sidebar-colors branch November 30, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

macOS: sidebar icons intermittently lose their colors

1 participant