-
-
Notifications
You must be signed in to change notification settings - Fork 250
Open
Labels
Description
Describe the bug
When I try to minimise an app with the native MacOS keyboard shortcut Cmd+M, the app crashes
Platform and Versions (please complete the following information):
OS: MacOS Sequoia 15.3.2 (24D81)
Rustc: rustc 1.87.0-nightly (43f0014ef 2025-03-25)
Additional context
Could be related to Tauri events, as the backtrace points to this snippet in the app code
self.app.run(|#[allow(unused)] handle, event| match event {
tauri::RunEvent::ExitRequested { api, .. } => {
api.prevent_exit();
}
#[cfg(target_os = "macos")]
tauri::RunEvent::Reopen { .. } => {
let handle = handle.clone();
tokio::spawn(async move { windows::all_windows_focus(&handle).await });
}
_ => (),
});
}
Attached a full backtrace obtained with RUST_BACKTRACE=full