Skip to content

[bug] tauri-plugin-notification Linux Fedora 41 #2566

Open
@giovannifranco1

Description

@giovannifranco1

I'm experiencing an issue where the plugin does not work on Fedora 41. The system is properly set up with GTK, and all dependencies seem to be in place. However, when I try to use the plugin, nothing happens—there are no logs or error messages to help diagnose the issue.

  • Node: v20
  • Gnome 47
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
    tauri::Builder::default()
        .plugin(tauri_plugin_notification::init())
        .plugin(tauri_plugin_opener::init())
        .invoke_handler(tauri::generate_handler![open, notification])
        .setup(|app| {
            println!("setup");

            use tauri_plugin_notification::NotificationExt;
            app.notification()
                .builder()
                .title("Tauri")
                .body("Tauri is awesome")
                .show()
                .unwrap();

            Ok(())
        })
        .run(tauri::generate_context!())
        .expect("error while running tauri application");
}

Permissions:

"permissions": [
    "core:default",
    "opener:default",
    "core:menu:default",
    "core:window:allow-minimize",
    "core:window:allow-maximize",
    "core:window:allow-close",
    "core:window:allow-unmaximize",
    "core:window:allow-show",
    "notification:default",
    "notification:allow-notify",
    "notification:allow-check-permissions",
    "notification:allow-show",
    "notification:allow-batch"
  ]

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