[Webkit-unassigned] [Bug 265746] New: [enhancement] use flatpak portal directly rather than using the flatpak-spawn executable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 3 00:36:00 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=265746

            Bug ID: 265746
           Summary: [enhancement] use flatpak portal directly rather than
                    using the flatpak-spawn executable
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Process Model
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: two at envs.net

flatpaked browsers have process trees looking like this:
```
| epiphany
|| flatpak-spawn
|| flatpak-spawn
|| ...
```

afaik all those flatpak-spawn are doing are telling a portal to spawn a process in a different sandbox then waiting for a d-bus notification for its end. using the flatpak-spawn executable probably adds up to the tab startup time, and can fail due to bugs such as https://github.com/flatpak/flatpak/issues/5398, making epiphany stuck in an infinite loop. this would probably be better done in the browser process.

but that would probably be difficult to implement, since it's async and also the processes are in a different PID namespace, so they have to be killed via the portal too

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231203/06b6e517/attachment.htm>


More information about the webkit-unassigned mailing list