Capture genuine macOS and Windows tray shots, fix the Windows icon #18
No reviewers
Labels
No labels
⏳in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Grey.ooo/someones.computer_tray!18
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/tray-macos-windows-capture"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What this does
Replaces the fake, CSS-dressed macOS/Windows tray screenshots with genuine
captures, per platform issue
#648.
menu,running,built,failedtarton Apple siliconmenurunning,built,failedthemes/macos.cssandthemes/windows.cssare deleted; the dressingpipeline (
run.sh'sDRESSED/HERO) is retired entirely rather than kepthalf-alive to paper over the Windows gap.
docs/manual.md's "dressed forother platforms" section is rewritten to show what's actually genuine per
platform instead of the retired disclaimer.
A real bug this surfaced
Windows never showed a tray icon at all, silently —
Shell_NotifyIcon'sLoadImagecall rejects the embedded PNG (it wants a real.icocontainer) and fails in a way that logs a misleading "operation completed
successfully". Nobody had run genuine Windows before to notice. Fixed with
a platform-specific
icon.ico, embedded only on Windows(
internal/tray/icon_windows.go/icon_other.go), rendered from the samesolo-mark SVG by
hack/icons/render.sh.What's still open (partial completion, by design)
This issue explicitly anticipated a partial hand-back being fine. What's
left, tracked back on #648:
running/built/failed. The top-level tray menu opens andphotographs cleanly (see the screenshot below), but driving into a
submenu (
shop · #12→ a deployment row) never expanded it, keyboard-only,on this Windows Server 2022 build — see
hack/tray-vm-capture/README.mdfor exactly what was tried. A session with real mouse access to the guest
(Proxmox's
vncproxyrefused every connection attempt this session, forreasons unresolved) should just click it.
unreachable — confirmed dead at the network layer (ARP failure from the
bastion on its own LAN segment), not a sandboxing artifact. With the repo
owner's go-ahead, macOS ran on the operator's own Apple-silicon Mac via
tartinstead, and Windows ran ongrey-area(production) instead of themule — both one-offs, not standing runners.
by hand this session (documented step by step in
hack/tray-vm-capture/README.md) rather than by the one-commandautomation the issue's "Shape of the run" describes. The Windows
autounattend.xmlcommitted here is "what it should do", not "what ran" —a two-CD-ROM confusion in Windows Setup's own media detection meant most
of the actual install was driven by hand; see the README for the
workaround that wasn't fully proven either.
Evidence
macOS — all four states, genuine:
Windows — menu, genuine:
(Full set in
docs/images/macos/applications/anddocs/images/windows/applications/, and in the regenerateddocs/manual.md.)Verified
go build ./...,go test ./...clean on darwin/arm64 (native)GOOS=windows GOARCH=amd64and confirmedrendering a real icon + real menu on an actual Windows Server 2022 guest
hack/lint.sh(golangci-lint v2.13.2): 0 issuesshellcheck -S warningclean on the touched/new shell scriptspython3 hack/screenshot/manual.py check:docs/manual.mdmatches whata rebuild produces
and helper servers on grey-area removed; local
tartVM stopped (kept,not deleted, in case a follow-up session wants to reuse the ~25GB base
image rather than re-pull it)
Closes #648 is deliberately not in this PR body — the issue stays open
for the Windows remainder above.
WIP: Capture genuine macOS and Windows tray shots, fix the Windows iconto Capture genuine macOS and Windows tray shots, fix the Windows icon