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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 14 17:24:55 PDT 2019


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

--- Comment #7 from Michael Catanzaro <mcatanzaro at igalia.com> ---
(In reply to Patrick Griffis from comment #6)
> Well, the `org.freedesktop.Notification` service is the fallback. My point
> is the literal `libnotify` library is bad.

We could stop using it and use org.freedesktop.Notification directly, of course.

> > 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

Does WebKit have any way to know the flatpak app ID (other than to hope it's the same as the GtkApplication ID)?

-- 
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/20190715/18353e5a/attachment.html>


More information about the webkit-unassigned mailing list