21st of March 2022 to 27th of March 2022

Slint is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. We support multiple programming languages, such as Rust, C++, and JavaScript. Find more information at https://slint-ui.com/ or go straight to github at https://github.com/slint-ui/slint

Slint UI Library

Keyboard handling on the Web

The big feature this week was making text input fields work with mobile browsers. This is done by adding an hidden <input> element to the WASM GL backend, which makes the browser show the virtual keyboard. This has been a pain point ever since the mobile WASM support was added.
As a result, you can now type text in our gallery or todo examples in mobile browsers.

PRs: #1086, #1101

Graphics Optimizations

The Open GL backend saw performance optimizations this week.

Animations are more targeted now: Instead of the content of all windows getting invalidated on an animation tick, only those that actually contain the animation get redrawn now. (#1087)

We added a cache-rendering-hint property to the Slint language, that you can set on any element. It provides a hint to the renderer that the element and all of its children should be rendered into a cached layer texture (#1075). For complex sub-trees of elements that rarely change, this can speed up rendering performance a lot. This is implemented for the GL as well as the Qt renderer.

New Features



42 patches were committed by 4 authors.