[Webkit-unassigned] [Bug 180813] [GTK] Notifications do not work under flatpak

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 14 13:26:30 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=180813

--- Comment #6 from Patrick Griffis <pgriffis at igalia.com> ---
(In reply to Michael Catanzaro from comment #5)
> So libnotify would be only for fallback regardless.

Well, the `org.freedesktop.Notification` service is the fallback. My point is the literal `libnotify` library is bad.

> To use the portal directly, we'd still need to rely on GtkApplication for
> the app ID in order to solve epiphany#853 I guess?

No, every flatpak contains its own id. GApplication is not required:


    flatpak run --command=sh org.gnome.Epiphany/x86_64/master    
    gdbus call -d org.freedesktop.portal.Desktop -e -o /org/freedesktop/portal/desktop -m org.freedesktop.portal.Notification.AddNotification "''" "{'title': <'foo'>, 'body': <'bar'>}"
    # Works as expected

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190714/635914c3/attachment.html>


More information about the webkit-unassigned mailing list