Commit Graph
7 Commits
Author SHA1 Message Date
yamabush1 8809313be1 theme: replace Figma-exported launcher SVGs with renderer-compatible versions
CI / build + test (push) Has been cancelled
CI / cargo audit (push) Has been cancelled
The original exports used foreignObject (CSS backdrop-filter) and
feComposite in2="hardAlpha" filter chains — Figma-specific constructs
that resvg ignores, making all nine dots invisible at runtime.

Replace both dark and light variants with plain 3×3 grids of rx=3
rounded rects (white in dark mode, #0A032E in light mode). No filters,
no defs, fully renderable by resvg/tiny-skia.
2026-06-21 11:27:03 +02:00
yamabush1 68c6a87bf6 Support viewport-relative widget sizing
CI / build + test (push) Has been cancelled
CI / cargo audit (push) Has been cancelled
2026-06-04 12:38:59 +02:00
yamabush1 e40ab637a6 bench: add missing LaidOutWidget accessibility fields to lookup bench
CI / build + test (push) Has been cancelled
CI / cargo audit (push) Has been cancelled
benches/lookup.rs constructed LaidOutWidget without the accessible_label
and is_live_region fields added for accessibility, so cargo check
--all-targets failed to compile the bench. Set them to None / false.
2026-06-02 08:43:32 +02:00
yamabush1 34b3e76ac1 test: make button-paints-content render check theme-robust
CI / build + test (push) Has been cancelled
CI / cargo audit (push) Has been cancelled
The render_pixels button test rendered on a black canvas and asserted some
pixel differed from black. With no theme dir configured the active theme is
the embedded B/W fallback, whose Light mode defines accent (the button fill)
and text-primary as pure black on a white page — so a fallback button is
black-on-black and the assertion spuriously failed. Render on white instead:
the black fallback button stands out, and a real theme's saturated accent
also differs from white, keeping the structural check theme-independent.
2026-06-01 11:33:35 +02:00
yamabush1 f7ef932976 list_item: optional leading icon
CI / build + test (push) Has been cancelled
CI / cargo audit (push) Has been cancelled
Add a leading-icon slot to ListItem so settings-style rows can pair
a 24 px symbolic glyph with the label. `.icon( rgba, w, h )` takes
the same shape the rest of the toolkit uses for raw pixmaps; the
draw path reserves `ICON_SIZE + ICON_GAP` on the left and shifts
the label / subtitle text origin so existing icon-less rows render
unchanged.
2026-05-25 09:00:00 +02:00
yamabush1 9cc65e70ea fix(event_loop): walk error source chain for BrokenPipe in OtherError
CI / build + test (push) Has been cancelled
CI / cargo audit (push) Has been cancelled
The previous fix checked downcast_ref::<io::Error> directly on the
OtherError payload, but wayland-client wraps the io::Error inside
WaylandError::Io — one level deeper. Downcast failed, is_closed
stayed false, and the panic arm fired anyway.

Replace the single downcast with a source()-chain walk that finds
the io::Error at any depth, matching the same BrokenPipe /
ConnectionReset check already used for the direct IoError arm.
2026-05-18 20:48:35 +02:00
yamabush1 750eae7a93 fix(event_loop): exit cleanly on OtherError(BrokenPipe) from compositor
calloop surfaces the closed-socket condition either as
Error::IoError(BrokenPipe) — already handled — or as
Error::OtherError wrapping an std::io::Error with kind BrokenPipe,
which previously fell through to panic!(). Add a matching arm that
downcasts the inner error and treats both forms the same: log and
set exit_requested so the run loop terminates gracefully instead
of unwinding.
2026-05-17 18:31:12 +02:00