Bug 179978

Summary: [GTK] Battery status broken under flatpak and bubblewrap sandbox
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKitGTKAssignee: 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    

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