Description: Dark application theme won't work anymore. It's always light (except for the icons). Steps to Reproduce: 1.Set LibreOffice to automatic theme 2.Enable dark system theme 3.Open LibreOffice Actual Results: The icons change to the dark theme, but the toolbar and all UI elements are light. Expected Results: Should be dark like it was before Reproducible: Always User Profile Reset: No Additional Info: This is only a problem with the Flatpak. Before the Flatpak never had a problem with the dark theme. I switched to the Snap (v. 24.8.3.2) because the dark theme works there. I prefer Flatpaks though. Also, I'm running Ubuntu 24.10 with up-to-date at time of writing.
When I reproduce: 1.A. set the Libreoffice theme to automatic 1.B. close Libreoffice 2. enable dark system theme in Cosmic-settings 3. re-open libreoffice Actual result: The ui ellements are in white theme, but the page is totally black. The background is black and the text written is black. So, I isn't written "black-on-white" but "black-on-black" → un-usable!
Created attachment 199102 [details] Dark text on dark page on dark background
Created attachment 199103 [details] some elements don't play ball
So I changed the settings back to light theme, because of the bug, but some elements don't play ball...
Created attachment 199104 [details] pre-print example, afdrukvoorbeeld, does something funky
When I close pre-print example, (afdrukvoorbeeld), the page is black on black again...
@Feike can you reproduce this issue on some desktop environment other than cosmic desktop env? i have been trying to reproduce this for the last three hours, but no luck. i use void linux with DWM, so I installed gnome to test it. after many attempts with gnome's settings, lxappearance, nwg-look, i couldn't change the desktop env theme to light theme, i tried kde-plasma, and changing the DE theme to light doesn't change the flatpak application's theme (which is expected as flatpak LO uses gtk whereas plasma is qt based). then i tried to reproduce it in an ubuntu vm, no luck there either. will try it again in my free time later :). tagging @buovjaga.
I can reproduce it on fedora workstation. I also filled this issue in flathub repo: https://github.com/flathub/org.libreoffice.LibreOffice/issues/316
(In reply to VBB from comment #8) > I can reproduce it on fedora workstation. I also filled this issue in > flathub repo: > https://github.com/flathub/org.libreoffice.LibreOffice/issues/316 I recently fixed this issue for other platforms (patch https://gerrit.libreoffice.org/c/core/+/182263). the fix will be out in the next release of 25.2. I am yet to test it for flatpak (if this patch solves the issue for flatpak or not)