When you have two many fonts installed Pinta freezes and crashes.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pinta |
New
|
Undecided
|
Unassigned |
Bug Description
Description of issue:
when you have too many fonts,
To reproduce:
* Download a font pack, say with 1000 fonts.
* In Pinta open an image
* click on `Text`
* select the font drop down
The UI thread will hang. This makes drawing text functionally impossible in Pinta when you have too many fonts.
On a Ryzen 7 2700:
Pinta freezes for 45 seconds when there are 2300 fonts in the system.
Opening the combobox then takes ~1:10 and is unusable as the list is larger than the screen.
Fails on 3 different machines here all with different distributions and versions of Pinta.
confirmed to be an issue on 1.6-2
Potential hint?
I am pretty certain this is a combobox issue on GTK's side and making it virtual with a scroll would solve the problem.
Duplicate to https:/ /bugs.launchpad .net/pinta/ +bug/1866653