slint-ui/slint · error

this renderer does not track transforms for partial renderin

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.

Source

Thrown at internal/core/item_rendering.rs:659

                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);

    fn save_state(&mut self);
    fn restore_state(&mut self);

    /// Returns the scale factor
    fn scale_factor(&self) -> ScaleFactor;

    /// Draw a pixmap in position indicated by the `pos`.
    /// The pixmap will be taken from cache if the cache is valid, otherwise, update_fn will be called
    /// with a callback that need to be called once with `fn (width, height, data)` where data are the
    /// RGBA premultiplied pixel values
    fn draw_cached_pixmap(
        &mut self,

View on GitHub (pinned to 3fd8f2ec03)

Solutions

  1. Use a renderer that supports transform tracking for partial rendering.
  2. 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@3fd8f2ec03 (2026-08-19). Data as JSON: /api/errors/264c6dc2643e1f4e. Report an issue: GitHub.