Bartłomiej Maryńczak
Bartłomiej Maryńczak
That's a cool idea, but I'm pretty sure the supplied code does not work, the future will resolve immediately after click event and return None. And as far as I...
Even if you fix that, what's your plan for handling dialog cancelation? It does not trigger onChange as far as I remember
Sure, but let's make it a runtime feature, the amount of compile time flags is getting annoying 😅
Please run with `--timings` and supply the output: For example this is my output for stable 1.71.0 (`cargo build --release --timings --no-default-features --features xdg-portalr`): 
> Same issue for me on Arch + i9-12900HK: > ```toml > rfd = { version = "0.11.4", default_features = false, features = [ > "xdg-portal", > ] } >...
Ok, got it, reproduced by building this code snippet in release: ```rs use ashpd::desktop::file_chooser::SaveFileRequest; use std::future::Future; struct SomeStruct; pub trait SomeTrait { fn some_method(self) -> Box; } impl SomeTrait for...
So... it works in 1.71 And will not work until 1.73 probably, rustc issue https://github.com/rust-lang/rust/issues/115297
Thanks, good to know
Most likely fixed in new rust version https://blog.rust-lang.org/2023/09/19/Rust-1.72.1.html
For me everything besides gitkraken work flawlessly (but that's not this project specific issue, I have it on gnome too)