We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1704 - Attempting to resize windows shrinks them to zero height
Summary: Attempting to resize windows shrinks them to zero height
Status: RESOLVED DUPLICATE of bug 1682
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86_64 Windows 7
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-29 19:45 UTC by fox_jmtbbk
Modified: 2013-02-01 22:48 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fox_jmtbbk 2013-01-29 19:45:06 UTC
Steps to reproduce:
 - Use SDL2 2012-01-27 snapshot on Microsoft Windows 7 amd64 with MSVC2012.
 - In src\test\SDL_test_common.c add SDL_WINDOW_RESIZABLE to the window flags.
 - Compile and execute the testgl2 project.
 - Attempt to resize by dragging the window border.

Buggy behaviour:
 - Window immediately snaps to zero height and about 100 pixels wide.

Expected behaviour:
 - Window changes size.

This bug seems to be specific to SDL2. The correct behaviour happens in testgl2 supplied with SDL1.2 2012-01-20 snapshot.
Comment 1 Philipp Wiesemann 2013-01-30 12:58:36 UTC
Maybe similar to bug 1682 and maybe SDL_SetWindowMinimumSize() helps.
Comment 2 Marco Schmidt 2013-01-30 14:11:39 UTC
Duplicate of 1682
Comment 3 Sam Lantinga 2013-02-01 22:48:56 UTC

*** This bug has been marked as a duplicate of bug 1682 ***