xfce4-notifyd config settings are not honoured for notifications with priority high or urgent
Submitted by Carlos Alberto Lopez Perez
Assigned to Simon Steinbeiß @ochosi
Description
xfce4-notifyd-config allows to set a not disturb mode, or set a timeout in second for the notification to disappear or tu mute specific applications.
Well, none of this setting has any effect for any application sending notifications with high or urgent priority.
https://developer.gnome.org/gio/stable/GNotification.html#GNotificationPriority
Priority critical is what the documentation of the GIO API recommends to use for real time applications like Chats, IRC, etc.
So its kind of annoying not being able to set the timeout or to mute this notifications.
Example of test program:
#!/usr/bin/env python import gi gi.require_version('Gio', '2.0') from gi.repository import Gio Application=Gio.Application.new ("hello.world", Gio.ApplicationFlags.FLAGS_NONE); Application.register (); Notification=Gio.Notification.new ("Hello world"); Notification.set_body ("This is an example notification."); Icon=Gio.ThemedIcon.new ("dialog-information"); Notification.set_icon (Icon); Notification.set_priority(Gio.NotificationPriority.HIGH) Application.send_notification (None, Notification);
This will cause the notification to appear (without any timeout) no matter what you set on the config of xfce4-notifyd-config (even with "dont disturb" mode enabled).
Version: 0.3.4