ipfs/ipfs-desktop

Ignore single left click on tray icon

开放

#1,772 创建于 2021年2月25日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (912 个派生)batch import
P2area/windowsexp/beginnergood first issuehelp wantedstatus/ready

仓库指标

星标
 (5,632 个星标)
PR 合并指标
 (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.

贡献者指南