You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Console shows error "NotAllowedError: Failed to execute 'writeText' on 'Clipboard': Document is not focused."
Stack trace
at copyToClipboard (../../../../app/frontend/Shared/ContextMenu.ts:264:25)
at copyLink (../../../../app/frontend/Shared/ContextMenu.ts:226:3)
at menuItem (../../../../app/frontend/Shared/ContextMenu.ts:38:56)
at catchErrors (../../../../app/frontend/Util/error.ts:60:11)
at <object>.click (../../../../app/frontend/Shared/WebView.svelte:145:20)
...
Expected result
The URL is pasted
On Linux, the secondary clipboard is used (the clipboard where I explicitly copy and explicitly paste something, not the clipboard where every selection is copied and a mouse middle click pastes it)
Additional info
"Copy" on a selected text works, with the secondary clipboard, as expected
The text was updated successfully, but these errors were encountered:
@jermy-c Have you tried focusing the right document? Given that writeText() is called by the frontend, it should probably be the frontend and not the webview that is focused. A simple document.documentElement.focus() - or similar - might be sufficient. Can you please investigate in this direction?
Reproduction
Actual result
Expected result
Additional info
The text was updated successfully, but these errors were encountered: