Repeated panel updates rebuilt unchanged controls and SVG artwork, cloned composition data, and kept unused workspace icon resources. This reuses controls when their layout stays the same, bounds the SVG cache, removes temporary layout allocations, and releases icon resources when apps close or the workspace style changes. Rapidly closing a modal could also leave a native surface behind when its asynchronous creation finished after the close. Late openings now get destroyed when their owner is gone. Ferese uses the published `ferese-v0.1.2` Iced/libcosmic fixes so a temporary software buffer/viewport size mismatch retries the frame instead of crashing. Two runs per version of the same workspace/overview/reload workload measured **26% fewer allocated bytes and 23% fewer allocation calls**. A separate 1,800-cycle notification/modal stress run retained about **40 MiB less shell memory**, including shared-buffer retention falling from 28.2 MiB to 272 KiB. These are measured workload results, not an overall desktop speedup claim. Validation: - 1,350 workspace tests passed, including GPU Settings text rendering (50 optional tests ignored); formatting and Clippy passed. - Native continuous/island panel tests passed rapid notification resizing, modal cancellation, and live material/input-region changes. - A Wayland lifetime trace confirmed all 280 created modal surfaces were destroyed; longer DHAT traces and Intel GPU memory measurements were checked separately. - All installation binaries rebuilt and the installation bundle passed inventory and checksum verification.
Ferese theme
This crate supplies the shared native UI theme used by the shell, settings, lock screen, authentication prompt and screen-sharing/recording chooser.
Paletteresolves KDL colors and corners and builds the native toolkit theme.PRESETSdefines twelve variants in six families.fontandtextprovide shared font selection and text.gallerysupplies split theme tiles, accessible radio groups and keyboard navigation.controlssupplies surfaces, navigation, font-aware text buttons and input styles.menussupplies headings, rows, sections, separators, switches and slider styles.calendarsupplies date/time labels, stacked clock digits and calendar grids. Callers supply the date and navigation controls.iconsowns the shared SVG assets, outline icons, sizing and semantic tinting.- Contrast helpers keep filled controls readable in every interaction state.
material::ModalMaterialattaches a dialog to the compositor's shell material. Keep the attachment alive with its window and make the client background transparent after attachment succeeds. Other compositors retain the client fill.
Each application supplies its layout, data, actions and animation progress. Add styles used by several apps to the shared components.
let palette = ferese_theme::Palette::from_document(Some(&document));
let native_theme = palette.native_theme();
let input_style = ferese_theme::controls::settings_input(palette);
let font = ferese_theme::font(Some("Inter"));
let label = ferese_theme::text("Appearance", font);
Backdrop blur and material rendering happen in the compositor. This crate does not reproduce those effects on the client.