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

Send tab: scan QR from screen and/or image #199

Open
mpeter50 opened this issue Sep 27, 2024 · 4 comments
Open

Send tab: scan QR from screen and/or image #199

mpeter50 opened this issue Sep 27, 2024 · 4 comments

Comments

@mpeter50
Copy link

The scan function currently allows scanning the transaction details from a connected camera for quick input.
However, when there is no camera connected, the function does not work, and laptop users with a built-in camera can only scan from their phone, paper, or some other surface.

I think that for online shopping, it would be useful to be able to scan the code from the screen, for when it is displayed in a web browser, or from an image file without opening it in an image viewer.
Extending the scan feature like this would benefit desktop and laptop users too.

@tobtoht
Copy link
Contributor

tobtoht commented Sep 27, 2024

You can paste a QR code into the 'Pay to' field on the Send tab and it will auto-fill the details.

I'll have to check if scanning the screen can be implemented reliably cross-platform.

@mpeter50
Copy link
Author

Oh, thats pretty useful! Thanks for letting me know. I see it can process monero: protocol URLs.

Now I also see it is mentioned in the built-in docs. I think it would be worth to consider making this information more visible, e.g. with an information button or popup near the "Pay to" label. I have just discovered that label is clickable, maybe the short description could be extended with "or paste a QR code".

The Monero GUI has a "Grab QR code from screen" button above the address field, maybe their approach can be reused here.

@chaserene
Copy link

I'll have to check if scanning the screen can be implemented reliably cross-platform.

@tobtoht beyond that, I wonder if it can be implemented safely. wouldn't it be a radical extension of Feather's permissions to let it read any area of the screen?

@mpeter50
Copy link
Author

I dont think it would be an extension of permissions. Any process can do that, cant it?
Unless you are thinking about Flatpak and such on linux. Or maybe Sandboxie on windows, but I'm not sure how does it work there, probably not with a permission dialog though.

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

No branches or pull requests

3 participants