https://bugs.kde.org/show_bug.cgi?id=361025

            Bug ID: 361025
           Summary: Using notification.createNotification({"timeout":
                    2000}) instead of {"expireTimeout": ...}
           Product: kdeplasma-addons
           Version: 5.5.4
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: timer
          Assignee: plasma-b...@kde.org
          Reporter: zrenf...@gmail.com

The notification remains in the systray until the user dismisses it. It does
hide, but a (1) stays in the systray until you deal with it.

The timer applet currently uses the "timeout" key:
https://github.com/KDE/kdeplasma-addons/blob/master/applets/timer/package/contents/ui/main.qml#L76

When currently, the datasource notification.createNotification only supports
"expireTimeout":
https://github.com/KDE/plasma-workspace/blob/master/dataengines/notifications/notifications.operations#L29

It looks like it changed from "timeout" to "expireTimeout" here:
https://github.com/KDE/plasma-workspace/commit/a12bb76502952749c069b9ab70ac61ee1353079b#diff-236026257e1c90327fc3db97f089c673L23

I tested using "expireTimeout" in my own applet, and the notification dismisses
properly.

Reproducible: Always

Steps to Reproduce:
Start a timer, wait for it to finish, notification appears.

Actual Results:  
Notification hides, but stays in systray history until manually dismissed.

Expected Results:  
Should just disappear.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to