after porting my application successfully from SDL-1.2.15 under MACOSX and
UBUNTU 12.04 today I ported my app to WIN8 (x64). Now I detect a problem
resizing my window manually. After sizing my main window (the only window
in my application) through grabbing the window border with the mouse the
window collapses instantly to a size of 0 x 124.
I tried to reproduce the problem - and here a the minimal steps I found.
Yeah, if a bug is apparent (especially if it shows up in one of the demo
programs), then add it to the bug tracker so it’s sure to get looked at
soon.
Jonny DOn Sun, Jan 6, 2013 at 8:45 AM, Marco Schmidt <Marco.Schmidt at taugamma.de>wrote:
Dear SDL-developers,
after porting my application successfully from SDL-1.2.15 under MACOSX and
UBUNTU 12.04 today I ported my app to WIN8 (x64). Now I detect a problem
resizing my window manually. After sizing my main window (the only window
in my application) through grabbing the window border with the mouse the
window collapses instantly to a size of 0 x 124.
I tried to reproduce the problem - and here a the minimal steps I found.
If the application developer needs to set the minimum and maximum size in an SDL-based application we must explicitly state this fact in the documentation. In this case the demo/test programs need a patch to follow the protocol to set min/max sizes. I filed a bug under http://bugzilla.libsdl.org/show_bug.cgi?id=1682 too. I think a sensible default value is a better solution without breaking all current applications.
Marco Schmidt> This is not a bug, but a new future that was recently introduced.
Use these two lines to set minimum and maximum allowed window sizes:
If the application developer needs to set the minimum and maximum size in
an SDL-based application we must explicitly state this fact in the
documentation. In this case the demo/test programs need a patch to follow
the protocol to set min/max sizes. I filed a bug under http://bugzilla.libsdl.org/show_bug.cgi?id=1682 too. I think a sensible
default value would be a better solution without breaking all current
applications.
Marco Schmidt> This is not a bug, but a new future that was recently introduced.
Use these two lines to set minimum and maximum allowed window sizes:
If the application developer needs to set the minimum and maximum size in
an SDL-based application we must explicitly state this fact in the
documentation. In this case the demo/test programs need a patch to follow
the protocol to set min/max sizes. I filed a bug under http://bugzilla.libsdl.org/show_bug.cgi?id=1682 too. I think a sensible
default value is a better solution without breaking all current
applications.
Marco Schmidt> This is not a bug, but a new future that was recently introduced.
Use these two lines to set minimum and maximum allowed window sizes: