hex/tests/golden/screenshot-editor-marks-light.png
Dax a9f992004f
linux: round a Wayland window's bottom corners (#1981)
* linux: round a Wayland window's bottom corners

Bump Rune to 431469b999268a56ef7fbc60ed55975753ee22df. Under GNOME Wayland
winit draws the client-side frame, whose headerbar rounds the top corners and
whose shadow cuts a 10-point rounded window, but the content's surface stayed
square: the bottom corners showed past the frame's border and the border's
straight bands crossed the shadow's cut-out (#1779).

Rune (#1188) rounds the content's bottom corners with the frame while the
window floats, and keeps them square when it is maximized, tiled or
fullscreen; a compositor that draws the decorations itself (KDE, sway,
Hyprland) keeps the surface it had. Patch sctk-adwaita from the same rev as
winit, since Rune's winit calls the vendored frame's
`AdwaitaFrame::content_corner_radius`.

The rev also carries Rune's macOS/iOS/Linux build fix after the crate
extractions (#1203), and its wheel fix (#1214): a wheel over a scroll bar now
scrolls the viewport it follows, so Hex's wheel-over-the-right-edge tests keep
their positions.

The bump brings the type-erased `window::Host` and window/ reorganisation,
the rune-core/rune-gpu/rune-image/rune-spell extraction, then rune-text,
rune-media and rune-edit, the non-generic `RuntimeCore`, windows-sys 0.61,
deep Taffy stack segments, one flatten and one detached-table prune, the new
wheel distance and chaining, and text, markdown and scroll fixes. No Hex call
sites changed.

Goldens are refreshed for Rune's visuals: the OpenCode icon catalog's marks
(terminal, search, keyboard, globe) in every pane and overlay, and the
shortcut-mode bars from Rune's border-over-fill change.

cargo check --all-targets, cargo test (2811 passed), cargo clippy
--all-targets --all-features, cargo fmt --check, code-shape.py,
check-nix-git-pins.py and its tests, nix build of the cargoDeps, and
cargo test rune_ui all pass.

* history: read Dictation stats from the window's settings

The pane closed its stats dialog and reloaded the rollup from the
process-wide labs switch. A test that applies another LabsSettings (as
several do) flips that mirror under it, so the dialog vanished mid-test.
Take the window's own `settings.labs.history_stats` instead, as the Stats
button and the dialog already do.

* nix: vendor Rune's fonts for rune-text, and run the suite serially

Rune's crates/rune-text includes crates/rune/assets/Inter-*.ttf by a path
relative to the workspace root; a vendored crate sits in git/ beside
rune-0.0.1, so link git/rune to it for the include.

The package check also runs plain cargo test, which shares Hex's
process-global lab switches and model-download state. nextest isolates
each test everywhere else, so run this one test at a time.

* goldens: refresh the meeting capsules on Rune's icons

Dev's capsule layout moved the time and close button above the title; with
Rune's icon catalog the copy-agent-prompt mark is the boxed terminal. Only
those four renders change.

* nix: run the package check one test at a time the hook's way

`preCheck` runs before cargoCheckHook, which then sets
RUST_TEST_THREADS=$NIX_BUILD_CORES, so the export there was a no-op and the
suite still raced on its process-global state. Set
dontUseCargoParallelTests instead, and take the rune vendor directory's name
from its cargoGitDependencies key, failing loudly if its assets are missing.
Drop the link once Rune moves the fonts into rune-text.
2026-11-19 05:18:55 -05:00

42 KiB
1920x1280px