tauri-apps / tao

The TAO of cross-platform windowing. A library in Rust built for Tauri.
Apache License 2.0
1.5k stars 178 forks source link

Mac window freezes #641

Open TheButlah opened 1 year ago

TheButlah commented 1 year ago

I have a tauri application that works properly on windows and linux. Passing RUST_LOG=trace to them doesn't show anything abnormal.

On Mac however, I get this:

Screen_Shot_2022-12-09_at_1 10 18_AM

The application appears to display correctly - I see what I would expect to see when launching the app. But I cannot click on it or interact with it in any way. I have to force quit the app to get it to exit.

Source code is here

I havent tried with any of the example Tauri apps yet, I'll try that soon.

My guess was that the log spam is blocking the app and there is something that is spamming extraneous windowing events.

amrbashir commented 1 year ago

Please make a minimal repro app, with tao only if you think it is related to tao only.

ImUrX commented 1 year ago

This is a tauri-plugin-window-state issue, just verified by disabling it.

ImUrX commented 1 year ago

Mainly what gets triggered is resize events, so we will have to investigate how to detect this or just disable when using macOS