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

The window position is not stored correctly if the Taskbar is not at bottom #4067

Closed
punker76 opened this issue Mar 9, 2021 · 0 comments
Closed
Labels
Milestone

Comments

@punker76
Copy link
Member

punker76 commented Mar 9, 2021

Describe the bug

Issue came up at ChocolateyGui chocolatey/ChocolateyGUI#793

... the "WINDOWPLACEMENT" / "normalPosition" parameter in the "user.xml" file;

The stored x(left) / y(top) coords are (apparently) relative to the full Screen area, but when the GUI opens, it applies them relative to the Screen area without the Taskbar

So, if you have the Taskbar on the left or top of the screen, the GUI window opens not where it was, but with an according offset.

Steps to reproduce

Put the Taskbar on left/right/top.

Expected behavior

The position of the window should be restored correctly.

Actual behavior

The position of the window will be moved.

Environment

MahApps.Metro version: v2.4.4
Windows build number: Win10 1909 18363.1316
Target Framework: .Net Core 3.1 (v4.5.2, v4.7.2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

1 participant