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

Allow to assign profile picture by taking a picture with the laptops camera #190

Open
spotlesscoder opened this issue Feb 16, 2023 · 2 comments

Comments

@spotlesscoder
Copy link

Problem

Users might want to use a real life picture of their own as profile picture for their user account.
But they might not have one available as file to import at that moment.

Proposal

When clicking the profile picture in the user management view, the menu should have an additional option "use camera" in the menu that opens up.
When pressing that option, a camera app should open.
Then, when the user presses the "take photo" button, the picture taken should be displayed to the user for review.
When the user declines, he should have another attempt to take a new photo in the still open camera app. When the user accepts, the file should be saved and automatically assigned as profile picture.

Prior Art (Optional)

No response

@danirabbit
Copy link
Member

Thinking about this from a technical perspective, what we probably want here is a photo portal so that any app can launch the camera in a portal/dialog mode, the camera can take a photo, and then pass back the photo much in the same way the file chooser portal works. Opened elementary/camera#255 to discuss such a camera feature

@spotlesscoder
Copy link
Author

Very good idea, always good to have something suitable for more than one use case :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants