Olivier Goffart

Results 270 comments of Olivier Goffart

If you're looking for other example of confusing language that can put attributes everywhere, we can take C++ ```cpp [[function]] auto [[type1]] my_function([[arg]] int [[type2]] * [[type3]] my_arg) [[function_type]] ->...

Ping I would like to use this crate in a no_std context. Is this crate still maintained?

Regarding the test case from @lethargy123, it seems the window has a fixed layout, so that explain why it cannot be resized. I've been trying with the weston compositor, and...

Thanks for filling a bug. Looks like the slint-lsp process fails to start. or somehow crash. Is there perhaps some error in the "Slint LSP" section of the "Output" tab...

Sadly this doesn't contain the stderror from the slint-lsp. This should be in another tab.

One way to fix this could be for the slint_build to have a global static object that remembers that it already wrote a file, and if that's the case, it...

Looks like we shouldn't unconditionally require critical-section in https://github.com/slint-ui/slint/blob/a61ca93cd121b080d6caf9e30e1336a04b7d1f07/internal/core/Cargo.toml#L58 and maybe also in once_cell, but we then need to enable it in some case. I wonder what's best here.

Regarding fluent, this can be done by using a global. The old documentation should five hint https://slint.dev/releases/1.0.2/docs/slint/src/recipes/recipes#translations So you would have in your code something like `text: Fluent.translate("my-text", ["FooBar"])` Other...

Thanks for the bug report. I can reproduce the issue. The problem is that the init callback is inlined in the wrong item tree. Most likely caused by https://github.com/slint-ui/slint/pull/4322 )