Skip to content

Decision Modern UI Chrome

matthew edited this page Sep 2, 2026 · 1 revision

Decision: Modern UI chrome — squircles stay, drop shadows go

Date: 2026-09-02 · Context: the 2026.1.0-beta.3 performance investigation (epic #556)

The decisions

  1. Squircle corners are part of the modern UI and stay. They were investigated as a suspect in the beta.3 lag and cleared by measurement: running beta.3's Electron (42.11) with STUDIO_CORNERS=round showed no meaningful improvement, and squircles have been in the UI from the beginning without degrading performance on the reference hardware (Intel Xeon Mac Pro). The existing GPU probe and appearance.modernUiFeatures fallback remain the mechanism for GPUs that genuinely cannot rasterize the masks (notably the Intel UHD 630) — the fallback is per-GPU pragmatism, not a judgement on the design.

  2. Interactive controls do not carry hover drop shadows. The beta.3 ribbon "hover lift" (a 150 ms box-shadow transition on every big ribbon button, with the group clip removed so the shadow could spread) was removed in #567 rather than optimised: mousing along the ribbon produced a continuous train of overlapping shadow repaints with damage rects spilling across group boundaries, and the shadow was judged unnecessary chrome besides. Hover feedback is carried by surface and border-colour changes, which are cheap and stay. A future control wanting "lift" should reach for a compositable effect (opacity cross-fade of a pre-rendered layer) — and first ask whether it wants lift at all.

Rejected alternatives

  • Dropping squircles app-wide for performance — rejected: measurement cleared them, and they are a deliberate part of the product's identity.
  • Keeping the ribbon shadow but optimising it (pre-rendered shadow on a pseudo-element, cross-faded via opacity) — viable technically, rejected on design grounds: the shadow was not wanted.

Where the evidence lives

The beta.3 investigation and A/B methodology are on the epic (#556) and the Electron A/B issue (#557); the removal itself is #567.

Clone this wiki locally