You’re not missing anything. The team there made sure their package is environment-agnostic when it comes to theming.
And yes, Breeze is originally Qt, but there are ‘breeze-gtk’ packages created for GTK-based environments for compatibility/uniformity.
Saeniv
22
Ok, but i still don’t get it. If KDE is Qt and Breeze is Qt why is the enviromental variable
SAL_USE_VCLPLUGIN=qt6 QT_STYLE_OVERRIDE=breeze
ignored?
If I force libreoffice to use gtk3 and specify breeze-gtk as theme it works or at least I force it look like breeze.
env SAL_USE_VCLPLUGIN=gtk3 GTK_THEME=breeze-gtk
Why is this accepted and the other command with Qt not?
QT_STYLE_OVERRIDE
may not be the correct variable in this case. Try using QT_QPA_PLATFORMTHEME
instead and see if it works.
1 Like
Oh, yes!
Another option would be to edit the launcher and add this to the command:
--platformtheme qt6ct
This is what I did with Dolphin when it was having issue living in a GTK environment. So,
dolphin --platformtheme qt6ct -> libreoffice --platformtheme qt6ct
Using --platformtheme qt5ct
should work if --platformtheme qt6ct
doesn’t.
Saeniv
25
It does not work. According to the arch forum, this environmental variable is used to get Qt Style apps to blend in with GTK GNOME.
Gives me a failure as output.
So the best solution so far is
SAL_USE_VCLPLUGIN=gtk3 GTK_THEME=breeze-gtk
As mentioned above i still don’t get why i can’t set a theme for Qt based app with Qt based theme, but for now we will never know.
Thanks to all of you. As always I learned a lot. I will leave this open for another week and if nothing new will be added I mark the solution above.
Let me say again, Libreoffice is agnostic. It is neither Qt nor Gtk. It just works with both.
But I do understand the annoyance and/or bewilderment in things not working as expected.
Saeniv
27
Sorry, I did not understand what you meant with “agnostic”, but now I get it. It is a mix of it works with each, but not everything works as expected.
1 Like
system
Closed
28
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.