D5775: Don't include the pid in the dbus path when on flatpak
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Thu May 11 15:29:42 UTC 2017
apol added a comment.
In https://phabricator.kde.org/D5775#108649, @jgrulich wrote:
> In https://phabricator.kde.org/D5775#108558, @aacid wrote:
>
> > I don't think this is a fix.
> >
> > I can't really i good faith recommend people to use Okular from a flatpak if that means they can't start two okular instances.
>
>
> You have this problem even without this patch. When you now run two instances of Okular in flatpak then both will probably have same pid. Point of this patch is to make the dbus name predictable so you can allow access to it in flatpak manifest.
Albert has a point. Maybe it's something to bring to flatpak upstream, for example it could make sense to expose the actual pid as an env variable? Or a different but unique identifier?
REPOSITORY
R271 KDBusAddons
REVISION DETAIL
https://phabricator.kde.org/D5775
To: apol, #frameworks, jgrulich
Cc: aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170511/fc013758/attachment.html>
More information about the Kde-frameworks-devel
mailing list