If I click in the 24 pixels above my taskbar, the application does not seem to get the click and instead, the taskbar gets focus. Why? How do I fix this?
Using Inspect, I can see that there is an invisible 72px tall window without a caption, but with a class of Window.UI.Input.InputSite.WindowClass
that gets focus when I click on the red arrow. The actual taskbar is correctly 48px tall.
I'm running Windows 11 23H2 (22631.4602) with Intel Iris Xe Graphics (32.0.101.5972) on a Lenovo X1 Yoga G6 with a dock. The issue persists across OS reinstalls. I do not have High-DPI turned on. All monitors are configured for 96dpi, though the integrated display has a native resolution of 144dpi which would make 72dpi an appropriate taskbar height.
It does not happen reliably: I think it may have something to do with disconnecting and reconnecting monitors.
(I also submitted this in Feedback Hub)