ipfs-companion icon indicating copy to clipboard operation
ipfs-companion copied to clipboard

Copying CID/IPFS Link is slow

Open guillaumemichel opened this issue 1 year ago • 3 comments

Describe the bug Not sure if it is a bug, copying the CID, IPFS Link, IPNS Link etc. is very slow (~5 seconds).

To Reproduce Steps to reproduce the behavior:

  1. Open an IPFS page
  2. Click on the Companion extension icon
  3. Click on "Copy CID"
  4. Browser frozen for ~5 seconds

Expected behavior Copying a CID (or IPFS Link, IPFS Link etc.) should be instant and shouldn't freeze the browser.

Screenshots companion

Desktop (please complete the following information):

  • OS: Arch linux (6.1.9-arch1-2)
  • Browser: Firefox
  • Version: 114.0.1

guillaumemichel avatar Jun 19 '23 07:06 guillaumemichel

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review. In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within seven business days. If this does not happen, feel free to leave a comment. Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

welcome[bot] avatar Jun 19 '23 07:06 welcome[bot]

Thanks for this bug report @guillaumemichel for me the experience is as you expected (m1 mac, firefox 114.0.2), copy works instantly. Can you share the companion version you have installed? I'll have to try this on a linux box.

I am wondering if this is a firefox specific issue on arch.

whizzzkid avatar Jun 22 '23 08:06 whizzzkid

I tested on Brave 1.52.122, and there the behavior is as expected (copy CID instantly). I also tested on Librewolf 114.0.1-2, but I experienced the same issue as in Firefox (>5 seconds to copy the CID).

I am using IPFS Companion v2.22.1 in all browsers.

So it is likely that the problem comes from Firefox.

guillaumemichel avatar Jun 23 '23 06:06 guillaumemichel