tauri-apps / tauri-apps/plugins-workspace
[bug] no notifications in gnome 46+ (eg fedora 41 and ubuntu 24.04)
- Dominant language
- Rust
- Stars
- 1.8k
- Forks
- 602
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 9
Description
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
```rust
#[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:
```json
"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"
]
```
Contributor guide
Assessment
This issue has not been assessed yet.