xfce4-notifyd doesn't log notifications by default

Asked by Marco

I was testing the Xubuntu daily ISO:
- xubuntu/daily-live/current/focal-desktop-amd64.iso.zsync
- xubuntu/bionic/daily-live/current/bionic-desktop-amd64.iso.zsync

And noticed that by default the xfce4-notifyd (notification panel plugin) comes with notification log disabled. This means that when you receive a notification it won't get logged.

Testcase:
- Boot live desktop
- Open Firefox and go to -> https://www.bennish.net/web-notifications.html
- Click "Authorize" and allow notifications
- Click "Show" to trigger a notification

Expected behaviour:
- Clicking the bell icon in the panel shows the notifications triggered by firefox

Actual Behaviour:
- No notifications logged

This can be fixed by activating "Log Notifications" to "Always" inside "Notifications" in "xfce4-settings-manager".

Is this behaviour correct?.

For me this means that if i'm not paying attention to my screen and receive a notification, it get lost forever without a chance to review and manually discard it.

(I also tested this with the non-dot-release 18.04 ISO)

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu xfce4-notifyd Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
Marco (codenamepicnic) said :
#2

Reported on xfce bugzilla: https://bugzilla.xfce.org/show_bug.cgi?id=16749

(But i'm not sure if this is a "problem" and if it should be resolved (?))

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Meanwhile the official iso file for focal has been published and the "daily-live"s are obsolete (for bionic already for two years).

I suggest that you try again with
http://cdimage.ubuntu.com/xubuntu/releases/focal/release/
http://cdimage.ubuntu.com/xubuntu/releases/bionic/release/
to verify whether this is a problem also on the official release, or only on the daily-live systems.

Revision history for this message
Marco (codenamepicnic) said :
#4

Downloaded both images from the url posted in #3 and booted into a vm. The defaults are the same in 18.04.04 and 20.04:

- Bionic -> xfce4-notifyd -> 0.4.2
- Focal -> xfce4-notifyd -> 0.4.4

This can also be checked booting with the Live User and reading this file ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml

I also tested this in my personal machine running Bionic:
- Create new user
- Login in the Xubuntu Session
- Repeat testcase in #1
- Same behaviour

This appears to be present in the defaults for the Xubuntu Session. The regular xfce session ask the user on first login if they want 1 panel or an empty panel, neither of those options has the xfce4-notifyd plugin addded by default.

I don't know if it's a bug or intended.

Can you help with this problem?

Provide an answer of your own, or ask Marco for more information if necessary.

To post a message you must log in.