https://bugs.kde.org/show_bug.cgi?id=486506

--- Comment #14 from Jakob Petsovits <jpe...@petsovits.com> ---
(In reply to Justin Zobel from comment #13)
> (In reply to Valeriy from comment #12)
> > (In reply to Justin Zobel from comment #11)
> > > (In reply to Valeriy from comment #10)
> > > > Hello, everyone. Seems like this is a result of misconfiguration on the
> > > > flatpak package's maintainers. Add permission to talk with
> > > > org.freedesktop.ScreenSaver of Session Bus and Firefox should prevent 
> > > > the
> > > > screen from locking again if you watch videos.
> > > 
> > > Have you tested this with a local build or confirmed this from Mozilla on
> > > their Bugzilla tracker?
> > 
> > I've only tested this locally on my machine.
> 
> Well if it works there I'd suggest reporting to Mozilla so they can
> integrate it into their Flatpak build.

In a Flatpak environment, they should probably use the
`org.freedesktop.portal.Inhibit` interface [1] rather than
`org.freedesktop.Inhibit`. KDE's portal implementation exists [2], so in theory
this would allow the most cross-platform implementation as
`org.freedesktop.Inhibit` is now considered legacy for non-sandboxed apps
(those should use the systemd inhibit interface [3] instead). But I agree with
Justin that Firefox developers should have a look at why their Flatpak build
isn't using the portal API.

[1]
https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Inhibit.html
[2]
https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/blob/master/src/inhibit.cpp
[3]
https://www.freedesktop.org/software/systemd/man/latest/org.freedesktop.login1.html

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to