ipfs/ipfs-desktop

Bug: Check for updates via menu-bar sub-menu action (macOS)

Open

#2,113 建立於 2022年4月28日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (5,632 star) (912 fork)batch import
P2area/macoseffort/hoursexp/intermediatehelp wantedkind/bugneed/analysistopic/macos

描述

  • OS: macOS
  • Version of IPFS Desktop [0.20.0]

Describe the bug Using latest version of ipfs-desktop, manually selecting to check for updates locks up the UI when the desktop application is not open.

To Reproduce Steps to reproduce the behavior(macos):

  1. Start ipfs-desktop
  2. Ensure the menu-bar application is visible, and then close the ipfs-desktop window (the application will still be running, and accessible via the menu-icon)
  3. Click the ipfs-desktop menu-bar icon
  4. Hover over about
  5. Click on 'Check for updates'
    • The sub-menu may close (I believe this is only on the newest version). If it does, re-open it before the update-checking is done in order to reproduce the bug.
  6. Notice that the UI for the menu-bar ipfs menu locks up

The ipfs-desktop application will re-open in the dock with a pop-up confirmation indicating that you are on the latest version.

Expected behavior Checking for updates is a non-blocking background operation.

Screenshots Action:

Locked up UI:

Latest version confirmation popup:

Additional context When I first ran into this bug, the Dock did not display the ifps-desktop icon. So I was unable to close the confirmation popup, and the UI stayed locked up, with the menu-bar menu remaining open and inaccessible.

combined.log error.log

貢獻者指南