Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GTK apps have no antialiasing in Fedora 35 KDE wayland unless I disable wayland socket in flatpak override #4438

Closed
pizzadude opened this issue Sep 29, 2021 · 8 comments

Comments

@pizzadude
Copy link

pizzadude commented Sep 29, 2021

Linux distribution and version

Fedora 35 kde beta (wayland session)

Flatpak version

flatpak-1.11.3-1.fc35.x86_64

Description of the problem

In Fedora 34 KDE wayland session, most GTK flatpak apps' fonts looked okay. After upgrading to Fedora 35 KDE Beta, in the wayland session, the fonts looked jagged (they are not antialiased). I can workaround this by disabling the wayland socket: in ~/.local/share/flatpak/overrides/global adding:

[Context]
sockets=!wayland

to the end of the file works around this issue, but this is not ideal as it forces all flatpak apps to run under xwayland.

Steps to reproduce

  1. Use fedora 35 kde wayland session
  2. install gtk flatpak app from flathub, aka flatseal
  3. notice the fonts look horrible
@ghost
Copy link

ghost commented Sep 29, 2021

Same issue here on F35 with Firefox flatpak, also it won't pick up Breeze Dark theme no matter what I do, apart from manually setting it in .var/app/.../config/gtk-3.0 folder.

@vchernin
Copy link

Try installing xdg-desktop-portal-gtk

@pizzadude
Copy link
Author

@vchernin I have that installed.

@mwleeds
Copy link
Collaborator

mwleeds commented Oct 8, 2021

It's not really clear this is a bug in Flatpak. I'm not sure which other component in might be, perhaps the Wayland compositor used by Fedora?

@vchernin
Copy link

vchernin commented Oct 8, 2021

This is flatpak/xdg-desktop-portal#642

Are there Gnome settings that should be moved out of xdg-desktop-portal-gtk?

@mwleeds
Copy link
Collaborator

mwleeds commented Oct 8, 2021

Seems like if we have an issue open on xdg-desktop-portal we don't also need one here

@mwleeds mwleeds closed this as completed Oct 8, 2021
@refi64
Copy link
Collaborator

refi64 commented Oct 8, 2021

I filed a bug in RHBZ for this a few hours ago, as I would definitely consider it to be a Fedora bug. In essence, the -gtk is now built with the Settings portal explicitly disabled, except that means that there's no provider for the font settings GTK reads outside of -gnome.

@vchernin
Copy link

vchernin commented Oct 8, 2021

Someone in GNOME Hackers mentioned there might still be settings in xdg-desktop-portal-gtk that are only relevant for GNOME users. I assume this means those settings shouldn't be present in xdg-desktop-portal-gtk regardless if --enable-settings is passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants