On Mon Aug 17 23:57:27 2026 +0000, Brendan Shanks wrote:
After manually re-running the gdiobj tests (built for x86_64) several times on a Windows 11 25H2 machine, I saw this test failing with Generation values up to 252. It seems that the failures are intermittent. I also see the failures when running the test in a loop. I went ahead and added similar test to dlls/user32/tests.msg.c,ok_sequence_() for actual->message == WM_NCPAINT && actual->wParam != 1, and also see the failures. https://gitlab.winehq.org/wine/wine/-/merge_requests/5777 has fixed a real application and has a comment with an explanation of the bug. Could it be that for a .Net app GDI handles are generated differently or for a .Net app WM_NCPAINT has a truncated wParam?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11566#note_149149