| Summary: | Resize collapses window instantly to a size of 0 x 124. | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Marco Schmidt <marcotaugammaschmidt> |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | critical | ||
| Priority: | P2 | CC: | fox_jmtbbk, philipp.wiesemann, vincent |
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | Windows 7 | ||
|
Description
Marco Schmidt
2013-01-06 06:49:45 UTC
I reproduced the bug on WIN7 x64, VS2012Pro, HG SDL-2.0 tip, WIN32-Build too. Debugging under windows 7 reveals that possible the changes of revision 6788 (036f53f2f5aa31a3c23357c42aa36831dbcd9a53) lead to this behavior. Possibly setting the maximum width to Zero as default value leads to this behavior. I'm having the same problem on Win7 64-bit, VS2008Pro, SDL-2.0 from January 1st, Win32-build. Obviously the problem is in src/video/windows/SDL_windowsevents.c in WIN_WindowProc. When the maximum size is not initialized, info->ptMaxTrackSize is filled with a small size and Windows resizes the window. *** Bug 1704 has been marked as a duplicate of this bug. *** Fixed, thanks! http://hg.libsdl.org/SDL/rev/a69e10925a58 |