FS#72686 - [xdg-desktop-portal-gtk] 1.10.0-2 breaks fonts and theming in gtk flatpak apps
Attached to Project:
Arch Linux
Opened by Hossam Mostafa (hossamdash) - Wednesday, 10 November 2021, 01:18 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 10 November 2021, 19:17 GMT
Opened by Hossam Mostafa (hossamdash) - Wednesday, 10 November 2021, 01:18 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 10 November 2021, 19:17 GMT
|
Details
Description:
Most portals in "xdg-desktop-portal-gtk" were moved to the gnome-specfic "xdg-desktop-portal-gnome" to enable gtk users to pass gtk settings like fontconfig and the gtk theme onto flatpak apps without installing gnome specific dependencies like gnome-desktop and gnome-keyring. two of these portals should be enabled in the gtk portal for this to work; the settings and app chooser portals. These can be enabled by passing these parameters to the ./configure script in the PKGBUILD ./configure --prefix=/usr --libexecdir=/usr/lib --enable-settings --enable-appchooser after building the modified PKGBUILD and installing the package (and restarting the pc for the portal from the new package to start) flatpak apps were respecting my GTK and fonts were anti-aliased properly. I'm submitting this as a feature request as it's a known bug upstream. Additional info: wm: sway (wayland) * package version(s) [flatpak] 1.12.2-1 [org.gnome.Calculator] 41.0 from flathub with runtime org.gnome.Platform/x86_64/41 to test the theming and fonts. I don't have xdg-desktop-portal-gnome installed. * config and/or log files etc. ----------------------------- * link to upstream bug report, if any https://github.com/flatpak/xdg-desktop-portal-gtk/issues/355 Steps to reproduce: - install [xdg-desktop-portal-gtk] 1.10.0-2 but not xdg-desktop-portal-gnome - open a gtk flatpak app - fonts are blurry and theme is the default adwaita theme, not the theme i had configured in my gsettings. |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Wednesday, 10 November 2021, 19:17 GMT
Reason for closing: Fixed
Additional comments about closing: xdg-desktop-portal-gtk 1.10.0-3
Wednesday, 10 November 2021, 19:17 GMT
Reason for closing: Fixed
Additional comments about closing: xdg-desktop-portal-gtk 1.10.0-3
Comment by
Michel Koss (MichelKoss1) -
Wednesday, 10 November 2021, 19:06 GMT
Alternatively you may backport upstream commit which fixed the
defaults:
https://github.com/flatpak/xdg-desktop-portal-gtk/commit/b28b5e69a145dc48fd5db992824d594ddab0f31c