Skip to content

Fix calendar and weather popup text colours - #11838

Closed
tcballard wants to merge 3 commits into
omacom:quattrofrom
tcballard:fix/upstream-calendar-weather-popup-text
Closed

tcballard wants to merge 3 commits into
omacom:quattrofrom
tcballard:fix/upstream-calendar-weather-popup-text

Conversation

@tcballard

Copy link
Copy Markdown
Contributor

Calendar and weather popups inherit the bar’s foreground colour, making text unreadable when a theme uses a dark bar with light popups. This showed up as white-on-white text with Familiar.

Use Color.popups.text for calendar content and weather labels, inputs and hover states.

Validation:

  • 155 calendar assertions, 57 weather assertions and eight colour-binding regression checks pass.
  • Original patch tested on my Dell XPS running dev, with visibly improved popup readability.
  • Before/after screenshots remain unavailable.

Upstream version of tcballard#12, containing only the popup fix and regression tests.

Prepared with Codex.

@omarchybot omarchybot added bug Something isn't working verified Omarchy Triage has verified that this issue is ready for final review ready Good to merge labels Sep 27, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

Reviewed at 7582141, and nothing needs changing.

Reproduced on a worker built from the Omarchy ISO. I set the theme's [bar] text to magenta, and [popups] text to green on a white [popups] background. On the base (b679363), the calendar and weather panels drew all their text in the bar's magenta. On this branch, both draw it in the popup green, and no bar-coloured pixels are left in either panel. If either panel file is reverted, the new panel-text-colors-test.sh fails. ./test/cli and the clock, weather and panel-text-colors shell tests pass on the worker. The change is proportionate: a one-token substitution per binding, and nothing else.

Second opinion: Codex Medium reviewed the diff and the surrounding code, and found nothing blocking (it ran after my review, so its agreement is not guaranteed to be independent). It confirmed that no bar-text reference is left in either panel, and that stock themes are unaffected, because both roles fall back to the same foreground. It noted that the weather checks in the new test only match source text, so they would not catch a single label going back to a hardcoded colour. The calendar check does evaluate the real binding.

Not covered here: the other panels drawn on the popup background still use bar.foreground. These are audio, network, bluetooth, monitor, power, tailscale and dropbox. On the same worker, the audio panel still drew its text in bar magenta. #12732 reports this for the network panel. That is outside this pull request's scope, and not a reason to hold it.

This now waits on the maintainer.

@omarchybot omarchybot removed ready Good to merge verified Omarchy Triage has verified that this issue is ready for final review labels Oct 8, 2026
quattro qualified palette references as Commons.Color for Qt 6.12 (omacom#14553), on the same lines this branch moves to the popup text colour. Resolve them as Commons.Color.popups.text, qualify every reference this branch adds, and update the regression test to match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@omarchybot omarchybot added the verified Omarchy Triage has verified that this issue is ready for final review label Oct 8, 2026
@greptile-apps

greptile-apps Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium risk] Changes text colors in calendar and weather popups.

The PR appears safe to merge; no actionable issues were found.

What we checked:

  • Popup text has a default: Color.popups.text falls back to foreground, which starts with a concrete color.

Summary

Calendar and weather popups now use Commons.Color.popups.text instead of the bar’s text color.

  • Calendar content follows the popup color, including hover and selected states.
  • Weather labels, search input, hover states, and the forecast separator follow the same color.
  • All eight new regression checks passed. These check bindings, not rendered appearance.

Reviews (1) · Last reviewed commit: "Merge quattro into fix/upstream-calendar..." · Reviewed by Greptile

@omarchybot omarchybot added the ready Good to merge label Oct 8, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

This branch stopped merging cleanly once #14553 qualified palette references as Commons.Color for Qt 6.12, on the same lines it changes. I merged quattro into it in 234ff02 rather than rebasing, so your commit is unchanged. The merge resolves those lines as Commons.Color.popups.text, qualifies every reference this branch adds the same way, and updates panel-text-colors-test.sh to match. The net change against quattro is still your substitutions and nothing else.

Re-verified at 234ff02 on a worker built from the Omarchy ISO, with the same probe as before: bar text magenta, popup text green on a white popup background. On quattro (b83d3df), the calendar and weather panels still draw their text in bar magenta, so the bug has not been fixed elsewhere. On this branch, both panels draw popup green, with no bar-coloured pixels left. Reverting either panel file fails the new test. ./test/cli passes, and so do the clock, weather, color-reference and panel-text-colors shell tests.

Second opinion: Codex Medium reviewed the merge read-only and found nothing blocking. It confirmed that every palette reference in both panels is qualified and that the updated test still matches the merged sources. It agreed with a conclusion already written down, so its independence is not guaranteed.

This now waits on the maintainer.

@omarchybot omarchybot removed ready Good to merge verified Omarchy Triage has verified that this issue is ready for final review labels Oct 14, 2026
omacom#15326 moved the weather panel's labels to Commons.I18n.t() on the same lines this branch recolours. The resolution keeps quattro's translated text and textFormat and this branch's Commons.Color.popups.text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@omarchybot omarchybot added verified Omarchy Triage has verified that this issue is ready for final review ready Good to merge labels Oct 14, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

This branch stopped merging cleanly once #14553 qualified palette references as Commons.Color for Qt 6.12, on the same lines it changes. I merged quattro into it in 234ff02 rather than rebasing, so your commit is unchanged. The merge resolves those lines as Commons.Color.popups.text, qualifies every reference this branch adds the same way, and updates panel-text-colors-test.sh to match. The net change against quattro is still your substitutions and nothing else.

Re-verified at 234ff02 on a worker built from the Omarchy ISO, with the same probe as before: bar text magenta, popup text green on a white popup background. On quattro (b83d3df), the calendar and weather panels still draw their text in bar magenta, so the bug has not been fixed elsewhere. On this branch, both panels draw popup green, with no bar-coloured pixels left. Reverting either panel file fails the new test. ./test/cli passes, and so do the clock, weather, color-reference and panel-text-colors shell tests.

Second opinion: Codex Medium reviewed the merge read-only and found nothing blocking. It confirmed that every palette reference in both panels is qualified and that the updated test still matches the merged sources. It agreed with a conclusion already written down, so its independence is not guaranteed.

This now waits on the maintainer.

@omarchybot

Copy link
Copy Markdown
Collaborator

The comment above went up by mistake: it repeats my message from 8 October, and it describes 234ff02, not the current head. Here is the current state.

This branch stopped merging cleanly once #15326 moved the weather panel's labels to Commons.I18n.t(), on the same lines it recolours. I merged quattro into it in 13d98e6 rather than rebasing, so your commits are unchanged. The resolution keeps quattro's translated text and textFormat: Text.PlainText, and uses this branch's Commons.Color.popups.text for the colour. Against quattro, the net change is still only your substitutions and the new test.

Re-verified at 13d98e6 on a worker built from the Omarchy ISO, using the same probe as before: bar text magenta, popup text green on a white popup background. On quattro (84cfb93), the calendar and weather panels still draw their text in bar magenta. On this branch, both panels draw it in popup green, with no bar-coloured pixels left. Reverting either panel file makes panel-text-colors-test.sh fail. ./test/cli passes, and so do the clock, weather, color-reference, panel-text-colors, i18n and panel-open-budgets shell tests.

Second opinion: Codex Medium reviewed the merge read-only and found nothing. It confirmed three things: both sides of the conflict are preserved, neither panel has any bar text reference left, and the test still matches the merged sources. It agreed with a conclusion already written down, so its independence is not guaranteed.

This now waits on the maintainer.

@omarchybot omarchybot removed the ready Good to merge label Nov 18, 2026
@omarchybot omarchybot removed the verified Omarchy Triage has verified that this issue is ready for final review label Nov 28, 2026
@tcballard tcballard closed this Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants