Replies: 3 comments 9 replies
-
(I converted the issue into a discussion to keep our bug tracker for actual bugs and feature request) In order to debug that, you can try to attach a debugger to the process and try to find out what its doing by getting a backtrace for all threads. Is one thread using 100% of the CPU? |
Beta Was this translation helpful? Give feedback.
-
In my case, I used https://github.com/slint-ui/slint-rust-template template project and tried to create a file picker dialog which resulted in the same issue (app freezing). I tried to force downgrade slint to "1.2" and "1.1" but it didn't fix the issue. Only downgrading rfd from "0.13.0" to "0.12.0" worked |
Beta Was this translation helpful? Give feedback.
-
Try to run it on a separated thread? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm using the rfd crate to create a Save Dialog for my slint application on Windows 10.
The Save Dialog works perfectly except when I select an existing file and click the save button (on the save dialog).
The Save Dialog stays open and both the Slint UI and the Save Dialog lock up refusing to respond to buttons and controls.
Nothing can stop the process except 'kill terminal' in VSCode.
A simple test project with just the rfd crate ...and Save Dialog works fine.
The overwrite file message box opens and the Save Dialog closes if user responds to 'Overwrite existing file?' with 'Yes' as expected!
I put the rfd code inside a closure that runs when a slint save button is pressed
I'm not sure if this is some bug in slint, rfd or am I doing something incorrectly?
EDIT: Today I tried compiling on Linux Mint 21.2, Cinnamon v5.8.4, Linux Kernel: 5.15.0-88-generic.
On Linux everything works fine, No issues at all! I will post this issue to RFD git as well because now it seems more likely that the problem is coming from the rfd crate.
Beta Was this translation helpful? Give feedback.
All reactions