Skip to content

t27os: Light theme is glass in the full window (Closes #13402) - #13408

Merged
gHashTag merged 2 commits into
masterfrom
t27os-light-full-window
Nov 9, 2026
Merged

gHashTag merged 2 commits into
masterfrom
t27os-light-full-window

Conversation

@gHashTag

@gHashTag gHashTag commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • glass_window.t27: add on_glass_th(sw, theme) — Light is always glass, Opaque is never glass, Dark follows the original sw <= PANEL_W + 0.5 rule.
  • surface_alpha_with signature changed from sw: f64 to glass: bool; surface_alpha passes on_glass(sw) (unchanged baseline), surface_alpha_lv passes on_glass_th(sw, kit[K_THEME] % 3).
  • tint_alpha_lv, draw_ground, the event-loop was_glass state, and all three theme_apply call sites updated to on_glass_th.
  • Tests: the_theme_shows_only_on_the_docked_glass renamed and updated to reflect the new Light full-window behavior; the_live_levels_reach_the_kit_and_the_surface_alphas_follow_them sets kit[K_THEME] = TH_DARK explicitly; new test the_light_theme_is_glass_in_the_full_window with four assertions and a negative control against the old sw-only rule.
  • win_material.t27: module comment updated to reference on_glass_th.

Lab seal dispatched for specs/t27os/glass_window.t27 at SHA 0123bc5acc.

Closes #13402

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-09 08:39:48 UTC

Summary

Status Count
Total Open PRs 43
PRs with Failing Checks 38
PRs with All Checks Green 5
READY 4
FAILING 38
PENDING 0
NO CHECKS YET 0

These columns do not partition: 4 + 38 + 0 + 0 = 42, and there are 43 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=b882be1e4933 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

Owner, 2026-11-09: "Light replaces TINT_FULL for the full window."

- glass_window.t27: add on_glass_th(sw, theme) -- Light is always glass,
  Opaque is never glass, Dark follows the original sw rule.
  surface_alpha_with now takes glass: bool (caller decides the rule).
  surface_alpha_lv, tint_alpha_lv, draw_ground and all event-loop
  on_glass(sw) calls replaced with on_glass_th using kit[K_THEME] % 3.
  Test the_theme_shows_only_on_the_docked_glass renamed and updated: lkit
  gets K_THEME = TH_LIGHT; full-window assertions reflect glass at W_PT.
  New test the_light_theme_is_glass_in_the_full_window with three theme
  rows and a negative control that fails the old sw <= PANEL_W + 0.5 rule.
  the_live_levels_reach_the_kit_and_the_surface_alphas_follow_them: sets
  kit[K_THEME] = TH_DARK so surface_alpha_lv uses the defined Dark path.
- win_material.t27: update module comment to reference on_glass_th.

Refs #13402

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@gHashTag
gHashTag force-pushed the t27os-light-full-window branch from 0123bc5 to a047f99 Compare November 9, 2026 08:44
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-09 08:45:33 UTC

Summary

Status Count
Total Open PRs 43
PRs with Failing Checks 38
PRs with All Checks Green 5
READY 4
FAILING 38
PENDING 0
NO CHECKS YET 0

These columns do not partition: 4 + 38 + 0 + 0 = 42, and there are 43 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=b882be1e4933 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

…h (Refs #13402)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-09 08:55:41 UTC

Summary

Status Count
Total Open PRs 43
PRs with Failing Checks 38
PRs with All Checks Green 5
READY 4
FAILING 38
PENDING 0
NO CHECKS YET 0

These columns do not partition: 4 + 38 + 0 + 0 = 42, and there are 43 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=b882be1e4933 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@gHashTag
gHashTag merged commit d4ec965 into master Nov 9, 2026
37 checks passed
@gHashTag
gHashTag deleted the t27os-light-full-window branch November 9, 2026 09:00
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.

t27os: the Light theme reaches the full window, not only the docked one

1 participant