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

Start menu is not centered when display scale is used #6

Open
minajevs opened this issue Jan 28, 2022 · 1 comment
Open

Start menu is not centered when display scale is used #6

minajevs opened this issue Jan 28, 2022 · 1 comment
Assignees
Labels
bug Something isn't working good first issue Good for newcomers PRIO: MEDIUM Issues with medium priority

Comments

@minajevs
Copy link

minajevs commented Jan 28, 2022

Display scale makes start menu off-center.

Context: I am using smallish laptop screen with 1080p resolution, so I am always using display scale 125%. Unfortunately that affects this tool and start menu is not centered again :) Probably something to do with automatic screen size calculations.

Scale 100% 1920x1080, works as expected
image

Scale 125% 1920x1080, start menu to the right
image

P.S. I am actually very grateful for this tool. Windows11 bottom taskbar is a complete deal-breaker for me and tools like this are my last resort to upgrade. Thanks!

@Naamloos
Copy link
Owner

Hi! Thanks for using the program! :)

At this moment I am trying to figure out how to move the taskbar without having to do any registry edits (as this feature gets removed in a patch coming to stable builds sometime soon). I'll make sure to address this issue as soon as I figure out the taskbar movement.

I might know what causes this issue, so either as a note to myself or anyone willing to fix:

Before the polling loop starts, the display rect is requested. Because of this, when the display gets zoomed to 125%, the task bar may end up off-center.

I have a suspicion the actual display rect gets modifed, but I am not 100% sure. I'll need to do some testing on my end.

@Naamloos Naamloos added bug Something isn't working good first issue Good for newcomers labels Jan 29, 2022
@Naamloos Naamloos self-assigned this Jan 29, 2022
@Naamloos Naamloos added the PRIO: MEDIUM Issues with medium priority label Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers PRIO: MEDIUM Issues with medium priority
Projects
None yet
Development

No branches or pull requests

2 participants