You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[bug] Setting resizable(false) when using WebviewWindow::builder on macOS causes the application to consume excessive CPU, ultimately leading to the program freezing and becoming unresponsive.
#11308
Closed
suxiaoshao opened this issue
Oct 10, 2024
· 3 comments
Setting resizable(false) when using WebviewWindow::builder on macOS causes the application to consume excessive CPU, ultimately leading to the program freezing and becoming unresponsive.
code:
let window = WebviewWindow::builder(app,"main", tauri::WebviewUrl::App("/".into())).title("ChatGPT").inner_size(800.0,600.0).fullscreen(false).resizable(false).transparent(true);
The problem is triggered only when you have no .window-state.json file. Try delete the file and test again. The path is `~/Library/Application Support/[appid]/.window-state.json`.
Anyways, I think you can keep this issue closed as this is not a tauri problem.
Describe the bug
Setting
resizable(false)
when usingWebviewWindow::builder
on macOS causes the application to consume excessive CPU, ultimately leading to the program freezing and becoming unresponsive.code:
Reproduction
No response
Expected behavior
No response
Full
tauri info
outputStack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: