flathub / org.libreoffice.LibreOffice

https://flathub.org/apps/details/org.libreoffice.LibreOffice
30 stars 20 forks source link

LibreOffice doesn't respond to "Automatically detect high contrast mode of OS". #78

Open PranavBhattarai opened 5 years ago

PranavBhattarai commented 5 years ago

This has been reported in many forms. And everyone suggested to uninstall flaptak's Libreoffice and told to choose snap's Libreoffice or apt's Libreoffice. Why is this happening? This is creating a bad image of Flaptak in Linux communities.

Screenshot from 2019-03-28 09-21-05

(Note: This is Ubuntu 18.10 stable release. But i think this problem is everywhere.)

stbergmann commented 5 years ago

What exactly is not working correctly for you?

"Tools - Options... - LibreOffice - Accessibility - Automatically detect high contrast mode of operating system" is documented (at https://help.libreoffice.org/6.2/en-US/text/shared/optionen/01013000.html?System=UNIX&DbPAR=WRITER&HID=cui/ui/optaccessibilitypage/OptAccessibilityPage#bm_id3254982) as "Switches LibreOffice into high contrast mode when the system background color is very dark." I am not sure how exactly this is supposed to work, on the various platforms and with the various desktop systems.

However, when running the distro's (non-flatpak) LibreOffice on a Fedora 29 GNOME desktop, I observe that when I use gnome-tweaks "Appearance - Themes - Applications" to select the various offered themes ("Adwaita (default)", "Adwaita-dark", "HighContrast", "HighContrastInverse"), then any open LibreOffice windows/dialogs adapt to the changed theme. This is regardless of whether that "Tools - Options... - LibreOffice - Accessibility - Automatically detect high contrast mode of operating system" checkbox is checked or not.

And when doing the same for the latest flatpak LibreOffice 6.2.2, for "HighContrast" and "HighContrastInverse" any open LibreOffice windows/dialogs adapt to the changed theme, too, in the same way as for the non-flatpak LibreOffice. Only for "Adwaita-dark" there are problems, as discussed at https://github.com/flathub/org.libreoffice.LibreOffice/issues/31 "LibreOffice flatpak no longer follows system-wide GTK theme".