https://bugs.kde.org/show_bug.cgi?id=510063
Bug ID: 510063
Summary: Notifications with action sent by gdbus call are
immediately closed, ignoring the timeout.
Classification: Plasma
Product: plasmashell
Version First 6.4.0
Reported In:
Platform: Neon
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Notifications
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
Created attachment 185367
--> https://bugs.kde.org/attachment.cgi?id=185367&action=edit
Output of dbus-monitor Plasma 6.4.5
SUMMARY
Starting with version 6.4.0, notifications created using gdbus call and
containing an action button are closed immediately.
If I replace '["test", "ok"]' with '[]' in the command from STEPS TO REPRODUCE
to remove the action, the notification is displayed correctly for the specified
time.
STEPS TO REPRODUCE
1. Run command: gdbus call --session --dest org.freedesktop.Notifications
--object-path /org/freedesktop/Notifications --method
org.freedesktop.Notifications.Notify -- test 0 '' 'test' 'test' '["test",
"ok"]' '{"urgency": <byte 2>}' '30000'
OBSERVED RESULT
The notification is automatically closed immediately.
EXPECTED RESULT
The notification should appear for 30 seconds.
SOFTWARE/OS VERSIONS
This behavior is observed in all KDE Neon 6.4 live iso images including the
latest unstable version:
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
ADDITIONAL INFORMATION
I recorded and attached the outputs of dbus-monitor on KDE Neon with Plasma
6.4.5 and 6.3.5. As you can see, on version 6.4, immediately after the
notification is created, it is declared closed due to expiration:
---
method call time=1759099105.950824 sender=:1.455 ->
destination=org.freedesktop.Notifications ...
signal time=1759099105.974725 sender=:1.34 -> destination=(null destination)
serial=8245 path=/org/freedesktop/Notifications;
interface=org.freedesktop.Notifications; member=NotificationClosed
uint32 127
uint32 1
---
1759099105 = 1759099105
--
You are receiving this mail because:
You are watching all bug changes.