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

Don't require clipboard permissions for context menu #81

Closed
kjk opened this issue Oct 16, 2024 · 5 comments
Closed

Don't require clipboard permissions for context menu #81

kjk opened this issue Oct 16, 2024 · 5 comments

Comments

@kjk
Copy link
Owner

kjk commented Oct 16, 2024

We use clipboard permissions to construct the right context menu.

But it requires permissions dialog. We should track if we have those permissions and only use the clipboard APIs when constructing context menu if we do.

@pihentagy
Copy link

I run edna from "Web apps" app in Linux Mint, using Firefox. I just realized there should be a clipboard menu. How can I add clipboard permission to edna?

@kjk
Copy link
Owner Author

kjk commented Apr 7, 2025

@pihentagy Unfortunately I don't know. I don't have that particular setup to test.

@pihentagy
Copy link

@kjk
Copy link
Owner Author

kjk commented Apr 7, 2025

@pihentagy let's reset: there is no "clipboard" menu. There's only Run code / Run this block with clipboard context menu. We check clipboard content to see if it's empty to enable / disable this command.

@kjk kjk closed this as completed in c845152 Apr 7, 2025
@pihentagy
Copy link

Great, now I can see the context menu in Firefox!

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

2 participants