https://bugs.winehq.org/show_bug.cgi?id=55161
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24@gmail.com, | |zzhang@codeweavers.com Status|UNCONFIRMED |NEW Regression SHA1| |8459a5272a5b16bf99d058aade0 | |1c946a71c94f8 URL| |https://www.irfanview.info/ | |files/iview460.zip Version|8.6 |7.22 Ever confirmed|0 |1
--- Comment #5 from Alex Henrie alexhenrie24@gmail.com --- I can confirm. `git bisect` says:
8459a5272a5b16bf99d058aade01c946a71c94f8 is the first bad commit commit 8459a5272a5b16bf99d058aade01c946a71c94f8 Author: Zhiyi Zhang zzhang@codeweavers.com Date: Mon Nov 14 22:19:26 2022 +0800
explorer: Use a valid taskbar position when the taskbar is hidden.
Some applications use FindWindowA() with class Shell_TrayWnd to find the taskbar window on Windows. Then GetWindowRect() is called to get the taskbar window rectangle. Finally, the taskbar window rectangle is subtracted from the primary screen rectangle to calculate the work area. Without a valid taskbar window position, these applications end up getting an incorrect work area and going down the wrong path. So use the same position and size as the host system panel for explorer taskbar when it's hidden.
programs/explorer/systray.c | 15 +++++++++------ programs/explorer/tests/explorer.c | 1 - 2 files changed, 9 insertions(+), 7 deletions(-)