"Jakob Eriksson" jakov@vmlinux.org wrote:
Seems the test fails in non-interactive mode without this patch.
No, the problem seems to be related to a window's visibility. Windows does not play EMF records if the DC was created for a not visible window.
A lot of other tests fail due to exactly that problem: user32/win.c and user32/msg.c are the examples.
The question is what makes the tests create invisible windows? Does winetest run as a service on a not visible desktop? Anything else?