In "Tabbed" or "Grouped Compact" toolbar modes, switching between light and dark GTK theme (Adwaita) does not refresh the styling of the toolbars.
Starting a new window or changing the toolbar style works around the issue.
Steps to Reproduce:
1. Set LibreOffice's toolbar UI to either "Tabbed" or "Grouped Compact"
2. Open gnome-tweak-tool
3. While a LibreOffice Writer/Calc/etc. GUI is open, switch the GTK theme from "Adwaita Dark" to "Adwaita", or from "Adwaita" to "Adwaita Dark".
The GUI adapts to the new theme, except the main toolbar. Particularly, the combobox/dropdown widgets change their font color but not the widget's background color, leading to illegible text.
The main toolbar should adapt, like the rest.
User Profile Reset: Yes
See attached screenshots.
Tested on Fedora 30 (the latest stable Fedora version available to me), hence the LibreOffice 6.2.x version.
Created attachment 154202 [details]
light to dark
When the app was started with the light theme
Created attachment 154203 [details]
dark to light
When the app was started with the dark theme
Ordinary bug, please fix it.
Reproduced with recent master build, using the GNOME 3.36 light and dark modes (in GNOME settings > Appearance). Both "Tabbed" and "Groupedbar compact" UIs are affected.
Version: 184.108.40.206.alpha0+ / LibreOffice Community
Build ID: 1dd4a80fa076bedb3a82821517036bad8dd79857
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-07-26_22:41:19
Created attachment 174015 [details]
GNOME from light to dark in tabbed UI, LO 7.3 alpha0+
Created attachment 174016 [details]
GNOME from dark to light in groupedbar compact UI, LO 7.3 alpha0+
It may now be easier for the app to handle this, as there now is a standardized (i.e. FreeDesktop) way for LibreOffice to authoritatively know, without just trying to "guess" whether the current GTK theme is dark or not, what the user's intent is in terms of light/dark themes.
* Overview here: https://blogs.gnome.org/alexm/2021/10/04/dark-style-preference/
* Implementation tips here: https://gitlab.gnome.org/GNOME/Initiatives/-/wikis/Dark-Style-Preference
Presumably this would let LibreOffice connect to a clear standardized signal, which would allow it to confidently switch over (& refresh) its themes internally when needed.