https://bugs.winehq.org/show_bug.cgi?id=56935
--- Comment #5 from Jactry Zeng jactry92@gmail.com --- (In reply to Grazvydas Ignotas from comment #4)
I was able to figure out the cause and have already sent a patch for this, but it was ignored: https://gitlab.winehq.org/wine/wine/-/merge_requests/6006
matt: just set WINEDEBUG=+dwmapi,+loaddll environment variable for the log. Also ignore "Remote plugin crashed" in the log, lmms alwas does that for me on exit.
Thanks for the information! So the application needs DwmFlush() to be implemented or at least improve the current stub. I read through the conversation in MR! 6006, looks like DwmFlush() isn't a thing we can really implement before implementing DWM compositor behaving[1]. Paul also has a patch for improving the stub in https://gitlab.winehq.org/wine/wine/-/merge_requests/2463, if that one also works for a real-world application (e.g. Softube VST plugins), perhaps we can try to get that one upstream?
[1] https://gitlab.winehq.org/wine/wine/-/merge_requests/6006#note_75514