tauri-apps / tauri-apps/plugins-workspace

[opener] Freeze when using third party file manager

Open
#2,997 0 comments 0 reactions 0 assignees View on GitHub
platform: windows plugin: opener type: bug
Dominant language
Rust
Stars
1.8k
Forks
602
Avg merge
4d 14h
Merged PRs (30d)
9

Description

Hi!
I noticed that on my computer on which I have OneCommander set as the default file manager (instead of explorer) when I call
```
#[tauri::command]
pub fn open_path(app: tauri::AppHandle, path: PathBuf) {
if let Err(e) = app.opener().open_path(path.to_string_lossy(), None::<&str>)
{
tracing::error!("Failed to open path: {}", e);
}
}
```
the application completely freezes and there is no way to recover. I think this is an incompatibility of the opener plugin with third party file managers as this doesn't happen on other windows PCs with only the default explorer.
If this could be fixed it would be much appreciated, thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.