Context
Two readers without context graded the web desktop's frames in #21348 and named the same gap: the minimize, maximize and close glyphs "look mismatched beside the app icons" (#21348's body). #21198's design pass records it as gap 2, "mismatched and retro" (comment 6982004056). The glyphs are Neo.dialog.Base's defaults, so every dialog draws them, not only the desktop's windows.
The Problem
Measured on dev (c978015997) in examples/desktop/basic, neo-dark:
- The controls are three different drawings from Font Awesome 7 Free's regular set:
far fa-window-minimize is a bare bar, far fa-window-maximize a frame with a filled title bar, far fa-window-close a frame with an X. Maximized, far fa-window-restore draws two framed windows.
- They render at 24px (
font-size: 1.8em of the button's 13.3px), beside a 16px title and an app tile whose glyph is 12px.
The Architectural Reality
src/dialog/Base.mjs owns three glyph configs, maximizeCls, minimizeCls and restoreCls (lines 113-146). getWindowActionMap() dresses maximize as a Neo.toolbar.ActionButton toggle (iconCls ↔ pressedIconCls) and minimize as a plain action.
src/dialog/header/Toolbar.mjs:24-25 holds the header's own actionMap defaults: close (far fa-window-close) and maximize (far fa-window-maximize).
resources/css/src/dialog/Base.css:95-98, .neo-header-toolbar .neo-button-glyph {font-size: 1.8em}, sizes every header glyph, a consumer's own actions included.
Neo.desktop.AppWindow sets no glyph of its own; Neo.desktop.WindowManager takes minimize from getWindowActionMap().
- Specs that pin the classes:
test/playwright/unit/dialog/WindowControls.spec.mjs (lines 81-82 and 141; its replacement arm overrides with fas fa-minus, lines 148-150) and test/playwright/e2e/desktop/Basic.spec.mjs:125 (fa-window-restore).
Design authority: #21198, comment 6982004056, the owning epic's design pass on the operator's ask to challenge the desktop's design: "before the cut (lock Sun 22 Nov), real apps in the windows, built from engine families (...), plus the launcher and chrome fixes, all with a cold look against these numbers."
The Fix
src/dialog/Base.mjs: minimizeCls: 'fas fa-minus', maximizeCls: 'far fa-square', restoreCls: 'far fa-clone', with their JSDoc defaults.
src/dialog/header/Toolbar.mjs: close becomes fas fa-xmark and maximize far fa-square. Its JSDoc example, which shows fas fa-xmark as a custom close, takes another glyph.
resources/css/src/dialog/Base.css: the header glyph size comes down from 1.8em to the title's scale. The pull request states the value and measures it.
- Both specs pin the new classes, and the replacement arm overrides with classes that differ from the new defaults.
Acceptance Criteria
Out of Scope
- The dock's glyphs (
src/dashboard/dock/**): they have their own configs and specs, and fa-window-restore is the tear-out's anchor there.
- The header icons' colour per theme: #21371 owns the cyberpunk contrast.
- Buttons that open a dialog or a pop-out (
examples/dialog, src/code/LivePreview.mjs).
Avoided Traps
- A desktop-only override in
Neo.desktop.AppWindow: it fixes one consumer and leaves every other dialog with the mismatched set.
- Shrinking the current glyphs: a smaller frame still disagrees with the bare bar beside it.
- Inline SVG glyphs: every header control takes
iconCls, and a consumer overrides it with a class string (actionMap and the configs above).
Related
Parent #21198. Found in #21348's cold read (it closed #21201). #21272 asked for the controls' contract, which #21348 built; this leaf changes only their drawing. #21371 (colour), #21205 (the desktop's classic themes), #21353 (real apps), #21364 (the launcher).
Live latest-open + closed sweep: latest 20 open, plus open and closed searches (window controls, minimize maximize close, dialog header glyph, window glyph) at 2026-11-18T17:00Z. #21272 is the controls' contract, not their drawing; no equivalent found. Backlog band: 83 open (red); filed under its owning epic #21198 (8 subs).
A2A claim sweep: the 30 newest messages in all read states; no claim on the dialog's glyphs.
MC sweep: "web desktop window glyphs minimize maximize close mismatched retro" and "dialog header toolbar minimize maximize icon": no prior decision.
Own-assignment sweep: 9 open; #21205 (themes) and #21353 (apps) are adjacent, and neither draws the controls.
Owner: Grace, self-assigned. No curated labels: the leaf is owned and due before the lock (Sun 22 Nov) on #21198's design pass.
Retrieval Hint: "dialog window controls glyphs minimize maximize restore close mismatched retro framed window font awesome"
Context
Two readers without context graded the web desktop's frames in #21348 and named the same gap: the minimize, maximize and close glyphs "look mismatched beside the app icons" (#21348's body). #21198's design pass records it as gap 2, "mismatched and retro" (comment 6982004056). The glyphs are
Neo.dialog.Base's defaults, so every dialog draws them, not only the desktop's windows.The Problem
Measured on
dev(c978015997) inexamples/desktop/basic, neo-dark:far fa-window-minimizeis a bare bar,far fa-window-maximizea frame with a filled title bar,far fa-window-closea frame with an X. Maximized,far fa-window-restoredraws two framed windows.font-size: 1.8emof the button's 13.3px), beside a 16px title and an app tile whose glyph is 12px.The Architectural Reality
src/dialog/Base.mjsowns three glyph configs,maximizeCls,minimizeClsandrestoreCls(lines 113-146).getWindowActionMap()dresses maximize as aNeo.toolbar.ActionButtontoggle (iconCls↔pressedIconCls) and minimize as a plain action.src/dialog/header/Toolbar.mjs:24-25holds the header's ownactionMapdefaults:close(far fa-window-close) andmaximize(far fa-window-maximize).resources/css/src/dialog/Base.css:95-98,.neo-header-toolbar .neo-button-glyph {font-size: 1.8em}, sizes every header glyph, a consumer's own actions included.Neo.desktop.AppWindowsets no glyph of its own;Neo.desktop.WindowManagertakes minimize fromgetWindowActionMap().test/playwright/unit/dialog/WindowControls.spec.mjs(lines 81-82 and 141; its replacement arm overrides withfas fa-minus, lines 148-150) andtest/playwright/e2e/desktop/Basic.spec.mjs:125(fa-window-restore).Design authority: #21198, comment 6982004056, the owning epic's design pass on the operator's ask to challenge the desktop's design: "before the cut (lock Sun 22 Nov), real apps in the windows, built from engine families (...), plus the launcher and chrome fixes, all with a cold look against these numbers."
The Fix
src/dialog/Base.mjs:minimizeCls: 'fas fa-minus',maximizeCls: 'far fa-square',restoreCls: 'far fa-clone', with their JSDoc defaults.src/dialog/header/Toolbar.mjs:closebecomesfas fa-xmarkandmaximizefar fa-square. Its JSDoc example, which showsfas fa-xmarkas a custom close, takes another glyph.resources/css/src/dialog/Base.css: the header glyph size comes down from1.8emto the title's scale. The pull request states the value and measures it.Acceptance Criteria
examples/desktop/basic).WindowControls.spec.mjsanddesktop/Basic.spec.mjspin the new classes and pass; the replacement arm still proves a replacement.examples/dialog), before and after, in neo-dark and neo-light.Out of Scope
src/dashboard/dock/**): they have their own configs and specs, andfa-window-restoreis the tear-out's anchor there.examples/dialog,src/code/LivePreview.mjs).Avoided Traps
Neo.desktop.AppWindow: it fixes one consumer and leaves every other dialog with the mismatched set.iconCls, and a consumer overrides it with a class string (actionMapand the configs above).Related
Parent #21198. Found in #21348's cold read (it closed #21201). #21272 asked for the controls' contract, which #21348 built; this leaf changes only their drawing. #21371 (colour), #21205 (the desktop's classic themes), #21353 (real apps), #21364 (the launcher).
Live latest-open + closed sweep: latest 20 open, plus open and closed searches (
window controls,minimize maximize close,dialog header glyph,window glyph) at 2026-11-18T17:00Z. #21272 is the controls' contract, not their drawing; no equivalent found. Backlog band: 83 open (red); filed under its owning epic #21198 (8 subs). A2A claim sweep: the 30 newest messages in all read states; no claim on the dialog's glyphs. MC sweep: "web desktop window glyphs minimize maximize close mismatched retro" and "dialog header toolbar minimize maximize icon": no prior decision. Own-assignment sweep: 9 open; #21205 (themes) and #21353 (apps) are adjacent, and neither draws the controls.Owner: Grace, self-assigned. No curated labels: the leaf is owned and due before the lock (Sun 22 Nov) on #21198's design pass.
Retrieval Hint: "dialog window controls glyphs minimize maximize restore close mismatched retro framed window font awesome"