Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ge0rdi
Copy link
Member

@ge0rdi ge0rdi commented Feb 18, 2024

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
Copy link
Member Author

ge0rdi commented Feb 18, 2024

This should fix #1744.

@AppVeyorBot
Copy link

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/
@AppVeyorBot
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants