Bug 498000

Summary: Installed Fonts are not recognized by the Flatpak installation of Krita
Product: [Applications] krita Reporter: melodymsg
Component: Tool/TextAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.2.6   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description melodymsg 2024-12-29 00:34:05 UTC
SUMMARY
I am operating on Linux Mint 22 (Ubuntu based) and running the Flatpak installation of Krita. I keep running into a repeated issue with the text tool where it is unable to read my installed fonts. I know it is not an issue with the fonts because other programs like libreOffice (not Flatpak based) can read the fonts fine. When testing the Appimage installation of Krita, it also reads the fonts fine.


STEPS TO REPRODUCE
1. Install Krita through Flatpak
2. Open a new document and open the text tools
3. Click the dropdown to display the options for font selection

OBSERVED RESULT
The fonts that are displayed do not accurately represent the fonts installed on the device, omitting a large majority of them.

EXPECTED RESULT
All fonts installed on the device should be displayed in krita.

SOFTWARE/OS VERSIONS
Krita

 Version: 5.2.6
 Hidpi: true

Qt

  Version (compiled): 5.15.7
  Version (loaded): 5.15.7

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 6.8.0-51-generic
  Pretty Productname: Freedesktop SDK 23.08 (Flatpak runtime)
  Product Type: org.freedesktop.platform
  Product Version: 23.08
  Desktop: X-Cinnamon
  Appimage build: No

Locale

  Languages: en_US, en, en_Latn_US
  C locale: en_US.UTF-8
  QLocale current: en
  QLocale system: en
  QTextCodec for locale: UTF-8


---------------------

ADDITIONAL INFORMATION