Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kyp44 opened this issue May 14, 2024 · 2 comments
Labels
a:widgets Implementation of widgets (from std-widgets.slint) and their styles (mF,bS)

Comments

@kyp44
Copy link

kyp44 commented May 14, 2024

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.

@FloVanGH FloVanGH added the a:renderer-software Software Renderer (mO,bF) label May 15, 2024
@FloVanGH
Copy link
Member

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

@kyp44
Copy link
Author

kyp44 commented May 15, 2024

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

@ogoffart ogoffart added a:widgets Implementation of widgets (from std-widgets.slint) and their styles (mF,bS) and removed a:renderer-software Software Renderer (mO,bF) labels Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:widgets Implementation of widgets (from std-widgets.slint) and their styles (mF,bS)
Projects
None yet
Development

No branches or pull requests

3 participants