Skip to content

[opener] Freeze when using third party file manager #2997

@LuCa-0

Description

@LuCa-0

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<R: Runtime>(app: tauri::AppHandle<R>, 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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions