-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] app unresponsive after some plugin API calls (tauri 2.0) #7673
Comments
I am seeing the same happen after I call |
Thanks for the report! We're currently all out of office so there may be a bit of an delay but for what it's worth, i see the same behavior on macos. |
The issue appears to be related to the IPC mixing up the |
I've confirmed that changing the command argument name from #[tauri::command]
pub async fn create<R: Runtime>(app: AppHandle<R>, optx: WindowConfig) -> Result<()> {
tauri::window::WindowBuilder::from_config(&app, optx).build()?;
Ok(())
} Even just when setting an argument to #[tauri::command]
fn greet(options: &str) -> String {
format!("Hello, {}! You've been greeted from Rust!", options)
} So yea the issue appears to be that the IPC is unpacking the tauri/core/tauri/scripts/ipc-protocol.js Line 47 in af3268a
|
Not sure if that's related, but on 2.0.0-alpha.10, running
in javascript code gives me the following error message (same for
BUT on 2.0.0-alpha.11, this call works! Unfortunately, I cannot update because of this bug... |
Describe the bug
I have a tauri-2.0 project project on Windows 11 that uses (amon others) the "dialog" and "window" plugins. With version 2.0.0-alpha.0 of those plugins and tauri 2.0.0-alpha.10, everything worked as expected.
After updating to
the app (browser and dev-tools) becomes completely unresponsive after some API-calls.
Reproduction
Expected behavior
The app continues to accept user input after an API call
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: