Bug 488541 - When using xdg-desktop-portal-kde font in gtk app is blocky and diffucult to read. xdg-desktop-portal-gtk is required to fix this
Summary: When using xdg-desktop-portal-kde font in gtk app is blocky and diffucult to ...
Status: RESOLVED INTENTIONAL
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: git-stable-Plasma/6.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-15 15:54 UTC by dmatteo002
Modified: 2024-06-15 19:44 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Top is without problem bottom one is with problem (using GTK_USE_PORTAL here) (46.57 KB, image/png)
2024-06-15 15:54 UTC, dmatteo002
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmatteo002 2024-06-15 15:54:03 UTC
Created attachment 170532 [details]
Top is without problem bottom one is with problem (using GTK_USE_PORTAL here)

SUMMARY
If the system does not have installed xdg-desktop-portal-gtk but has installed xdg-desktop-portal-kde (with or without xdg-desktop-portal) the font in most gtk app is blocky and diffult to read (see screenshot).

STEPS TO REPRODUCE
1. Install a gtk app. Examples is xournalpp but most gtk app using default font (i think) should have this problem (firefox does not have this problem).
2. Make sure to have only xdg-desktop-portal-kde and not xdg-desktop-portal-gtk installed (reboot may be required after install)
3. [Alternatively] run the program with GTK_USE_PORTAL=1
3. run the installed gtk app

OBSERVED RESULT
The font is blocky and not the same as when xdg-desktop-portal-gtk is installed.

EXPECTED RESULT
The font shold be the same, or if not possible should be a less blocky and more legible font.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.4.0
Qt Version: 6.8.0
Kernel Version: 6.9.4-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Not sure if plasma can do anything about it or if I should report the bug somewhere else.
Comment 1 David Edmundson 2024-06-15 16:08:51 UTC
This is apparently as intended. If you disagree talk to gtk people.
Comment 2 Guido 2024-06-15 19:44:18 UTC
I noticed that this problem only occurs with Wayland, whereas on X11 fonts are rendered correctly even without xdg-desktop-portal-gtk