ipfs/ipfs-desktop

Import file modal doesn't stay open when switching apps

Open

#2182 opened on Jun 20, 2022

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (5,632 stars) (912 forks)batch import
P2effort/dayshelp wantedkind/bugstatus/readytopic/design-front-end

Description

Describe the bug I was attempting to import a file from IPFS when I noticed this error because I had to switch back to my browser to copy the CID and name. After pasting one of the values, switching to the browser, copying the other value, and switching back to IPFS Desktop, the modal with the first value is still there, but immediately gets removed. This shouldn't happen.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Files'
  2. Click on 'Import'
  3. Click on 'From IPFS'
  4. Paste some value into either field
  5. Switch focus to another app
  6. Switch focus back to IPFS Desktop
  7. Notice that the modal and originally entered value is gone.

Expected behavior I expected the modal to remain there, with the value I initially entered.

This bug does not happen in ipfs-webui (tested at localhost:5001)

Screenshots ipfs_ipfs-desktop_issues_2182

Additional context error.log

combined.log

Contributor guide