summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-04-17 09:41:17 +0200
committerFlorian Bruhin <me@the-compiler.org>2021-04-17 10:44:35 +0200
commitbdf9f121eeae7fff3971184993a5f1b7bebc18f8 (patch)
treec110f9e0a0fe728466bc40aca9eab0850533e540
parent292337fbdd2a525f6d0294ec35aa4877f459d730 (diff)
downloadqutebrowser-bdf9f121eeae7fff3971184993a5f1b7bebc18f8.tar.gz
qutebrowser-bdf9f121eeae7fff3971184993a5f1b7bebc18f8.zip
notifications: Ignore KDE's ExcessNotificationGeneration
(cherry picked from commit 9fdfd3b4c02be01824900c5e548994495be4ccea)
-rw-r--r--qutebrowser/browser/webengine/notification.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/qutebrowser/browser/webengine/notification.py b/qutebrowser/browser/webengine/notification.py
index 356dfe07c..f5ebbe826 100644
--- a/qutebrowser/browser/webengine/notification.py
+++ b/qutebrowser/browser/webengine/notification.py
@@ -699,6 +699,11 @@ class DBusNotificationAdapter(AbstractNotificationAdapter):
# https://gitlab.gnome.org/GNOME/gnome-flashback/-/blob/3.40.0/gnome-flashback/libnotifications/nd-daemon.c#L178-187
# Exceeded maximum number of notifications
"org.freedesktop.Notifications.MaxNotificationsExceeded",
+
+ # https://bugs.kde.org/show_bug.cgi?id=409157
+ # https://github.com/KDE/plasma-workspace/blob/v5.21.4/libnotificationmanager/server_p.cpp#L227-L237
+ # Created too many similar notifications in quick succession
+ "org.freedesktop.Notifications.Error.ExcessNotificationGeneration",
}
def __init__(self, parent: QObject = None) -> None: