slint icon indicating copy to clipboard operation
slint copied to clipboard

`Spinner` does not render at all in Windows or when using the `winit-software` back end

Open kyp44 opened this issue 1 year ago • 2 comments

The Spinner component does not seem to render at all on Windows or when using the winit-software back end in Linux. I've created an example project here in Rust.

In Linux, the Spinner renders just fine using the default back end, but does not render at all after running with

export SLINT_BACKEND=winit-software

Likewise, it does not render when running in Windows after cross-compiling using the x86_64-pc-windows-gnu target in cargo.

Note that the animated rectangle works in all cases. I know that the Spinner widget is relatively new (Nov 2023), so perhaps this was never adequately tested with software rendering or in Windows.

kyp44 avatar May 14 '24 17:05 kyp44

Hi, and thank you for your report. The Spinner uses Path that is currently not supported by the software renderer.

FloVanGH avatar May 15 '24 04:05 FloVanGH

For tracking purposes, here is the issue relating to the Path issue.

kyp44 avatar May 15 '24 17:05 kyp44