Bug 415933 - Fonts of gtk3 apps installed via flatpak are not antialiased on Wayland
Summary: Fonts of gtk3 apps installed via flatpak are not antialiased on Wayland
Status: RESOLVED FIXED
Alias: None
Product: Qt/KDE Flatpak Runtime
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL: https://github.com/flatpak/flatpak/is...
Keywords:
: 450175 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-01-06 14:58 UTC by Patrick Silva
Modified: 2022-12-17 05:19 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
filezilla from arch repos (27.31 KB, image/png)
2020-01-06 14:58 UTC, Patrick Silva
Details
filezilla from flathub (18.60 KB, image/png)
2020-01-06 14:59 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-01-06 14:58:37 UTC
Created attachment 124930 [details]
filezilla from arch repos

SUMMARY
The fonts look good on X11.
Several gtk3 apps from flathub are affected on my system under Wayland:
filezilla
transmission client torrent
rhythmbox player
feed reader
pdf tricks
pdf slicer

STEPS TO REPRODUCE
1. start Wayland session
2. install any app mentioned above via flatpak/flathub
3. open the just installed app

OBSERVED RESULT
Bad font rendering. Compare the attached screenshots.

EXPECTED RESULT
fonts are correctly rendered.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.65.0
Qt Version: 5.14.0
Comment 1 Patrick Silva 2020-01-06 14:59:12 UTC
Created attachment 124931 [details]
filezilla from flathub
Comment 3 soredake 2021-02-03 17:01:35 UTC
Apps not from flathub is affected too
Comment 4 Patrick Silva 2021-02-18 12:46:31 UTC
(In reply to soredake from comment #2)
> https://github.com/flatpak/flatpak/issues/2861

At least I have found a workaround in your link: install gnome-settings-daemon
package.
Comment 5 Aleix Pol 2021-06-22 23:34:11 UTC
If it's about apps, it sure isn't about our flatpak runtime. If installing a component fixes it, it's either a gtk issue or an issue from your distro misdetecting dependencies.

Marking as a downstream issue, please reopen if you think I missed something.
Comment 6 Nicolas Fella 2022-03-29 14:12:57 UTC
*** Bug 450175 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2022-03-29 23:09:12 UTC
Possible workaround: xdg-desktop-portal-gtk.

See also https://github.com/flatpak/flatpak/issues/2861

For what it's worth, it still happens to me even with xdg-desktop-portal-gtk installed, so I guess it is just a real downstream issue.
Comment 8 Alexandre Pereira 2022-12-17 05:19:27 UTC
> For what it's worth, it still happens to me even with xdg-desktop-portal-gtk installed, so I guess it is just a real downstream issue.

I just had this issue, and installed xdg-desktop-portal-gtk, and it seemed it didn't work, but after restarting systemctl --user xdg-desktop-portal it works ( if one does not restart it, it doesn't work ).

Hope it helps !