https://bugs.kde.org/show_bug.cgi?id=506633
Bug ID: 506633 Summary: Notifications with actions never close upon expiry even when they don't go to history Classification: Plasma Product: plasmashell Version First 6.4.0 Reported In: Platform: Other OS: Other Status: REPORTED Severity: major Priority: NOR Component: Notifications Assignee: plasma-b...@kde.org Reporter: spleefe...@gmail.com CC: k...@privat.broulik.de Target Milestone: 1.0 https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2178 This PR made it that notifications with actions that expire automatically are never announced as closed until the PID that sent them closes. This completely broke my application that waits for a close event from the notifications it sends. One can repro this with sdbus and python while listening to dbus to see close notifications. I understand the point behind the PR but it should not apply to notifications which do not end up in history. #!/usr/bin/env python """gdbus monitor --session --dest org.freedesktop.Notifications --object-path /org/freedesktop/Notifications""" from __future__ import annotations import time from sdbus_block.notifications import FreedesktopNotifications as FreedesktopNotifications_blocking notifier = FreedesktopNotifications_blocking() # Works actions = [] notifier.notify( app_name='Nyx', summary="foo", body="abc", expire_timeout=1500, actions=actions, hints=notifier.create_hints(urgency=1)) # Broken actions = ['test', 'Test'] notifier.notify( app_name='Nyx', summary="foo", body="def", expire_timeout=1500, actions=actions, hints=notifier.create_hints(urgency=1)) while True: time.sleep(500) -- You are receiving this mail because: You are watching all bug changes.