Skip to content

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

Merged
ge0rdi merged 2 commits into
masterfrom
touch-screen-fix
Dec 3, 2024
Merged

Fix start button/menu misalignment on touch-screen devices#1850
ge0rdi merged 2 commits into
masterfrom
touch-screen-fix

Conversation

@ge0rdi

Copy link
Copy Markdown
Member

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
Copy Markdown
MemberAuthor

This should fix #1744.

@AppVeyorBot

Copy link
Copy Markdown

@AppVeyorBot

Copy link
Copy Markdown

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
Copy Markdown

@AppVeyorBot

Copy link
Copy Markdown

@ge0rdi
ge0rdi merged commit 5809217 into masterDec 3, 2024
@ge0rdi
ge0rdi deleted the touch-screen-fix branch December 3, 2024 09:24
Sign up for freeto 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

@ge0rdi@AppVeyorBot