Re: [PATCH 2/7] d3d9/tests: Test messages on focus loss.
Stefan Dösinger <stefan(a)codeweavers.com> writes:
Resolution changing behavior will be tested in a separate patch. --- dlls/d3d9/tests/d3d9ex.c | 277 ++++++++++++++++++++++++++++---------------- dlls/d3d9/tests/device.c | 293 +++++++++++++++++++++++++++++++---------------- 2 files changed, 375 insertions(+), 195 deletions(-)
It doesn't work here: ../../../tools/runtest -q -P wine -T ../../.. -M d3d9.dll -p d3d9_test.exe.so d3d9ex && touch d3d9ex.ok d3d9ex.c:1656: Tests skipped: This GPU supports SM3, skipping unsupported shader test. d3d9ex.c:1942: Test failed: Expected message 0x6 for window 0x1, but didn't receive it, i=0. d3d9ex.c:1964: Test failed: Got unexpected hr 0x8760878, i=0. d3d9ex.c:1942: Test failed: Expected message 0x6 for window 0x1, but didn't receive it, i=1. d3d9ex.c:1964: Test failed: Got unexpected hr 0x8760878, i=1. make: *** [d3d9ex.ok] Error 4 -- Alexandre Julliard julliard(a)winehq.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 2014-11-17 10:16, schrieb Alexandre Julliard:
../../../tools/runtest -q -P wine -T ../../.. -M d3d9.dll -p d3d9_test.exe.so d3d9ex && touch d3d9ex.ok d3d9ex.c:1656: Tests skipped: This GPU supports SM3, skipping unsupported shader test. d3d9ex.c:1942: Test failed: Expected message 0x6 for window 0x1, but didn't receive it, i=0. d3d9ex.c:1964: Test failed: Got unexpected hr 0x8760878, i=0. d3d9ex.c:1942: Test failed: Expected message 0x6 for window 0x1, but didn't receive it, i=1. d3d9ex.c:1964: Test failed: Got unexpected hr 0x8760878, i=1. make: *** [d3d9ex.ok] Error 4 Which window manager do you use?
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJUaeydAAoJEN0/YqbEcdMws5sP/359g6vG9JdlySLbZgeaMQOS kJZPlp+txceKJAHBfjhSmd3pDgIE6nfXUnnuMdLMrxQHicp/zsFNX1iiVQw9cZLl TVLvWHu4637TUMXCYADjTSszY7ki9NTdhS9xUDB3hAtLOMdqIs5Se6//ttWWG0hQ BK2FEFU2ECn9k0vq+4swASeqPmi1YELgVu2JT7JnqI7rpQzN7Vhu48+tNr+Rx1rI zXq7TYWv7wOPz/z0Q+25W79e2ljY07nVV/oNzjL8YZLdo+kZv0R/CBt/qys21hDE fKR5QxamtNgUnXNt8bXLk8Gr8XDk9Ho9IF2c6Lw/te+sSJK6EuVoaoRhFmmZ6wpd k7fx+70vX2f3/9UynDNkyT61abm701xZ5mNJ4MclXoV2mg8u4WVRtGb1GtdDSQHB uYmgVPJwe0SOI7tUQpw1+7cyo0rxintD4yGvHowehSDaHn3KwrNcMmZUxf3eTXdo +dbrHwIw0CkEyWB6CKYNHev55H0sk6ksCQUJ8P64BR4/M4cuW9qvCXCN9qD4kHnz o/hLZL7+h9NexC4f2nFJwmQkIkFQnoMeb4tFEaxFDboGlXvllCTsu94dG8tXkSUx HfSD4+qtmwZNwIgxCfjGDsmkNzOHVnMOOrj7nHrsuZSttlAvl9bpIccM+0DB64iJ AHL67WRJ27y2ku/wEtrx =65GT -----END PGP SIGNATURE-----
Stefan Dösinger <stefandoesinger(a)gmail.com> writes:
Am 2014-11-17 10:16, schrieb Alexandre Julliard:
../../../tools/runtest -q -P wine -T ../../.. -M d3d9.dll -p d3d9_test.exe.so d3d9ex && touch d3d9ex.ok d3d9ex.c:1656: Tests skipped: This GPU supports SM3, skipping unsupported shader test. d3d9ex.c:1942: Test failed: Expected message 0x6 for window 0x1, but didn't receive it, i=0. d3d9ex.c:1964: Test failed: Got unexpected hr 0x8760878, i=0. d3d9ex.c:1942: Test failed: Expected message 0x6 for window 0x1, but didn't receive it, i=1. d3d9ex.c:1964: Test failed: Got unexpected hr 0x8760878, i=1. make: *** [d3d9ex.ok] Error 4 Which window manager do you use?
fvwm. -- Alexandre Julliard julliard(a)winehq.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 2014-11-17 13:41, schrieb Alexandre Julliard:
Stefan Dösinger <stefandoesinger(a)gmail.com> writes:
Which window manager do you use?
fvwm. I can reproduce the problem. The reason seems to be that the WM_ACTIVTE(WA_INACTIVE) message is never sent because the window doesn't have focus due to the focus follows mouse behavior. I can reproduce the problem with KDE when I enable focus follows mouse, and fvwm works when I disable it there.
I'll remove the WM_ACTIVATE message from the expected messages, that should fix the test. I'm still puzzled though why the remaining part of the tests work, and why test_lost_device works with focus follows mouse WMs. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJUagi1AAoJEN0/YqbEcdMwj6oP/ienrX/ZF/R+ARQRyGbZsLsg dQyvCvWKrqeuJ5N/b1rLAhVRCqplKh3SXt0uPFD+U2cikCk+x2A04seu59sPBuPj oMzvVNAXKyCT4Vvx1YGRfHfezkGahMs6+uJHQWrncNg3XoTuT6OdKiWJcDBetWn7 C/vvrno+gzskJou7ekBzRPdZbHYNhEODRc7lOWiBHMldsU0sWYO4oiaiwATi5Ks6 lBT+oMinPvNvQ/hCL9s2RkvNYlNg7QK9YvVNhyn5PbFxlNooC5LE/swxZwhBdEUd eOzVyxWrb3aR0szG5WUD5TsLAmblPfCAcz8cLmsQ5mkBBYxhLiRWzZcEmuwjjcEE ogDby7hB1v5NVtuAalouuhtdKGqMOa0fjZjNU541SSllT7zTAXlWKgym331kiblS wBtWwPT8+NQ1B4QwhR72eolyyhhHrtli9gdry6wHDLv6k0giqZHma+BmRg3nUeca nwjVpOKCl+r7lXbwqrnYK/C2z606zsY9VIGh5e2tFTUOxotv/CHmbstFqaRNVh+1 kmnkroWmYmmeVASIO/bPT4Y6qZIs9cYSh631eJxVo88Tucp+QXnLHSHjqy3KGm2T wAMEWRaT11AmsYTMNtbF62GtUZB36ayv1E5hKRvIrSnA2FOkR0fiF4T7CHtpydRR dxqXtLpXrxWm8bXFhuXI =6zKp -----END PGP SIGNATURE-----
participants (2)
-
Alexandre Julliard -
Stefan Dösinger