ipfs/ipfs-desktop

Ignore single left click on tray icon

Open

#1,772 opened on Feb 25, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (912 forks)batch import
P2area/windowsexp/beginnergood first issuehelp wantedstatus/ready

Repository metrics

Stars
 (5,632 stars)
PR merge metrics
 (Avg merge 8d 12h) (6 merged PRs in 30d)

Description

  • 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.

Contributor guide