https://bugs.winehq.org/show_bug.cgi?id=56133
Bug ID: 56133 Summary: explorer.exe: Font leak when painting Product: Wine Version: 8.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: m101010a@gmail.com Distribution: ---
When using a virtual desktop, the function "draw_launchers" is called every time the desktop paints. This function creates a font using "CreateFontIndirectW", but does not delete it, which eventually causes wine to run out of GDI object handles, causing the desktop to not repaint. This is easy to reproduce by running a program like https://torcado.itch.io/windowkill that causes the desktop to constantly repaint.