Open-Shell / Open-Shell-Menu

Classic Shell Reborn.
MIT License
6.88k stars 428 forks source link

Fix start button/menu misalignment on touch-screen devices #1850

Open ge0rdi opened 7 months ago

ge0rdi commented 7 months ago

Windows 11 22H2 introduced new touch-optimized taskbar for devices with touch screen.

It seems that in this mode taskbar window size is bigger than actual taskbar on screen. There is region defined for the window that covers actually displayed portion of the window.

We should account for that region (if present) when obtaining taskbar window dimensions.

More info about how to enable/disable touch taskbar: https://www.elevenforum.com/t/turn-on-or-off-tablet-optimized-taskbar-in-windows-11.5133/

ge0rdi commented 7 months ago

This should fix #1744.

AppVeyorBot commented 7 months ago

:white_check_mark: Build Open-Shell-Menu 4.4.192-ojbemyvs completed (commit https://github.com/Open-Shell/Open-Shell-Menu/commit/5782b2d8b7 by @ge0rdi)

AppVeyorBot commented 5 months ago

:white_check_mark: Build Open-Shell-Menu 4.4.192-gpfocwov completed (commit https://github.com/Open-Shell/Open-Shell-Menu/commit/40a42d756a by @ge0rdi)