I installed libreoffice from flatpak in my KDE Neon installation. Under X, it works just fine, but when using plasma-wayland, font antialiasing does not work. this affects both menus and document display.
Some questions: 1) Can you please attach a screenshot showing the problem? 2) What is the exact info from "Help" -> "About LibreOffice"? 3) What Qt and GTK-related environment variables are set: What is the output of the command 'env | grep -E 'QT|GTK'
Created attachment 173174 [details] Main window
Created attachment 173175 [details] Options window
About dialog shows this: Version: 7.1.4.2 / LibreOffice Community Build ID: a529a4fab45b75fefc5b6226684193eb000654f6 CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3 Locale: de-AT (de_AT.UTF-8); UI: de-DE Flatpak Calc: threaded env | grep -E 'QT|GTK'gives QT_ACCESSIBILITY=1 GTK_RC_FILES=/etc/gtk/gtkrc:/home/martin/.gtkrc:/home/martin/.config/gtkrc GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/martin/.gtkrc-2.0:/home/martin/.config/gtkrc-2.0 QT_EXCLUDE_GENERIC_BEARER=1 PLASMA_USE_QT_SCALING=1 QT_WAYLAND_FORCE_DPI=96 QT_AUTO_SCREEN_SCALE_FACTOR=0
Thanks, does font antialisaing work for other GTK applications from Flatpak, (e.g. Gedit)?
I checked gedit and a few other programs I have installed (not sure whether they are Gnome though, like audacity, handbrake, calibre etc.). No problems with font aliasing in those.
Created attachment 173275 [details] Screenshot (OK) on KDE Neon Devedition git-unstable I cannot reproduce this in a Plasma Wayland session in either my KDE Neon Plasma git-unstable VM (with (libqt5core5a:amd64 5.15.2+p20.04+tunstable+git20210626.0052-0, plasma-desktop 4:5.22.2.1+p20.04+tunstable+git20210629.0222-0)) nor in a Debian unstable one with the same LibreOffice version. Attached my screenshot on KDE Neon. Version: 7.1.4.2 / LibreOffice Community Build ID: a529a4fab45b75fefc5b6226684193eb000654f6 CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3 Locale: en-GB (en_GB.UTF-8); UI: en-GB Flatpak Calc: threaded Do you possibly have any specific GTK/font settings? What is your screen resolution?
At a quick glance, some of the information in https://github.com/flatpak/flatpak/issues/2861 might be helpful. Do you have xdg-desktop-portal-kde and xdg-desktop-portal-gtk installed?
xdg-desktop-portal-kde and xdg-desktop-portal-gtk are both installed. I don't know of any specific gtk or font setting I changed other than changing the default font size to 10, and using breeze-dark as desktop theme (and a corresponding desktop theme for gnome). But reversing those settings to default doesn't help either. I also installed gnome-settings-daemon as suggested in the thread you posted, but to no avail so far (I'll try again after restarting).
[Automated Action] NeedInfo-To-Unconfirmed
ok, after installing gnome-settings-daemon and restarting it works. So it seems that libreoffice needs some info that isn't there until gnome-settings-daemon is started...
Great, good to hear it works now. Let's close this bug report accordingly.