Signed-off-by: Paul Gofman pgofman@codeweavers.com --- This is a follow up for commit 78533e9e94d4fcae06dd44d29dbed4755d4ac1f4 porting the same test for ddraw. Altough the test result is different, ddraw doesn't seem to do the same.
What I think is going on in d3d9 (deserves a separate test which I don't have yet ready) is that d3d9 window hook sends WM_ACTIVATEAPP whenever it receives WM_SIZE event (dumping messages in flush_events() show that). Then, WM_ACTIVATEAPP is already processed the way it restores the window size in Wine but it probably should also remeber the "activated" state and then the second resize also won't have an effect.
dlls/ddraw/tests/ddraw1.c | 40 ++++++++++++++++++++++++++++++++++++++- dlls/ddraw/tests/ddraw2.c | 40 ++++++++++++++++++++++++++++++++++++++- dlls/ddraw/tests/ddraw4.c | 40 ++++++++++++++++++++++++++++++++++++++- dlls/ddraw/tests/ddraw7.c | 40 ++++++++++++++++++++++++++++++++++++++- 4 files changed, 156 insertions(+), 4 deletions(-)
diff --git a/dlls/ddraw/tests/ddraw1.c b/dlls/ddraw/tests/ddraw1.c index c9f2aead75c..11c14777122 100644 --- a/dlls/ddraw/tests/ddraw1.c +++ b/dlls/ddraw/tests/ddraw1.c @@ -14191,7 +14191,7 @@ static void test_vtbl_protection(void) static BOOL CALLBACK test_window_position_cb(HMONITOR monitor, HDC hdc, RECT *monitor_rect, LPARAM lparam) { - RECT primary_rect, window_rect; + RECT primary_rect, window_rect, new_rect; IDirectDraw *ddraw; HWND window; HRESULT hr; @@ -14214,6 +14214,44 @@ static BOOL CALLBACK test_window_position_cb(HMONITOR monitor, HDC hdc, RECT *mo ok(EqualRect(&window_rect, &primary_rect), "Expect window rect %s, got %s.\n", wine_dbgstr_rect(&primary_rect), wine_dbgstr_rect(&window_rect));
+ new_rect = window_rect; + --new_rect.right; + --new_rect.bottom; + + ret = MoveWindow(window, new_rect.left, new_rect.top, new_rect.right - new_rect.left, + new_rect.bottom - new_rect.top, TRUE); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ret = GetWindowRect(window, &window_rect); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ok(EqualRect(&window_rect, &new_rect), + "Expected window rect %s, got %s.\n", + wine_dbgstr_rect(monitor_rect), wine_dbgstr_rect(&window_rect)); + /* After processing window events window rectangle gets restored. But only once, the size set + * on the second resize remains. */ + flush_events(); + ret = GetWindowRect(window, &window_rect); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + /* Both Windows and Wine change the size of the window. On Windows it is exactly the new size but in Wine + * it may get adjusted depending on window manager. */ + ok(window_rect.right != monitor_rect->right && window_rect.bottom != monitor_rect->bottom, + "Expected window rect %s, got %s.\n", + wine_dbgstr_rect(monitor_rect), wine_dbgstr_rect(&window_rect)); + + ret = MoveWindow(window, new_rect.left, new_rect.top, new_rect.right - new_rect.left, + new_rect.bottom - new_rect.top, TRUE); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ret = GetWindowRect(window, &window_rect); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ok(EqualRect(&window_rect, &new_rect), + "Expected window rect %s, got %s.\n", + wine_dbgstr_rect(monitor_rect), wine_dbgstr_rect(&window_rect)); + flush_events(); + ret = GetWindowRect(window, &window_rect); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ok(window_rect.right != monitor_rect->right && window_rect.bottom != monitor_rect->bottom, + "Expected window rect %s, got %s.\n", + wine_dbgstr_rect(monitor_rect), wine_dbgstr_rect(&window_rect)); + /* Window activation should restore the window to fit the whole primary monitor */ ret = SetWindowPos(window, 0, monitor_rect->left, monitor_rect->top, 0, 0, SWP_NOZORDER | SWP_NOSIZE); diff --git a/dlls/ddraw/tests/ddraw2.c b/dlls/ddraw/tests/ddraw2.c index 7285c1c3a88..33ad957b644 100644 --- a/dlls/ddraw/tests/ddraw2.c +++ b/dlls/ddraw/tests/ddraw2.c @@ -15115,7 +15115,7 @@ done: static BOOL CALLBACK test_window_position_cb(HMONITOR monitor, HDC hdc, RECT *monitor_rect, LPARAM lparam) { - RECT primary_rect, window_rect; + RECT primary_rect, window_rect, new_rect; IDirectDraw2 *ddraw; HWND window; HRESULT hr; @@ -15138,6 +15138,44 @@ static BOOL CALLBACK test_window_position_cb(HMONITOR monitor, HDC hdc, RECT *mo ok(EqualRect(&window_rect, &primary_rect), "Expect window rect %s, got %s.\n", wine_dbgstr_rect(&primary_rect), wine_dbgstr_rect(&window_rect));
+ new_rect = window_rect; + --new_rect.right; + --new_rect.bottom; + + ret = MoveWindow(window, new_rect.left, new_rect.top, new_rect.right - new_rect.left, + new_rect.bottom - new_rect.top, TRUE); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ret = GetWindowRect(window, &window_rect); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ok(EqualRect(&window_rect, &new_rect), + "Expected window rect %s, got %s.\n", + wine_dbgstr_rect(monitor_rect), wine_dbgstr_rect(&window_rect)); + /* After processing window events window rectangle gets restored. But only once, the size set + * on the second resize remains. */ + flush_events(); + ret = GetWindowRect(window, &window_rect); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + /* Both Windows and Wine change the size of the window. On Windows it is exactly the new size but in Wine + * it may get adjusted depending on window manager. */ + ok(window_rect.right != monitor_rect->right && window_rect.bottom != monitor_rect->bottom, + "Expected window rect %s, got %s.\n", + wine_dbgstr_rect(monitor_rect), wine_dbgstr_rect(&window_rect)); + + ret = MoveWindow(window, new_rect.left, new_rect.top, new_rect.right - new_rect.left, + new_rect.bottom - new_rect.top, TRUE); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ret = GetWindowRect(window, &window_rect); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ok(EqualRect(&window_rect, &new_rect), + "Expected window rect %s, got %s.\n", + wine_dbgstr_rect(monitor_rect), wine_dbgstr_rect(&window_rect)); + flush_events(); + ret = GetWindowRect(window, &window_rect); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ok(window_rect.right != monitor_rect->right && window_rect.bottom != monitor_rect->bottom, + "Expected window rect %s, got %s.\n", + wine_dbgstr_rect(monitor_rect), wine_dbgstr_rect(&window_rect)); + /* Window activation should restore the window to fit the whole primary monitor */ ret = SetWindowPos(window, 0, monitor_rect->left, monitor_rect->top, 0, 0, SWP_NOZORDER | SWP_NOSIZE); diff --git a/dlls/ddraw/tests/ddraw4.c b/dlls/ddraw/tests/ddraw4.c index 07afc44e519..61828430331 100644 --- a/dlls/ddraw/tests/ddraw4.c +++ b/dlls/ddraw/tests/ddraw4.c @@ -18152,7 +18152,7 @@ done: static BOOL CALLBACK test_window_position_cb(HMONITOR monitor, HDC hdc, RECT *monitor_rect, LPARAM lparam) { - RECT primary_rect, window_rect; + RECT primary_rect, window_rect, new_rect; IDirectDraw4 *ddraw; HWND window; HRESULT hr; @@ -18175,6 +18175,44 @@ static BOOL CALLBACK test_window_position_cb(HMONITOR monitor, HDC hdc, RECT *mo ok(EqualRect(&window_rect, &primary_rect), "Expect window rect %s, got %s.\n", wine_dbgstr_rect(&primary_rect), wine_dbgstr_rect(&window_rect));
+ new_rect = window_rect; + --new_rect.right; + --new_rect.bottom; + + ret = MoveWindow(window, new_rect.left, new_rect.top, new_rect.right - new_rect.left, + new_rect.bottom - new_rect.top, TRUE); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ret = GetWindowRect(window, &window_rect); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ok(EqualRect(&window_rect, &new_rect), + "Expected window rect %s, got %s.\n", + wine_dbgstr_rect(monitor_rect), wine_dbgstr_rect(&window_rect)); + /* After processing window events window rectangle gets restored. But only once, the size set + * on the second resize remains. */ + flush_events(); + ret = GetWindowRect(window, &window_rect); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + /* Both Windows and Wine change the size of the window. On Windows it is exactly the new size but in Wine + * it may get adjusted depending on window manager. */ + ok(window_rect.right != monitor_rect->right && window_rect.bottom != monitor_rect->bottom, + "Expected window rect %s, got %s.\n", + wine_dbgstr_rect(monitor_rect), wine_dbgstr_rect(&window_rect)); + + ret = MoveWindow(window, new_rect.left, new_rect.top, new_rect.right - new_rect.left, + new_rect.bottom - new_rect.top, TRUE); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ret = GetWindowRect(window, &window_rect); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ok(EqualRect(&window_rect, &new_rect), + "Expected window rect %s, got %s.\n", + wine_dbgstr_rect(monitor_rect), wine_dbgstr_rect(&window_rect)); + flush_events(); + ret = GetWindowRect(window, &window_rect); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ok(window_rect.right != monitor_rect->right && window_rect.bottom != monitor_rect->bottom, + "Expected window rect %s, got %s.\n", + wine_dbgstr_rect(monitor_rect), wine_dbgstr_rect(&window_rect)); + /* Window activation should restore the window to fit the whole primary monitor */ ret = SetWindowPos(window, 0, monitor_rect->left, monitor_rect->top, 0, 0, SWP_NOZORDER | SWP_NOSIZE); diff --git a/dlls/ddraw/tests/ddraw7.c b/dlls/ddraw/tests/ddraw7.c index 29fa3434d4b..fc0f854e125 100644 --- a/dlls/ddraw/tests/ddraw7.c +++ b/dlls/ddraw/tests/ddraw7.c @@ -18419,7 +18419,7 @@ done: static BOOL CALLBACK test_window_position_cb(HMONITOR monitor, HDC hdc, RECT *monitor_rect, LPARAM lparam) { - RECT primary_rect, window_rect; + RECT primary_rect, window_rect, new_rect; IDirectDraw7 *ddraw; HWND window; HRESULT hr; @@ -18442,6 +18442,44 @@ static BOOL CALLBACK test_window_position_cb(HMONITOR monitor, HDC hdc, RECT *mo ok(EqualRect(&window_rect, &primary_rect), "Expect window rect %s, got %s.\n", wine_dbgstr_rect(&primary_rect), wine_dbgstr_rect(&window_rect));
+ new_rect = window_rect; + --new_rect.right; + --new_rect.bottom; + + ret = MoveWindow(window, new_rect.left, new_rect.top, new_rect.right - new_rect.left, + new_rect.bottom - new_rect.top, TRUE); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ret = GetWindowRect(window, &window_rect); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ok(EqualRect(&window_rect, &new_rect), + "Expected window rect %s, got %s.\n", + wine_dbgstr_rect(monitor_rect), wine_dbgstr_rect(&window_rect)); + /* After processing window events window rectangle gets restored. But only once, the size set + * on the second resize remains. */ + flush_events(); + ret = GetWindowRect(window, &window_rect); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + /* Both Windows and Wine change the size of the window. On Windows it is exactly the new size but in Wine + * it may get adjusted depending on window manager. */ + ok(window_rect.right != monitor_rect->right && window_rect.bottom != monitor_rect->bottom, + "Expected window rect %s, got %s.\n", + wine_dbgstr_rect(monitor_rect), wine_dbgstr_rect(&window_rect)); + + ret = MoveWindow(window, new_rect.left, new_rect.top, new_rect.right - new_rect.left, + new_rect.bottom - new_rect.top, TRUE); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ret = GetWindowRect(window, &window_rect); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ok(EqualRect(&window_rect, &new_rect), + "Expected window rect %s, got %s.\n", + wine_dbgstr_rect(monitor_rect), wine_dbgstr_rect(&window_rect)); + flush_events(); + ret = GetWindowRect(window, &window_rect); + ok(ret, "Got unexpected ret %#x, error %#x.\n", ret, GetLastError()); + ok(window_rect.right != monitor_rect->right && window_rect.bottom != monitor_rect->bottom, + "Expected window rect %s, got %s.\n", + wine_dbgstr_rect(monitor_rect), wine_dbgstr_rect(&window_rect)); + /* Window activation should restore the window to fit the whole primary monitor */ ret = SetWindowPos(window, 0, monitor_rect->left, monitor_rect->top, 0, 0, SWP_NOZORDER | SWP_NOSIZE);
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=104577
Your paranoid android.
=== w1064v1507 (32 bit report) ===
ddraw: ddraw7.c:18714: Test failed: Got unexpected color 0x0000ff00.
=== w1064v1809 (32 bit report) ===
ddraw: ddraw7.c:18714: Test failed: Got unexpected color 0x00000040.
=== w1064 (32 bit report) ===
ddraw: ddraw7.c:18714: Test failed: Got unexpected color 0x00000040.
=== debian11 (32 bit report) ===
ddraw: ddraw2.c:6670: Test failed: Failed to attach surface, hr 0x8876000a. ddraw2.c:6673: Test failed: Got unexpected hr 0x8876000a. ddraw2.c:6675: Test failed: Failed to detach surface, hr 0x88760014. ddraw2.c:6678: Test failed: Failed to attach surface, hr 0x8876000a. ddraw2.c:6683: Test failed: Failed to detach surface, hr 0x88760014. ddraw2.c:15160: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15175: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15194: Test failed: Expect window rect (0,0)-(640,480), got (0,0)-(1024,737). ddraw2.c:15201: Test failed: Expect window rect (0,0)-(640,480), got (0,0)-(1024,737). ddraw4.c:2949: Test failed: Expected window style 0x4cf0000, got 0xb40b0000. ddraw4.c:2951: Test failed: Expected window extended style 0x100, got 0. ddraw4.c:3708: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3745: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:18197: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18212: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18464: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18479: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737).
=== debian11 (32 bit Arabic:Morocco report) ===
ddraw: ddraw1.c:14236: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw1.c:14251: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15160: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15175: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:3558: Test failed: Expected resolution 640x480, got 800x600. ddraw4.c:3575: Test failed: Expected surface width 640, got 800. ddraw4.c:3577: Test failed: Expected surface height 480, got 600. ddraw4.c:3591: Test failed: Expected (0,0)-(640,480), got (0,0)-(800,600). ddraw4.c:3596: Test failed: Expected surface width 640, got 800. ddraw4.c:3598: Test failed: Expected surface height 480, got 600. ddraw4.c:3611: Test failed: Expected surface width 640, got 800. ddraw4.c:3613: Test failed: Expected surface height 480, got 600. ddraw4.c:3617: Test failed: Expected (0,0)-(640,480), got (0,0)-(800,600). ddraw4.c:3640: Test failed: Expected (0,0)-(640,480), got (0,0)-(800,600). ddraw4.c:3649: Test failed: Got unexpected hr 0. ddraw4.c:3662: Test failed: Expected (0,0)-(640,480), got (0,0)-(800,600). ddraw4.c:3667: Test failed: Expected surface width 640, got 800. ddraw4.c:3669: Test failed: Expected surface height 480, got 600. ddraw4.c:3688: Test failed: Expected (0,0)-(640,480), got (0,0)-(800,600). ddraw4.c:3708: Test failed: Expected (0,0)-(640,480), got (0,0)-(800,600). ddraw4.c:3721: Test failed: Expected resolution 640x480, got 800x600. ddraw4.c:3738: Test failed: Expected surface width 640, got 800. ddraw4.c:3740: Test failed: Expected surface height 480, got 600. ddraw4.c:3745: Test failed: Expected (0,0)-(640,480), got (0,0)-(800,600). ddraw4.c:3764: Test failed: Expected screen size 640x480, got 800x600. ddraw4.c:3771: Test failed: Expected (0,0)-(640,480), got (0,0)-(800,600). ddraw4.c:3783: Test failed: Expected surface width 640, got 800. ddraw4.c:3785: Test failed: Expected surface height 480, got 600. ddraw4.c:3836: Test failed: Expected screen size 2 640x480, got 800x600. ddraw4.c:3841: Test failed: Expected (0,0)-(720,480), got (0,0)-(1024,768). ddraw4.c:3844: Test failed: Expected (0,0)-(640,480), got (0,0)-(800,600). ddraw4.c:3856: Test failed: Expected surface width 640, got 800. ddraw4.c:3858: Test failed: Expected surface height 480, got 600. ddraw4.c:3866: Test failed: Expected (0,0)-(720,480), got (0,0)-(1024,768). ddraw4.c:18197: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18212: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:3911: Test failed: Got a different mode. ddraw7.c:18464: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18479: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737).
=== debian11 (32 bit German report) ===
ddraw: ddraw1.c:14236: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw1.c:14251: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15160: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15175: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18197: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18212: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18464: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18479: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737).
=== debian11 (32 bit French report) ===
ddraw: ddraw1.c:3232: Test failed: Expected resolution 640x480, got 720x480. ddraw1.c:3249: Test failed: Expected surface width 640, got 720. ddraw1.c:3265: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3270: Test failed: Expected surface width 640, got 720. ddraw1.c:3285: Test failed: Expected surface width 640, got 720. ddraw1.c:3291: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3314: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3336: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3341: Test failed: Expected surface width 640, got 720. ddraw1.c:3362: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3382: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3395: Test failed: Expected resolution 640x480, got 720x480. ddraw1.c:3412: Test failed: Expected surface width 640, got 720. ddraw1.c:3419: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:14236: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw1.c:14251: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15160: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15175: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15194: Test failed: Expect window rect (0,0)-(640,480), got (1024,0)-(2048,737). ddraw2.c:15201: Test failed: Expect window rect (0,0)-(640,480), got (1024,0)-(2048,737). ddraw4.c:18197: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18212: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18464: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18479: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737).
=== debian11 (32 bit Hebrew:Israel report) ===
ddraw: ddraw1.c:2996: Test failed: Got unexpected screen size 720x480. ddraw1.c:3002: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3050: Test failed: Expected message 0x47, but didn't receive it. ddraw1.c:3052: Test failed: Expected screen size 640x480, got 0x0. ddraw1.c:3058: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3082: Test failed: Expected surface width 640, got 720. ddraw1.c:3088: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3095: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3100: Test failed: Expected surface width 640, got 720. ddraw1.c:3115: Test failed: Expected surface width 640, got 720. ddraw1.c:3121: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3144: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3164: Test failed: Got unexpected hr 0. ddraw1.c:3166: Test failed: Got unexpected hr 0. ddraw1.c:3173: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3178: Test failed: Expected surface width 640, got 720. ddraw1.c:3199: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3219: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3232: Test failed: Expected resolution 640x480, got 720x480. ddraw1.c:3249: Test failed: Expected surface width 640, got 720. ddraw1.c:3255: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3265: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3270: Test failed: Expected surface width 640, got 720. ddraw1.c:3285: Test failed: Expected surface width 640, got 720. ddraw1.c:3291: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3314: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3327: Test failed: Got unexpected hr 0. ddraw1.c:3329: Test failed: Got unexpected hr 0. ddraw1.c:3336: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3341: Test failed: Expected surface width 640, got 720. ddraw1.c:3362: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3382: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3395: Test failed: Expected resolution 640x480, got 720x480. ddraw1.c:3412: Test failed: Expected surface width 640, got 720. ddraw1.c:3419: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw1.c:3839: Test failed: Got a different mode. ddraw1.c:14236: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw1.c:14251: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15160: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15175: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18197: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18212: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18464: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18479: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737).
=== debian11 (32 bit Hindi:India report) ===
ddraw: ddraw1.c:14236: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw1.c:14251: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:4044: Test failed: Got a different mode. ddraw2.c:15160: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15175: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18197: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18212: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18464: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18479: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737).
=== debian11 (32 bit Japanese:Japan report) ===
ddraw: ddraw1.c:14236: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw1.c:14251: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15160: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15175: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18197: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18212: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18464: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18479: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737).
=== debian11 (32 bit Chinese:China report) ===
ddraw: ddraw1.c:14236: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw1.c:14251: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15160: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15175: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18197: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18212: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18464: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18479: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737).
=== debian11 (32 bit WoW report) ===
ddraw: ddraw1.c:14236: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw1.c:14251: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw1.c:14270: Test failed: Expect window rect (0,0)-(640,480), got (0,0)-(1024,737). ddraw1.c:14277: Test failed: Expect window rect (0,0)-(640,480), got (0,0)-(1024,737). ddraw2.c:2713: Test failed: Expected window style 0x4cf0000, got 0xb40b0000. ddraw2.c:2715: Test failed: Expected window extended style 0x100, got 0. ddraw2.c:15160: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15175: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18197: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18212: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18464: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18479: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737).
=== debian11 (64 bit WoW report) ===
ddraw: ddraw1.c:14214: Test failed: Expect window rect (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:14270: Test failed: Expect window rect (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:14277: Test failed: Expect window rect (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:14214: Test failed: Expect window rect (0,0)-(640,480), got (0,0)-(1024,737). ddraw1.c:14236: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw1.c:14251: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw1.c:14270: Test failed: Expect window rect (0,0)-(640,480), got (1024,0)-(2048,737). ddraw1.c:14277: Test failed: Expect window rect (0,0)-(640,480), got (1024,0)-(2048,737). ddraw2.c:4346: Test failed: Display mode restored after good ddraw1::SetCooperativeLevel call ddraw2.c:15160: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15175: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15194: Test failed: Expect window rect (0,0)-(640,480), got (1024,0)-(2048,737). ddraw2.c:15201: Test failed: Expect window rect (0,0)-(640,480), got (1024,0)-(2048,737). ddraw4.c:18197: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18212: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18464: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18479: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737).