InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]: Clipboard "Unable to Copy" in Firefox

Open firesign opened this issue 4 months ago • 6 comments

Is there an existing issue for this problem?

  • [x] I have searched the existing issues

Operating system

macOS

GPU vendor

Nvidia (CUDA)

GPU model

RTX 3060

GPU VRAM

12GB

Version number

6.0.0

Browser

Firefox 140.0.4 (64-bit)

Python dependencies

No response

What happened

In Canvas mode, selecting a portion of a canvas and choosing either "Copy Canvas to Clipboard" or "Copy Box to Clipboard" results in the red error box in the bottom right corner. I have gone through the instructions of ensuring "dom.events.asyncClipboard.clipboardItem" is set to "true" (it was set to true by default in a clean install), but Clipboard access is still denied.

Image

What you expected to happen

I expected to copy the contents of the bounding box into the clipboard.

How to reproduce the problem

Start the app, create a new canvas by copying an image to a raster layer. Open the Canvas and right-click on the image to select either "Copy Canvas to Clipboard" or "Copy Box to Clipboard".

Additional context

No response

Discord username

VE1LEB

firesign avatar Jul 11 '25 12:07 firesign

Curious, since you use firefox too. Are you able to star items easily since 6.x series? I have another issue opened where maybe 1 out of 10 star presses actually fills the star in and registers. Wondering if there are a host of new firefox issues.

ladle3000 avatar Jul 13 '25 11:07 ladle3000

No, starring items works fine for me in Firefox.

firesign avatar Jul 13 '25 17:07 firesign

@firesign thanks

Your issue still seems like a Firefox setting imo. Did you restart Firefox completely after making any flag changes? I've had where I've had to fully kill it and reopen for a flag to take effect.

May be worth a shot to:

  • set false > kill ff app
  • set true > kill ff app
  • reopen and try again

That's what I would try and if still not working, then Google if the issue of that setting not working exists on Firefox forums. I usually find some workarounds from other users on their forums.

ladle3000 avatar Jul 14 '25 01:07 ladle3000

@ladle3000 Yes, I tried doing the three-step process you described. I also found a post in the r/firefox reddit that suggested toggling both dom.events.asyncClipboard.clipboardItem and dom.events.asyncClipboard.readText but neither worked for me--they were both by default set to 'true' I also tried creating a fresh Mozilla account, restarted but had no luck with that either.

firesign avatar Jul 14 '25 13:07 firesign

What exactly gives you the problem? I'll see if it happens on my install too.

Edit: nvmd I see you explained well above. I'll try it out on 6.0.2

ladle3000 avatar Jul 14 '25 13:07 ladle3000

@ladle3000 Did you ever manage to make it work on your gear?

firesign avatar Sep 03 '25 11:09 firesign