ipfs/ipfs-desktop

Import file modal doesn't stay open when switching apps

开放

#2,182 创建于 2022年6月20日

 (1 条评论) (0 个反应) (0 位负责人)JavaScript (912 个派生)batch import
P2effort/dayshelp wantedkind/bugstatus/readytopic/design-front-end

仓库指标

星标
 (5,632 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南