| Summary: | SDL_MaximizeWindow doesn't respect the WindowMaximumSize | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Rene <king-sora> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | WAITING --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | adam |
| Version: | 2.0.5 | ||
| Hardware: | x86_64 | ||
| OS: | Windows 7 | ||
| Attachments: | A WindowsForms App with a window with max size 500x500 | ||
|
Description
Rene
2017-01-24 12:11:51 UTC
I've figured out, that if the user resizes / maximized / minimzes the window manually, the MaximumSize of the window will be respected. Just if I set the WindowMode in my code (SDL_MaximizeWindow(handle)) the maximimSize wont be respected. Rene, I'm not entirely sure this is a bug. Every application I've seen covers the whole screen when you maximize it, unless it's doing special docking behavior. What is your use case here? Ryan, what happens on other platforms? *** Bug 2531 has been marked as a duplicate of this bug. *** Created attachment 2954 [details]
A WindowsForms App with a window with max size 500x500
Well, I dont know any usecase, but on the Windows Platform a maximized window can have a maximal size. I've added a attachment (a WindowsForms application with max size 500x500) to this bug. |