slint-ui/slint · error
this renderer does not track transforms for partial…
Error message
this renderer does not track transforms for partial rendering
What it means
Error "this renderer does not track transforms for partial rendering" thrown in slint-ui/slint.
Solutions
- Use a renderer that supports transform tracking for partial rendering.
- Disable partial rendering with this renderer.
When it happens
Trigger: Thrown at internal/core/item_rendering.rs:659 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of slint-ui/slint@3a7e700487 (2026-08-19).
Data as JSON: /api/errors/264c6dc2643e1f4e.
Report an issue: GitHub.
Appendix: source
Thrown at internal/core/item_rendering.rs:679
) -> RenderingResult {
if clip_item.clip() {
let (clip_rect, clip_radius) =
clip_content_box(size, clip_item.logical_border_radius(), clip_item.border_width());
let clip_region_valid = self.combine_clip(clip_rect, clip_radius);
// If clipping is enabled but the clip element is outside the visible range, then we don't
// need to bother doing anything, not even rendering the children.
if !clip_region_valid {
return RenderingResult::ContinueRenderingWithoutChildren;
}
}
RenderingResult::ContinueRenderingChildren
}
/// Clip the further call until restore_state.
/// (FIXME: consider removing radius and have another function that take a path instead)
/// Returns a boolean indicating the state of the new clip region: true if the clip region covers
/// an area; false if the clip region is empty.
fn combine_clip(&mut self, rect: LogicalRect, radius: LogicalBorderRadius) -> bool;
/// Get the current clip bounding box in the current transformed coordinate.
fn get_current_clip(&self) -> LogicalRect;
fn translate(&mut self, distance: LogicalVector);
/// Returns the accumulated local-to-screen transform, including
/// translate, scale, and rotate.
fn current_transform(&self) -> crate::lengths::ItemTransform {
todo!("this renderer does not track transforms for partial rendering")
}
fn rotate(&mut self, angle_in_degrees: f32);
fn scale(&mut self, scale_x_factor: f32, scale_y_factor: f32);
/// Apply the opacity (between 0 and 1) for all following items until the next call to restore_state.
fn apply_opacity(&mut self, opacity: f32);
/// Returns true when the opacity accumulated via [`Self::apply_opacity`] is zero.
fn global_alpha_transparent(&self) -> bool {
false
}View on GitHub (pinned to 3a7e700487)