Skip to content

fix(desktop): let Windows caption buttons take the shell bar's surface - #170

Merged
SivanCola merged 1 commit into
mainfrom
claude/issue-ui-fixes
Nov 10, 2026
Merged

SivanCola merged 1 commit into
mainfrom
claude/issue-ui-fixes

Conversation

@SivanCola

Copy link
Copy Markdown
Owner

Summary

On Windows, opening the right-hand workspace panel showed the minimize/maximize/close buttons in a white box next to the grey shell bar (#135, and item 1 of #162).

  • The caption buttons had background: var(--bg-elev), a border and a shadow, cleared only while the workspace panel was closed. Creation replaced that with the dock's colour.
  • Both rules date from July, when the buttons sat above the dock. Since the shell bar became a full-width first row (3f27c64), the buttons sit on that bar at every dock state. In light themes the bar is #f5f6f9 and --bg-elev is near-white, which is the mismatch in the report.
  • The buttons are now transparent by default, and the dock-state and Creation overrides are removed. Management pages, the image viewer and the drawer dimming keep their own rules.

Verification

  • New contract assertion in app-chrome-tabs.test.ts: the buttons' final background is transparent and no dock-state or Creation rule paints them. That file (75 assertions), image-viewer-window-controls.test.ts and settings-responsive-layout.test.ts pass.
  • CSS syntax, z-index token and theme token contract checks pass.
  • Not verified visually. The change was derived from the stylesheet and the issue screenshot; it was not rendered in a Windows build or a frameless-Windows browser fixture. Dark themes and the Creation layout in particular have not been looked at.

Documentation and compatibility

Presentation only. No persisted data, RPC contract or provider-visible changes.

Cache-impact: none.
Cache-guard: n/a

Related issues

Fixes #135. Refs #162 (item 1 only).

🤖 Generated with Claude Code

The caption buttons kept an elevated surface, border and shadow whenever
the workspace panel was open, and a dock-coloured surface in Creation.
Both rules predate the full-width shell bar: the buttons now always sit
on that bar, so their own surface showed as a white box beside it.

Fixes #135
@SivanCola
SivanCola merged commit b7383a6 into main Nov 10, 2026
19 checks passed
SivanCola added a commit that referenced this pull request Nov 10, 2026
* docs(release): add 0.0.6 release notes

Covers the changes merged since 0.0.5: model display names (#172), the
Windows caption button surface (#170), consistent base theme names (#171),
shutdown step diagnostics (#169) and Electron 45 (#168). The open shutdown
stall in #126 is listed as a known risk.

* chore(release): approve unsigned Windows 0.0.6 Stable exception

---------

Co-authored-by: zumac <zumac@sgmacdeMini-1.lan>
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.

[Bug]: 打开右侧边栏时顶部背景色不一致

1 participant