ipfs/ipfs-desktop

Ignore single left click on tray icon

Open

#1,772 建立於 2021年2月25日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (912 fork)batch import
P2area/windowsexp/beginnergood first issuehelp wantedstatus/ready

倉庫指標

Star
 (5,632 star)
PR 合併指標
 (平均合併 8天 12小時) (30 天內合併 6 個 PR)

描述

  • OS: Windows
  • Version of IPFS Desktop: 0.14.0

Describe the bug After implementing opening of app's window on a double click on tray icon, a single click with left mouse button still opens the context menu even when doing double click. So, the first left click quickly opens the menu until the second left click is done.

To Reproduce Steps to reproduce the behavior:

  1. Do a left click on the tray icon and the context menu will appear.
  2. Do a left double click on the tray icon and the context menu will quickly appear on the first click and disappear on the second.

Expected behavior Usually Windows apps are designed so that if tray icon menu opens with the right click, the single left click is just ignored.

貢獻者指南