Bug 179978
Summary: | [GTK] Battery status broken under flatpak and bubblewrap sandbox | ||
---|---|---|---|
Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | bugs-noreply, mcatanzaro, pgriffis |
Priority: | P2 | ||
Version: | Other | ||
Hardware: | PC | ||
OS: | Linux | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=231958 | ||
Bug Depends on: | |||
Bug Blocks: | 218121 |
Michael Catanzaro
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
Bubblewrap sandbox might be broken too....
Michael Catanzaro
*** This bug has been marked as a duplicate of bug 231958 ***