ipfs / ipfs-companion

Browser extension that simplifies access to IPFS resources on the web
https://docs.ipfs.tech/install/ipfs-companion/
Creative Commons Zero v1.0 Universal
2.05k stars 325 forks source link

Copying CID/IPFS Link is slow #1221

Open guillaumemichel opened 1 year ago

guillaumemichel commented 1 year ago

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):

welcome[bot] commented 1 year ago

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:

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

whizzzkid commented 1 year ago

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.

guillaumemichel commented 1 year ago

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.