camera icon indicating copy to clipboard operation
camera copied to clipboard

Use portal to request access to camera

Open marbetschar opened this issue 3 years ago • 0 comments

What Happened?

Instead of using --device=all in the Flatpak manifest, we should ask the user for permission to access the camera and microphone using org.freedesktop.impl.portal.Access

Steps to Reproduce

  1. Start Camera app
  2. It instantly activates the camera - or fails silently in case there is no camera available

Expected Behavior

  1. Start Camera app
  2. The app should check if it has the required permissions and the needed hardware is available
  3. If permissions are missing, we should ask the user to allow access to the hardware
  4. If anything goes wrong, we should display a meaningful message / placeholder so the user knows why the app is not capable to do its job

OS Version

7.x (Early Access)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

marbetschar avatar Jun 03 '22 18:06 marbetschar