Bug 179978 - [GTK] Battery status broken under flatpak and bubblewrap sandbox
Summary: [GTK] Battery status broken under flatpak and bubblewrap sandbox
Status: RESOLVED DUPLICATE of bug 231958
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: Flatpak
  Show dependency treegraph
 
Reported: 2017-11-23 08:18 PST by Michael Catanzaro
Modified: 2021-10-19 09:33 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2017-11-23 08:18:26 PST
Battery status is not usable in flatpak. This means timers never get throttled properly. upower is not available in the GNOME SDK, and it doesn't make sense for it to be there, because it depends on udev, which can never work inside a sandbox, so WebKitGTK+ is built with -DUSE_UPOWER=OFF. Sad. libupower-glib could work inside the sandbox, if the right D-Bus paths are whitelisted in the application's flatpak-builder manifest, which would be OK. We would have to split that out from the rest of upower. Alternatively, we might need to create a battery status portal. Regardless, to be successful, this work needs to be done in coordination with Richard Hughes, Alex Larsson, and Matthias Clasen.
Comment 1 Michael Catanzaro 2021-06-24 10:07:47 PDT
Bubblewrap sandbox might be broken too....
Comment 2 Michael Catanzaro 2021-10-19 09:33:45 PDT

*** This bug has been marked as a duplicate of bug 231958 ***