Firefox Snap – Fix Copy to Clipboard Issue After Closing Firefox Snap

22.04firefoxsnap

I think there is an issue here, although it might be a setting somewhere. You need to be in 22.04 in order to do this:

  1. Open Firefox (The snap version)
  2. Go to any link you want and then copy the URL from it (Highligh the URL and copy it with CTRL+C for example)
  3. Close Firefox
  4. Try to paste what you copied to any other app.

You will notice it is gone. The clipboard was emptied when Firefox closed. You can even test this by leaving Firefox opened and pasting in another app, then close Firefox and try to paste again. The clipboard is gone.

Is there a setting for this?

UPDATE: This also affects anything that gets copied from within Firefox and then closing Firefox afterwards. The clipboard will be gone for what was copied before closing Firefox.

Best Answer

It's a bug (Firefox Broken Copy Link Key) and should be reported to Mozilla. It's not something that can be fixed by - or is a fault with - Ubuntu. The same bug exists with both snap and APT versions.

There's a link here where this can be simply achieved.