[bug]: Can't copy images to clipboard anymore.
Is there an existing issue for this?
- [X] I have searched the existing issues
OS
Windows
GPU
cuda
VRAM
24
What version did you experience this issue on?
3.0.0+b6
What happened?
In the 2.3.5, on the txt2img tab, I was able to right click the central image and choose "Copy image". That copied full image data to the clipboard. Then I could paste it into an external image editor. Edit, copy to clipboard again and paste back.
In 3.0.0, the right click menu does not contain the entry "Copy image". I need to download image, then open the download folder, drag image to editor, edit it, save edited to the file, and not forget to delete the original downloaded file. Alternatively, I can copy image to clipboard by pressing F12 and messing with Chrome tools. That is not a healthy workflow.
Please either get the entry back, or, maybe even better, create a button "Copy image data to clipboard".
P.S. I am marking it a bug because at least for me it is a clear regression.
Screenshots
No response
Additional context
Win 11, Brave browser.
Contact Details
No response
A copy button in in an open PR for the next version
This is resolved, I cannot remember which PR it was in. It's in the release now though.
This is happening to me on a fresh install of 3.7.0
This is happening to me on a fresh install of 3.7.0
This is a browser limitation - Context menus that are present in the app are limited from copying to the clipboard in certain browsers like Ffox. Open in a new tab, then copy.
sorry for the hassle - the internet (and browsers) seem to have left its golden era.
Thank you for this. that is a good workaround However, is there any way to force the copy option? I have invoke installed on another PC and the copy function works fine, with the same browser and version.
@TheNore You can enable clipboard in Firefox:
- Go to
about:configin the address bar - Search for
dom.event.clipboardevents.enabledand set it totrue
Should be able to copy with this change.
Awesome, thank you! Is there an equivalent functionality in chrome as well?
@TheNore Chrome enables this clipboard API by default. You shouldn't need to change anything. Only FF has it disabled by default.
@TheNore You can enable clipboard in Firefox:
* Go to `about:config` in the address bar * Search for `dom.event.clipboardevents.enabled` and set it to `true`Should be able to copy with this change.
This was enabled by default for me.
I found that dom.events.asyncClipboard.clipboardItem was set to false and setting it to true fixed it for me
Thank you! Is there any way to enable this for chrome?
On Fri, May 31, 2024, 1:12 PM Thomas Pipher @.***> wrote:
@TheNore https://github.com/TheNore You can enable clipboard in Firefox:
Go to
about:configin the address barSearch for
dom.event.clipboardevents.enabledand set it totrueShould be able to copy with this change.
This was enabled by default for me.
I found that dom.events.asyncClipboard.clipboardItem was set to false and setting it to true fixed it for me
— Reply to this email directly, view it on GitHub https://github.com/invoke-ai/InvokeAI/issues/3802#issuecomment-2142669784, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBTTF5VN7PKKVNVBUBDJX3ZFCVPFAVCNFSM6AAAAAA2NHJGYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBSGY3DSNZYGQ . You are receiving this because you were mentioned.Message ID: @.***>
@TheNore Unless something has changed recently, Chromium browsers enable this API by default.
On a fresh install (docker), copying still doesn't work for me on a firefox fork (zen browser) with both of these options enabled in the config.
