[PATCH v7 4/6] d3d8/tests: Test for window changes when it's not foreground.
Gabriel Ivăncescu
gabrielopcode at gmail.com
Wed Jan 19 13:51:47 CST 2022
On 19/01/2022 21:39, Stefan Dösinger wrote:
> Am Dienstag, 18. Jänner 2022, 19:50:28 EAT schrieb Gabriel Ivăncescu:
>> Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
>> ---
>>
>> Minimizing/restoring and setting foreground twice + waiting for thread msgs
>> seems to work in all cases for testing, both on native and wine.
>>
>> dlls/d3d8/tests/device.c | 289 +++++++++++++++++++++++++++++++++++++++
>> 1 file changed, 289 insertions(+)
>
> I finally dug out my Windows 7 box and ran the test there. Unfortunately it
> fails:
>
> device.c:5020: Test failed: Failed to reset device.
> device.c:5026: Test failed: Expected (0,0)-(1920,1200), got (0,0)-(960,600).
> device.c:5033: Test failed: Expected wndproc != 0x2ed770.
> device.c:8677: Test failed: Failed to set foreground window.
> device.c:8728: Test failed: Failed to set foreground window.
>
> The ddraw tests pass on that Windows 7 box though, so the important stuff looks
> good.
>
I tested on 32-bit version of Win7 and WinXP in a VM (not real hardware,
I don't know if it matters; I doubt it affects focus results, but at
least the device reset works I mean).
I also tested this on the original 64-bit Windows 10 version (1507) and
it has the same behavior. It's always the same. No idea when it got
changed though.
More information about the wine-devel
mailing list