From 1e8b583b1d638c6aec2bf54d23c0984a5872590e Mon Sep 17 00:00:00 2001 From: Guilherme Vieira Date: Fri, 13 Mar 2026 21:51:13 +0000 Subject: [PATCH] feat(desktop): add "Copy Image" to right-click context menu --- apps/desktop/src/main.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.ts index 310b973458..867878e8ef 100644 --- a/apps/desktop/src/main.ts +++ b/apps/desktop/src/main.ts @@ -1695,6 +1695,14 @@ function createWindow(): BrowserWindow { ); } + if (params.mediaType === "image") { + menuTemplate.push({ + label: "Copy Image", + click: () => window.webContents.copyImageAt(params.x, params.y), + }); + menuTemplate.push({ type: "separator" }); + } + menuTemplate.push( { role: "cut", enabled: params.editFlags.canCut }, { role: "copy", enabled: params.editFlags.canCopy },