ipfs/ipfs-desktop

Import file modal doesn't stay open when switching apps

Aberta

#2.182 aberto em 20 de jun. de 2022

 (1 comentário) (0 reação) (0 responsável)JavaScript (912 forks)batch import
P2effort/dayshelp wantedkind/bugstatus/readytopic/design-front-end

Métricas do repositório

Stars
 (5.632 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador