DocumentServer
DocumentServer copied to clipboard
Follow system theme (Dark/Light mode)
This issue is unique.
- [X] I have used the search tool and did not find an issue describing my idea.
Your idea.
OnlyOffice has a great Light and Dark themes now, but currently it does not follow the dark/light mode/theme global switch for the system (at least on Linux, I could not check on Windows which also has this option); changes from dark to light theme and back need to be done manually.
On Linux at least the light/dark preference is actually possible to read/listen to changes to from application level and it is standardized between desktop environments (either via dbus or freedesktop specs, I am speculating here a bit though), again I am not sure about Windows.
System info:
OS: openSUSE MicroOS Desktop (Tumbleweed-based) Desktop environment. : Gnome 42.1 Windowing system: Wayland
OnlyOffice info:
Package format: Flatpak from Flathub ONLYOFFICE Desktop Editors version 7.0.1.37
Screenshots:
Thanks for your idea, we already has issue 49240 in our internal issue tracker about this problem, but currently there is not much news
Moving this issue to DocumentServer repo, since it's our base product and problem actual there too
@ShockwaveNN This actually seems to be solved with the new system theme. However, the dark
theme is still the default. In local storage, if the ui-theme
does not exist, this is created:
ui-theme:"{"id":"theme-dark","type":"dark"}"
How can we allow the system theme to be default, I.E. automatically add:
ui-theme-use-system: 1
... to local storage if it does not exist?
EDIT: This is actually a problem in the Nextcloud App. There needs to be a theme-system
option.
Hi ! Is this issue being worked on? Or is there any workaround in the meantime (with a script or something?) I use an app that change from light to dark mode according to the time of the day, and it is a bit annoying to change it manually in OnlyOffice. I'm on Fedora 39 KDE using the RPM package.