KaOSx / apps

KDE SC and applications
https://kaosx.us/packages/packages.php?sortby=name&sordir=asc&repo=apps
27 stars 20 forks source link

xdg-desktop-portal-gtk should be packaged. It is required for gtk flatpaks to render fonts properly #212

Closed namesarebloat closed 1 year ago

namesarebloat commented 1 year ago

Submission type

Package name & version you are having issues with or have a request for

xdg-desktop-portal 1.14.6-1

Used repositories

kaos/apps

Expected behaviour

Fonts in GTK apps look normal and the breeze theme and cursor get used.

Actual behaviour

Fonts in GTK apps are not antialiased and they use the adwaita theme and cursor. When researching this issue, I found this issue here:

Wayland GTK Flatpaks do not antialias fonts when run on KDE Plasma Wayland (Issue on Flatpak's Github)

So I used the PKGBUILD and tarball from Arch and built and installed xdg-desktop-portal-gtk - that fixed my issue in the gtk apps I had installed via flatpak (gimp-devel, flatseal and tauon-music-box).

Assumably xdg-desktop-portal-gnome needs to be installed for gnome apps to work properly, but I don't use any so idk.

Steps to reproduce the problem

Install any gtk app like gimp via flatpak, launch it, close it, try again with xdg-desktop-portal-gtk installed.

Before before After after