https://bugs.winehq.org/show_bug.cgi?id=46478
Bug ID: 46478 Summary: Wordpad is slow to start with large enough number of fonts in the system Product: Wine Version: 4.0-rc6 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: bunglehead@gmail.com Distribution: ---
Simply measuring a number of messages sent to combobox gives me around 1.1M messages when it adds ~1.5K fonts to the list. This could definitely be reduced by sorting and resolving duplicates before adding strings to the control.
Commenting out populate_font_list() makes it start immediately.