Skip to content

Draft: camera: Remove portal usage

Maximiliano requested to merge remove-portal into main

At the moment there are three bugs that make this not worth the effort:

  • https://github.com/flatpak/xdg-dbus-proxy/issues/46: Sometimes the portal will just fail for no good reason making us fallback to the non-sandboxed method.
  • When opening the app for the first time the dialog that asks for camera permissions is not shown, forcing a big number of users to use Flatseal.
  • When not using flatpak (needs confirmation), the portal call will succeed and return a file descriptor, but such file descriptor does contain access to the cameras. Since neither the portal or PipeWire report any problem this will lockout the user from using the app.

We have been not able to reproduce the second and third error.

Merge request reports