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.
https://bugs.winehq.org/show_bug.cgi?id=46478
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
https://bugs.winehq.org/show_bug.cgi?id=46478
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |a600d7ece16845d2b16020a5106 | |69abc7d66f21f
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Fixed with a600d7ece16845d2b16020a510669abc7d66f21f.
https://bugs.winehq.org/show_bug.cgi?id=46478
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.22.