D4koon / WhatsappTray

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

no mater "close to tray' checked or not, press close on whatsapp always close wharsapp instead of close to tray #86

Closed alberthkwang closed 2 years ago

alberthkwang commented 3 years ago

no mater "close to tray' checked or not, press close on whatsapp always close wharsapp instead of close to tray if checked, press minimize will minimize to task bar, press close will close whatsapp if not check, press minimize will minimize to tray, press close will close whatsapp

Windows 7

malteme commented 3 years ago

This sounds like #79 and #80 which both got resolved by updating WhatsApp to 2.2045.19. Can you provide information on what version of WhatsApp and WhatsAppTray you are using?

alberthkwang commented 3 years ago

2.2047.11

malteme commented 3 years ago

What version of WhatsAppTray are you using and can you provide a logfile?

alberthkwang commented 3 years ago

What version of WhatsAppTray are you using and can you provide a logfile?

Whatsapp Tray 1.7, Whatsapp 2.2047.11, Windows 7

Log list below

08:18:15.907 - WhatsappTray::WinMain(): Starting WhatsappTray 1.7.0.0 in Release CompileConfiguration. 08:18:15.907 - WhatsappTray::WinMain(): CloseToTray=1. 08:18:15.908 - WhatsAppApi::Init() - Using leveldb-directory:C:\Users\albert hk wang\AppData\Roaming\WhatsApp\IndexedDB\file__0.indexeddb.leveldb\ 08:18:15.928 - TrayManager::ctor() - Creating TrayManger. 08:18:15.929 - WhatsappTray::StartWhatsapp() - Starting WhatsApp from canonical-path:'C:\Users\albert hk wang\AppData\Local\WhatsApp\WhatsApp.exe' 08:18:18.063 - WhatsappTray::StartWhatsapp() - WhatsApp-Window not found. Wait 500ms and retry. 08:18:18.563 - WhatsappTray::FindWhatsapp() - Found window with title: 'WhatsApp' hwnd=0x00EE0AAC 08:18:18.563 - WhatsappTray::FindWhatsapp() - Window is not visible 08:18:18.563 - WhatsappTray::StartWhatsapp() - WhatsApp-Window not found. Wait 500ms and retry. 08:18:19.063 - WhatsappTray::FindWhatsapp() - Found window with title: 'WhatsApp' hwnd=0x00EE0AAC 08:18:19.063 - WhatsappTray::FindWhatsapp() - Window is not visible 08:18:19.063 - WhatsappTray::StartWhatsapp() - WhatsApp-Window not found. Wait 500ms and retry. 08:18:19.563 - WhatsappTray::FindWhatsapp() - Found window with title: 'WhatsApp' hwnd=0x00EE0AAC 08:18:19.563 - WhatsappTray::FindWhatsapp() - Window is not visible 08:18:19.563 - WhatsappTray::StartWhatsapp() - WhatsApp-Window not found. Wait 500ms and retry. 08:18:19.574 - WhatsAppApi::IndexedDbChanged() - The logfile has changed 08:18:19.587 - WhatsAppApi::IndexedDbChanged() - file.fail() 08:18:20.063 - WhatsappTray::FindWhatsapp() - Found window with title: 'WhatsApp' hwnd=0x00EE0AAC 08:18:20.063 - WhatsappTray::FindWhatsapp() - Filepath is: 'C:\Users\albert hk wang\AppData\Local\WhatsApp\app-2.2047.11\WhatsApp.exe' 08:18:20.063 - WhatsappTray::FindWhatsapp() - Found match 08:18:20.063 - WhatsappTray::StartWhatsapp() - WhatsApp-Window found. 08:18:20.063 - TrayManager::CreateTrayIcon(63) 08:18:20.098 - WhatsappTray::SetHook() 08:18:20.497 - Hook> WhatsappTrayHook::Init: Attached hook.dll to ProcessID: 0x00002AA4 08:18:20.499 - Hook> WhatsappTrayHook::Init: Filepath: 'C:\Program Files (x86)\WhatsappTray\WhatsappTray.exe' WhatsappTrayLoadLibraryTest: 'TRUE' 08:18:20.501 - Hook> WhatsappTrayHook::Init: Detected that this Attache was triggered by LoadLibrary() => Cancel further processing 08:18:20.597 - Hook> WhatsappTrayHook::Init: Attached hook.dll to ProcessID: 0x00003A90 08:18:20.600 - Hook> WhatsappTrayHook::Init: Filepath: 'C:\Users\albert hk wang\AppData\Local\WhatsApp\app-2.2047.11\WhatsApp.exe' WhatsappTrayLoadLibraryTest: '' 08:18:20.602 - Hook> WhatsappTrayHook::Init: Attached in window 'WhatsApp' _whatsAppWindowHandle: 0x00EE0AAC 08:18:20.604 - Hook> WhatsappTrayHook::UpdateDpi: Could not load Shcore.dll 08:18:22.110 - WhatsAppApi::IndexedDbChanged() - file.fail() 08:18:22.119 - WhatsAppApi::IndexedDbChanged() - file.fail() 08:18:25.403 - WhatsAppApi::IndexedDbChanged() - Found match for fullInit. 08:18:31.840 - Hook> WhatsappTrayHook::RedirectedWndProc: WM_LBUTTONUP received x=996 y=9 08:18:31.843 - Hook> WhatsappTrayHook::RedirectedWndProc: WM_LBUTTONUP => windowWidth=1024 xDistanceFromRight=28 widthOfButton=0 08:18:31.851 - WhatsappTray::WndProc() - WM_WHAHTSAPP_CLOSING 08:18:31.851 - WhatsappTray::WndProc() - WM_DESTROY 08:18:31.851 - TrayManager::RemoveFromTray(63) 08:18:31.865 - Hook> WhatsappTrayHook::RedirectedWndProc: WM_NCDESTROY received 08:18:31.871 - Hook> WhatsappTrayHook::RedirectedWndProc: WM_WHAHTSAPP_CLOSING successful sent. 08:18:31.988 - WhatsappTray::WndProc() - QuitMessage posted.

alberthkwang commented 3 years ago

Whatsapp Tray 1.7, Whatsapp 2.2047.11, work prefect on my Windows 10 Laptop

D4koon commented 3 years ago

My guess is that you have dpi-scaling activated so the area that catches the click on the X-button is not big enough.

image

Can you check if you have any setting other then 100%?

alberthkwang commented 3 years ago

My guess is that you have dpi-scaling activated so the area that catches the click on the X-button is not big enough.

image

Can you check if you have any setting other then 100%?

Still the same set to 125% or 150% still get the same result

D4koon commented 2 years ago

Closing because already old, if there is still a problem please open an new issue