KDE Plasma — Libreoffice VCL: kf5 instead of GTK3

Hi,
(this is more about LibreOffice than Fedora, but maybe someone knows)

I’m trying out LibreOffice as Flatpak in Plasma spin, but it installs with GTK3 as VCL.

I would prefer to have it as kf5 as it is with the DNF installation.
I’m using it a lot and kf5 works much much more nicer for me with working keyboard driven menu navigation and more screen space.

Is it possible to change LibreOffice’s VCL for its Flatpak version?

Have you tried with SAL_USE_VCLPLUGIN=kf5, e.g.

flatpak run --env=SAL_USE_VCLPLUGIN=kf5 org.libreoffice.LibreOffice

or similar? That is how you force a specific VCL, but the pak and the runtime may or may not contain what LO needs for that.

I am unsure why one would choose to use the flatpak since (at least with the Workstation release) fedora installs LO by default, and you said it works.

If one insists on using the flatpak one must accept the package as provided with the runtimes included. Those may not be up to date or otherwise not match what your system has.

From the looks of it, no.

Flathub package: Flatpak LibreOffice 6.1.* vcl stuck with GTK on KDE Plasma and won't work with Global Menu · Issue #63 · flathub/org.libreoffice.LibreOffice · GitHub

Fedora flatpak is built with libreoffice-gtk3 but not libreoffice-kf5.