Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera portal permission handling issue #1340

Open
matthiasclasen opened this issue Apr 12, 2024 · 0 comments
Open

Camera portal permission handling issue #1340

matthiasclasen opened this issue Apr 12, 2024 · 0 comments
Labels

Comments

@matthiasclasen
Copy link
Contributor

matthiasclasen commented Apr 12, 2024

Operating System

Fedora

XDG Desktop Portal version

1.18

XDG Desktop Portal version (Other)

No response

Desktop Environment

GNOME

Desktop Environment (Other)

No response

Expected Behavior

Things should work.

Current Behavior

If the AccessCamera method finds 'ask' in the permission store, it presents the dialog, but leaves 'ask' in the store (so it gets presented again next time). But the OpenPipewireRemote method only looks for a 'yes' in the permission store, so if it finds the 'ask', it says 'permission denied'.

What needs to happen here is that AccessCamera needs to return a token that can be passed to OpenPipewireRemote to prove that the application has access to the camera. As it is, the split into two methods doesn't work, at least for the 'ask' permission.

Steps to Reproduce

Look at the code.

Anything else we should know?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Needs Triage
Development

No branches or pull requests

1 participant