On Fri Aug 21 03:30:26 2026 +0000, Brendan Shanks wrote:
It seems like !5777 should be reverted, but I'm not sure what the correct fix is. Maybe there is something different with GDI handles or WM_NCPAINT in .Net? Or maybe on Windows the generation increments much more slowly so the bug is never triggered? Is the application publicly available? Unfortunately the application is not publicly available. I guess that a test application that reproduces the problem could be created using the pseudo-code I described in https://gitlab.winehq.org/wine/wine/-/merge_requests/5777. While the fix might be not completely correct it should be harmless, and reverting the commit will break the application that it has fixed, and potentially it could break other .Net apps.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11566#note_149497