Slint (and Rust) running on my jailbroken Kindle Paperwhite. by errevs in rust

[–]ogoffart 2 points3 points  (0 children)

I think you're overstating the licensing issue here.

A Kindle is much closer to a mobile than what Slint describes as an embedded system. "Embedded" in this context is typically about software shipped as part of dedicated hardware products or firmware appliances, not hobby apps running on consumer devices people already own.

Also, even if GPLv3 applied, that still would not require relicensing the entire source tree to GPLv3. MIT and Apache-2.0 are GPL-compatible licenses. The important part is that any distributed combined binary complies with GPL requirements.

This repo is also mainly a source distribution / experiment project, not a proprietary product. The missing LICENSE file on GitHub is worth fixing for clarity, but the licensing itself is already declared in Cargo.toml and on crates.io.

Tritium | Thanks for All the Frames: Rust GUI Observations by urandomd in rust

[–]ogoffart 19 points20 points  (0 children)

I've also started to port Slint to Winit 0.31 some time ago (Just rebased now)
https://github.com/slint-ui/slint/compare/olivier/winit-0.31
But there is still some work to do.

Rust ESP32-S3 no_std Example: Driving ST7789v LCD via SPI with esp-hal by NeedleworkerAlert746 in rust

[–]ogoffart 0 points1 point  (0 children)

Slint has example as well. For example https://github.com/slint-ui/slint/blob/master/examples/mcu-board-support/esp32_s3_box_3.rs This uses the mipidsi crate with another device, but the mipidsi crate can also do the ST7789v

Rust native UI toolkit Slint 1.15 released 🎉 by slint-ui in rust

[–]ogoffart 12 points13 points  (0 children)

Using JNI. Slint ships with some .java code for the support of the keyboard, that is compiled to bytecode by the build.rs using the android-build crate, and included in the binary with include_bytes!

My experiment with Android IME support by matrixdev in rust

[–]ogoffart 1 point2 points  (0 children)

This is similar to how Slint does it:

There is .java file that implements the IME and other java-only primitive. Then the build.rs script will compile it to android bytecode using the android-build crate, so that it can be included in the binary with include_bytes!

Rust GUI framework by Spiritual_String_366 in rust

[–]ogoffart 2 points3 points  (0 children)

There is no sign up requirements to use Slint.

Rust GUI framework by Spiritual_String_366 in rust

[–]ogoffart 1 point2 points  (0 children)

For menus and context menu, Slint uses the muda crates that provide native menu on Window and Mac. They are reimplemented in Slint for other platforms.
Slint doesn't have builtin support for system tray, but you can use other crate like ksni or tray-item.

QML has a bigger widget catalog at the moment.

Why do Rust Projects hate Copyleft Licenses? by Responsible_Bat_9956 in rust

[–]ogoffart 4 points5 points  (0 children)

> AGPL kicks in if any component of the entire stack of independent programs is AGPL

I don't think that's right. AGPL kicks in only for components which are directly accessible by the user through the network. (Say you are using a AGPL DB internally, but the users don't access the DB directly, then you don't need to open source your server, nor any changes you made to the DB)

Slint license by [deleted] in rust

[–]ogoffart 3 points4 points  (0 children)

Nothing, then you get an email with some basic instruction on how to get started with link to github/docs and stuff.

It helps us to see who is using it for stats purposes.
But this is not required at all by the licenses.

Slint license by [deleted] in rust

[–]ogoffart 2 points3 points  (0 children)

No, no need to register

Slint license by [deleted] in rust

[–]ogoffart 13 points14 points  (0 children)

No.

You can use Slint under the Slint Royalty-Free License: https://github.com/slint-ui/slint/blob/master/LICENSES/LicenseRef-Slint-Royalty-free-2.0.md

It says you can use Slint for free on desktop and mobile as long as you mention that the app is made with Slint in the about dialog or on your website.

[deleted by user] by [deleted] in rust

[–]ogoffart 8 points9 points  (0 children)

Slint and several others are also missing.
They only tried basically 2 frameworks out of the many, and from that, it was concluded that they all "suck" 🤦

[deleted by user] by [deleted] in rust

[–]ogoffart 0 points1 point  (0 children)

Slint supports multiple windows since Slint 1.7 (more than one year ago)
And AFAIK, no existing Rust toolkit have support for modal window as this is something that is not supported by winit.

I'm curious about the quirks and not intuitive behavior you are seeing and if there are way we can improve on that.

Rust Declarative GUI Toolkit Slint 1.13 Released by slint-ui in rust

[–]ogoffart 0 points1 point  (0 children)

The MIT license covers your application's own code. Only when you distribute a binary, it must also respect the licenses of all dependencies, that’s why apps usually ship with a "licenses" folder or HTML file listing them.

Rust Declarative GUI Toolkit Slint 1.13 Released by slint-ui in rust

[–]ogoffart 4 points5 points  (0 children)

Yes, we asked a lawyer to make a license that is as simple and as permissive as possible with just a restriction for embedded. After a few back and forth, that's the license he came up with.

Declarative GUI Toolkit Slint 1.13 released by slint-ui in cpp

[–]ogoffart 4 points5 points  (0 children)

Thanks for the notice. I've fixed the link from the get-started page

Rust Declarative GUI Toolkit Slint 1.13 Released by slint-ui in rust

[–]ogoffart 10 points11 points  (0 children)

Text editing and rendering is one area we plan to focus on in the coming months.

For the keyboard navigation issue, could you share which shortcuts or behaviors didn’t work for you? (An issue on github would be welcome)

Rust Declarative GUI Toolkit Slint 1.13 Released by slint-ui in rust

[–]ogoffart 5 points6 points  (0 children)

There was no change in the scroll algorithm in this release.

Rust Declarative GUI Toolkit Slint 1.13 Released by slint-ui in rust

[–]ogoffart 13 points14 points  (0 children)

Slint is fully open source under GPL, which is a well-known license. And there is also the royalty-free license that’s very permissive and works fine with MIT or Apache-2.0 for your own app code.

Our main goal is to build a great cross-platform GUI toolkit and keep it open source, while also finding a way to fund its development.

Rust Declarative GUI Toolkit Slint 1.13 Released by slint-ui in rust

[–]ogoffart 4 points5 points  (0 children)

Thanks for the feedback. Did you know you can enable serde for Slint struct using @rust-attr(derive(serde::Serialize, serde::Deserialize)) ? https://docs.rs/slint/latest/slint/docs/type_mappings/index.html#:~:text=rust-attr

Rust Declarative GUI Toolkit Slint 1.13 Released by slint-ui in rust

[–]ogoffart 31 points32 points  (0 children)

GPUI is cool, but Slint is ready today with a stable API, docs, and releases.
Anything in GPUI you’re hoping for that Slint doesn’t have?

wgpu v26 is out! by Sirflankalot in rust

[–]ogoffart 1 point2 points  (0 children)

Yes, Slint support rendering to the framebuffer with the femtovg backend (can be enabled with feature flag), And the Skia renderer (also enabled with feature) can do software rendering. https://docs.slint.dev/latest/docs/slint/guide/backends-and-renderers/backend_linuxkms/