-
Notifications
You must be signed in to change notification settings - Fork 321
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
Maximized floating windows sit under the task bar. #208
Comments
hm, interesting bug, I am afraid I have no idea how to adjust a floating window (its a Win32 window) towards leaving the taskbar on display :-( |
@Flynn1179 do you have a repository where this bug can be reproduced? |
@mgnslndh Not a public one, but honestly there's no special circumstances required to reproduce. Just float any document pane and maximize it, you'll see it's area overlap the task bar. |
Ok, this was easily reproduced as you explained. It seems this will also be a problem for me. If I find a solution I will post it here. |
I'm doing a custom theme so I will add the MaxWidth and MaxHeight in a trigger for my floating window styles:
This does not work 100% and I guess if we want a more robust solution we need to provide more than styles. Multiple monitors and DPI (and perhaps the WindowChrome) needs to be taken into account. |
@mgnslndh Can you indicate where your style could be incorporated in the themes (eg Generic or VS2013) to apply this style? I am not sure whether I understand how this relates to maximized windows not floating over the Windows Task Bar? |
I used mgnslndh solution, but had issues with multiple monitors. I tried hooking the windows WM_GETMINMAXINFO event and setting the max size, which worked assuming the application was mutli monitor DPI aware (and my legacy app was not). |
Had a simmilar issue with another project once. Turned out that Windows handels the window size just fine as long as you don't set WindowStyle to None. |
Added a document pane with a scrollable document within it, and when it's floated and maximized, the horizontal scrollbar is now underneath the task bar, making it impossible to horizontally scroll with the mouse.
Position/Orientation of the task bar doesn't matter- if I temporarily move my task bar to the right of the screen, I can't vertically scroll the floating panel, and if I move it to the top, I can't see the title bar.
The text was updated successfully, but these errors were encountered: