[snap] Thunderbird does not support native notifications on KDE Plasma Desktop

Bug #2056481 reported by Erich Eickmeyer
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Confirmed
High
Unassigned
xdg-desktop-portal (Ubuntu)
Confirmed
High
Unassigned

Bug Description

After testing and upgrading, I have discovered that the thunderbird snap does not support native notifications on KDE Plasma Desktop on either Kubuntu or Ubuntu Studio (same packages and desktop, really). This might be an issue with xdg-desktop-portal, so I'm also going to mark it as affected.

Changed in xdg-desktop-portal (Ubuntu):
importance: Undecided → High
summary: - [snap] Does not support native notifications on KDE Plasma Desktop
+ [snap] Thunderbird does not support native notifications on KDE Plasma
+ Desktop
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the report, I reported a similar issue upstream a while ago (from using Thunderbird under xfce),

https://bugzilla.mozilla.org/show_bug.cgi?id=1734826

Revision history for this message
Sebastien Bacher (seb128) wrote :

I've taken a bit of case to debug my xfce issue where I'm using notify-osd and it might be a different problem

What's the output of

$ gdbus call --session --dest org.freedesktop.Notifications --object-path /org/freedesktop/Notifications --method org.freedesktop.Notifications.GetCapabilities

in your environment?

In the notify-osd case it's missing the 'action' capability which was the problem but I expect that's probably not the case under KDE

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you also check the debug console in thunderbird and journal to see if there is any error?

Revision history for this message
Helga (hkrobo) wrote :

I believe I'm experiencing the same bug. It's more egregious on Wayland because messages appear in the middle of the screen rather than at the designated edge.
It looks like this (email address intentionally blurred):

Revision history for this message
Helga (hkrobo) wrote :

> could you also check the debug console in thunderbird and journal to see if there is any error?

This seems relevant (from stdout or stderr when running thunderbird from terminal):
[Parent 180849, Main Thread] WARNING: Failed to connect to proxy: 'glib warning', file /build/thunderbird/parts/thunderbird/build/toolkit/xre/nsSigHandlers.cpp:167

(thunderbird:180849): libnotify-WARNING **: 16:34:31.333: Failed to connect to proxy

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in thunderbird (Ubuntu):
status: New → Confirmed
Changed in xdg-desktop-portal (Ubuntu):
status: New → Confirmed
Revision history for this message
Helga (hkrobo) wrote :

> Thanks for the report, I reported a similar issue upstream a while ago (from using Thunderbird under xfce),
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=1734826

For the record, I don't think this is relevant with this bug. Native Thunderbird and Flatpak have native notifications on KDE Plasma.

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Hi Sebastien,

$ gdbus call --session --dest org.freedesktop.Notifications --object-path /org/freedesktop/Notifications --method org.freedesktop.Notifications.GetCapabilities

(['body', 'body-hyperlinks', 'body-markup', 'body-images', 'icon-static', 'actions', 'persistence',
'inline-reply', 'x-kde-urls', 'x-kde-origin-name', 'x-kde-display-appname', 'inhibitions'],)

And there was definitely something interesting in the debugger console:

mail.notification: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAlertsService.showAlert]
    _showAlert resource:///modules/MailNotificationManager.jsm:359
    _fillAlertInfo resource:///modules/MailNotificationManager.jsm:219
MailNotificationManager.jsm:362:22
    _showAlert resource:///modules/MailNotificationManager.jsm:362
    _fillAlertInfo resource:///modules/MailNotificationManager.jsm:219

I hope that helps.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.