Naamloos / TopCenterStart11

A small utility that moves the start menu to the top-center of the screen in Windows 11.
GNU General Public License v3.0
24 stars 4 forks source link

Start menu gets cut off if the screen is nog 1920x1080. #23

Open Naamloos opened 4 months ago

Naamloos commented 4 months ago

Needs fixing soon

Naamloos commented 4 months ago

This, along with #22, seems to be caused by display scaling not being 100%. The start menu is bigger because of display scaling, but still gets resized to 666x750.

The solution for this may be to fetch the display scaling for the screen the start menu appears on.

Naamloos commented 4 months ago

With that, the application also seems to only open the start menu on the main display. Add a check to see where the start menu was opened, and adjust placement accordingly.

Naamloos commented 4 months ago

I suspect this is a scaling thing :3

Naamloos commented 4 months ago

may be useful to recalculate the start menu size using the set screen scaling for the screen it is on:

https://learn.microsoft.com/en-us/windows/win32/api/shellscalingapi/nf-shellscalingapi-getscalefactorformonitor