notesnook icon indicating copy to clipboard operation
notesnook copied to clipboard

Right click copy image cannot copy the image to other application

Open streetwriters[bot] opened this issue 1 year ago • 6 comments

To copy the image and paste it into another application, right click on the image and select "copy". However, this will not actually copy the image. This should be fixed show it won't block the operation of pasting the picture to other app e.g. sending the picture via IM.

Device information: App version: 2.6.14-fbded93-desktop OS: OS X 10.15.7 Browser: Electron 25.9.8 Pro: true

streetwriters[bot] avatar Jan 27 '24 05:01 streetwriters[bot]

Hi, we were able to reproduce this on desktop and will be adding support for this.

ammarahm-ed avatar Jan 27 '24 13:01 ammarahm-ed

not possible right now :

see this : https://github.com/electron/electron/issues/37187

alihamuh avatar Feb 02 '24 12:02 alihamuh

If there is a dependency make it difficult to implement, would that be possible to provide a way to copy via any workaround, at least a shortcut key like selected the image and press cmd + C helps to copy. Currently, there is no way to copy the image from the editor.

Side-note: Obsidian (electron) support right-click copy image as well.

ckdanny avatar Feb 02 '24 15:02 ckdanny

Hi @ammarahm-ed @alihamuh, do you think there is any workaround to support this?

ckdanny avatar Feb 22 '24 05:02 ckdanny

@alihamuh

It is possible. Joplin added it like this: https://github.com/laurent22/joplin/blob/dd04a39f3b0add299adc0bf26e74c68813414ce3/packages/app-desktop/services/electron-context-menu.js#L130-L137

thecodrr avatar Feb 23 '24 05:02 thecodrr

Thanks @thecodrr ! That will be very important to me. Will that be added soon?

ckdanny avatar Mar 01 '24 05:03 ckdanny