Automatically hidden taskbar doesn't show up over maximized MetroWindow
See original GitHub issueDescribe the bug
When the taskbar is set to hide automatically, it doesn’t show up over a maximized MetroWindow. Also, still when it’s maximized , there’s a little gap at the bottom (or wherever the taskbar is positionned) of the MetroWindow that displays the program behind (or the Wallpaper if there’s nothing behind). If you click on that gap it obviously focuses the program that was behind.
Steps to reproduce
-
Set your taskbar to hide automatically (Right click on taskbar => taskbar settings => Automatically hide taskbar in desktop mode).
-
Run the sample application in MahApps bug demo.zip (Unfortunately I can’t post a full github repository).
-
Maximize the MetroWindow if it isn’t maximized already.
-
Move the cursor to where your taskbar is.
-
Taskbar doesn’t show up. (And you can see the little gap I was talking about).
-
Click on the gap. The application behind gets focus.
Expected behavior
The taskbar shows up when the cursor is over it. The little gap at the bottom (or wherever the taskbar is positionned) is filled with the MetroWindow’s content.
Environment
MahApps.Metro version: v2.4.3
Windows build number: Win10 1803 [Version 17134.2087]
Visual Studio: Professional 2019 16.6.4
Target Framework: .Net Framework 4.6.1
Screenshots
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
I can reproduce this behaviour only when running from VS. Starting stand alone everything works as it should
Also seen on Windows 11. Works on secondary screen but not on primary.