D4koon / WhatsappTray

Minimize Whatsapp Desktop-Client to Tray
GNU General Public License v3.0
388 stars 30 forks source link

WhatsappTray doesn't seem to respond to 3rd party programs trying to close Whatsapp #131

Open Breeder opened 2 years ago

Breeder commented 2 years ago

Describe the bug 7+ Taskbar Tweaker allows you to click middle mouse button over a taskbar item to close it (during the gif, I'm moving the mouse over each item to middle click and close it): aaa
However, when trying to do it with WhatsApp that's been turned on by WhatsappTray, it takes multiple amount of middle clicks to get WhatsApp to close (or better say, get minimized to tray): bbb
To Reproduce Steps to reproduce the behavior:

  1. Go to https://ramensoftware.com/7-taskbar-tweaker and install the program
  2. Set this option on: Middle click options
  3. Try it with a few applications to test if it works
  4. Now try it with WhatsappTray and notice how it takes multiple clicks to have WhatsApp closed.

Expected behavior WhatsApp should remained minimized in system tray after closing it with a single click.
Desktop (please complete the following information) OS: Windows 10, x64, (Version: 10.0.19044 Build 19044)
Log file when the bug happened No logfile gets created so I'm pasting the content of my appData.ini here:

CLOSE_TO_TRAY=1
LAUNCH_ON_WINDOWS_STARTUP=1
START_MINIMIZED=1
SHOW_UNREAD_MESSAGES=1
CLOSE_TO_TRAY_WITH_ESCAPE=1
WHATSAPP_STARTPATH=C:\Users\Martin\AppData\Local\WhatsApp\WhatsApp.exe