Skip to content

Notifications always disappear after 5 seconds - Linux & Dunst #4084

Description

@llitz

Wire for web version

2020-07-24-13-46

Browser version

Chromium 84.0.4147.89
Firefox 78.0.2

Installed browser addons

Disabled all of them while wire is running

Operating system

Linux - Gentoo (should be replaceable on any distribution)
Relying on dunst for messages (1.4.1)

What steps will reproduce the problem?

Receive a message on wire webapp not currently focused.
Chrome (configured for desktop notifications) and firefox will use dbus to send a notification
After 5 seconds, Wire sends a command to close notification
Browser follows up and the notification is closed

What is the expected result?

Notification should only be removed when the message is read, either in another device or on the browser tab.

What is the actual result?

Browser still has an unread notification but is forcefully removing the notification from system-tray.

Apparently we have it hard-coded to timeout a notification after 5 seconds.
This is confirmed via a dbus message for NotificationClosed.
Perhaps it would be better to attach the removal of this notification to when we update the chat conversation symbol for unread messages for that person.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions